Adc Dac KR
Adc Dac KR
Adc Dac KR
• Now whenever a new conversion starts, the sample and hold circuit
samples the input signal. And that signal is compared with the
specific output signal of the DAC.
WORKING PROCESS OF SAR ADC
• Samples and holds analog signal For each bit, a successive
approximation register analyzes it and outputs binary to a digital-to-
analog converter that is dependent on the current bit and all
previously approximated After the DAC, a comparator compares the
voltage of the analog to the digital, and continually loops until they
are equivalent
• Vin<Vdc = SET BIT IS GOING TO RESET AND WILL SET NEXT BIT
• Advantages:
• Conversion time is very small and independent of the amplitude of the
signal.
• Good speed to power ratio
• Disadvantages:
• It may be fast, but it’s slower than a flash ADC, that uses a linear
‘voltage ladder’ and compares the input voltage to each ‘rung’ of the
ladder
• It’s a somewhat complex circuit
Digital to Analog Converter
DAC INTERFACING
•The Microcontroller output is binary values, but application equipments display, motor,
speakers etc. work in analog signal. So we need digital to Analog converters.
•8 bit current output monolithic DAC
•Manufactured by national semiconductor corporation
•16 pin IC available
•8 input lines (digital input)
•Single output
Interfacing diagram of DAC 0808 with microcontroller
8051
• In DAC 0808 the digital inputs are converted to current ( Iout). The current Iout is converted
into voltage using Op- amp The Current value in Iout pin is depends upon the binary
numbers at the Do – D7 inputs of the DAC 0808 and the reference current ( I ref )
Functional Block Diagram of DAC 0808
R-2R DAC
•R-2R Digital-to-Analogue Converter, or DAC, is a data converter which use two precision
resistor to convert a digital binary number into an analogue output signal proportional to the
value of the digital number
• Recall that the bits of a binary number can have only one of
the two values. i.e., either 0 or 1. Let the 3-bit binary input
is b2b1b0.
• Here, the bits b2 denote the Most Significant Bit (MSB) and
b0 denote Least Significant Bit (LSB) respectively.