adc and dac

19
ADC and DAC

Upload: jonas-richards

Post on 02-Jan-2016

23 views

Category:

Documents


0 download

DESCRIPTION

ADC and DAC. Reason for Signal Conversion. AD2 DA1. digital. Topics. Analog to Digital Conversion Digital to Analog Conversion. Analog to Digital Conversion. Digilent’s PMODAD2. Schematic of PMOD AD2. PMODAD2 uses AD7991 from Analog Devices. Successive Approximation ADC. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: ADC and DAC

ADC and DAC

Page 2: ADC and DAC

Reason for Signal Conversion

digital

AD2DA1

Page 3: ADC and DAC

Topics

• Analog to Digital Conversion• Digital to Analog Conversion

Page 4: ADC and DAC

Analog to Digital Conversion

Page 5: ADC and DAC

Digilent’s PMODAD2

Page 6: ADC and DAC

Schematic of PMOD AD2

PMODAD2 uses AD7991 from Analog Devices

Page 7: ADC and DAC

Successive Approximation ADC

1. The analog input voltage (VIN) is held on a track/hold. 2. The N-bit register is first set to midscale (that is, 100... .00, where the MSB is set to 1). This forces the DAC output (VDAC) to be VREF/2. A comparison is then performed to determine if VIN is less than, or greater than, VDAC. If VIN is greater than VDAC, the comparator output is a logic high, or 1, and the MSB of the N-bit register remains at 1. Conversely, if VIN is less than VDAC, the comparator output is a logic low.

Page 8: ADC and DAC

Successive Approximation ADC

3. The SAR control logic then moves to the next bit down, forces that bit high,and does another comparison. The sequence continues all the way down to the LSB. 4. Once this is done, the conversion is complete and the N-bit digital wordis available in the register.

Page 9: ADC and DAC

Graphical Illustration

The y-axis (and the bold line in the figure) represents the DAC output voltage.In the example, the first comparison shows that VIN < VDAC. Thus, bit 3 is set to 0. The DAC is then set to 01002 and the second comparison is performed. As VIN > VDAC, bit 2 remains at 1. The DAC is then set to 01102, and the third comparison is performed. Bit 1 is set to 0, and the DAC is then set to 01012 for the final comparison. Finally, bit 0 remains at 1 because VIN > VDAC.

Page 10: ADC and DAC

Analog to Digital Conversion Using a Capacitive DAC

Page 11: ADC and DAC

During Acquisition Stage

Page 12: ADC and DAC

Signal Conversion (1)

(-Vin)

Page 13: ADC and DAC

Signal Conversion (2)

(-Vin+VREF/2)

The comparator output yields a logic 1 if VCOMMON < 0 (i.e., VIN > ½ × VREF). The comparator output yields logic 0 if VIN < ½ × VREF.

If the comparator output is logic 1, then the bottom plate of the MSB capacitor stays connected to VREF. Otherwise, the bottom plate of the MSB capacitor is connected back to ground.

Page 14: ADC and DAC

Signal Conversion (3)

(-Vin+VREF/2)

This slide assumes that MSB is a 1.

In general, VCOMMON = -VIN + BN-1 × VREF/2 + BN-2 × VREF/4 + BN-1 × VREF/8 + ... + B0 × VREF/2N-1

Page 15: ADC and DAC

Digielent’s DA1

Page 16: ADC and DAC

Current Steering DAC

Page 17: ADC and DAC

Current Steering DAC (2)

Page 18: ADC and DAC

Current Steering DAC (3)

Page 19: ADC and DAC

R2R 3-Bit Digital to Analog Converter

741 Op-AmpChapter 5