Sie sind auf Seite 1von 24

Microprocessor and Interfacing - Data Converters

Microprocessor and Interfacing - Data Converters


Aparna

April 19, 2011

Microprocessor and Interfacing - Data Converters

Need for data converters

Real World is analog

Microprocessor and Interfacing - Data Converters

Need for data converters

Real World is analog Processors and supporting chips are digital

Microprocessor and Interfacing - Data Converters

Digital to Analog Converter


Built from an R-2R ladder circuit

Microprocessor and Interfacing - Data Converters

R-2R Ladder

Reference Voltage : Vr

Microprocessor and Interfacing - Data Converters

R-2R Ladder

Reference Voltage : Vr If all inputs are connected to ground, Vout = 0.

Microprocessor and Interfacing - Data Converters

R-2R Ladder

Reference Voltage : Vr If all inputs are connected to ground, Vout = 0. Vout = Vr /2N where N is the bit position

Microprocessor and Interfacing - Data Converters

DAC0830

8-bit converter that converts an 8-bit digital value to an analog voltage between 0 and Vref

Microprocessor and Interfacing - Data Converters

DAC0830

8-bit converter that converts an 8-bit digital value to an analog voltage between 0 and Vref Resolution : Vref /255

Microprocessor and Interfacing - Data Converters

DAC0830

8-bit converter that converts an 8-bit digital value to an analog voltage between 0 and Vref Resolution : Vref /255 Analog voltage corresponding to a particular digital value(say 80h) : 80h Vref /255

Microprocessor and Interfacing - Data Converters

DAC0830

8-bit converter that converts an 8-bit digital value to an analog voltage between 0 and Vref Resolution : Vref /255 Analog voltage corresponding to a particular digital value(say 80h) : 80h Vref /255 Analog voltages appear at Iout1 and Iout2

Microprocessor and Interfacing - Data Converters

DAC0830

8-bit converter that converts an 8-bit digital value to an analog voltage between 0 and Vref Resolution : Vref /255 Analog voltage corresponding to a particular digital value(say 80h) : 80h Vref /255 Analog voltages appear at Iout1 and Iout2 Can be interfaced directly with 8086

Microprocessor and Interfacing - Data Converters

Analog to Digital Converter - ADC0808

8-channel 8-bit ADC

Microprocessor and Interfacing - Data Converters

Analog to Digital Converter - ADC0808

8-channel 8-bit ADC Channel selection done using 3:8 address decoder

Microprocessor and Interfacing - Data Converters

Analog to Digital Converter - ADC0808

8-channel 8-bit ADC Channel selection done using 3:8 address decoder Converter consists of a DAC, successive approximation register, comparator

Microprocessor and Interfacing - Data Converters

Analog to Digital Converter - ADC0808

8-channel 8-bit ADC Channel selection done using 3:8 address decoder Converter consists of a DAC, successive approximation register, comparator Start of conversion signal

Microprocessor and Interfacing - Data Converters

Analog to Digital Converter - ADC0808

8-channel 8-bit ADC Channel selection done using 3:8 address decoder Converter consists of a DAC, successive approximation register, comparator Start of conversion signal Wait for end of conversion signal from ADC

Microprocessor and Interfacing - Data Converters

ADC Resolution

Smallest detectable change in analog voltage

Microprocessor and Interfacing - Data Converters

ADC Resolution

Smallest detectable change in analog voltage Vref /N where N is the number of digital codes

Microprocessor and Interfacing - Data Converters

ADC Resolution

Smallest detectable change in analog voltage Vref /N where N is the number of digital codes Digital value corresponding to Vin is (Vin /Vref ) 2N

Microprocessor and Interfacing - Data Converters

Successive Approximation method of conversion

Works by continuously comparing the input analog voltage with the approximated value given by the internal DAC

Microprocessor and Interfacing - Data Converters

Successive Approximation method of conversion

Works by continuously comparing the input analog voltage with the approximated value given by the internal DAC DAC is fed by the Successive Approximation Register(SAR)

Microprocessor and Interfacing - Data Converters

Successive Approximation method of conversion

Works by continuously comparing the input analog voltage with the approximated value given by the internal DAC DAC is fed by the Successive Approximation Register(SAR) SAR takes values similar to binary search.

Microprocessor and Interfacing - Data Converters

Successive Approximation method of conversion

Works by continuously comparing the input analog voltage with the approximated value given by the internal DAC DAC is fed by the Successive Approximation Register(SAR) SAR takes values similar to binary search. When the analog voltage becomes roughly equal to the DAC output, stop conversion

Das könnte Ihnen auch gefallen