Networked Embedded Systems Sachin Katti & Pengyu Zhang EE107 Spring 2016 Lecture 13 Interfacing with the Analog World.

Slides:



Advertisements
Similar presentations
Analog to Digital Conversion (ADC)
Advertisements

Analog-to-Digital Converter (ADC) And
Lecture 17: Analog to Digital Converters Lecturers: Professor John Devlin Mr Robert Ross.
Sensors Interfacing.
Digital to Analogue Conversion
ECE 265 – LECTURE 14 Analog Signal Acquisition The A/D converters 5/14/ ECE265.
Digital to Analog and Analog to Digital Conversion
Analog to Digital Conversion. Introduction  An analog-to-digital converter (ADC, A/D, or A to D) is a device that converts continuous signals to discrete.
LSU 06/04/2007Electronics 71 Analog to Digital Converters Electronics Unit – Lecture 7 Representing a continuously varying physical quantity by a sequence.
5/4/2006BAE Analog to Digital (A/D) Conversion An overview of A/D techniques.
Analog to Digital Converters (ADC) 2 ©Paul Godin Created April 2008.
Lecture 9: D/A and A/D Converters
10/23/2003ME DAC Lecture1 DAC Sunij Chacko Pierre Emmanuel Deliou Thomas Holst Used with modification.
Digital to Analog Converters Alexander Gurney Alexander Pitt Gautam Puri 1.
Analogue to Digital Conversion
Interfacing Analog and Digital Circuits
DIGITAL SYSTEMS TCE INTERFACING WITH ANALOG DEVICES (Week 12)
Real time DSP Professors: Eng. Julian S. Bruno Eng. Jerónimo F. Atencio Sr. Lucio Martinez.
Introduction to Data Conversion
Previous Lecture 12 Voltage Dividers with Resistive loads.
EET260: A/D and D/A converters
JF 12/04111 BSC Data Acquisition and Control Data Representation Computers use base 2, instead of base 10: Internally, information is represented by binary.
COMP3221: Microprocessors and Embedded Systems Lecture 20: Analog Output Lecturer: Hui Wu Session 2, 2004.
PH4705/ET4305: A/D: Analogue to Digital Conversion
1 Digital to Analog Converter Nov. 1, 2005 Fabian Goericke, Keunhan Park, Geoffrey Williams.
Digital to Analog Converters
 Principles of Digital Audio. Analog Audio  3 Characteristics of analog audio signals: 1. Continuous signal – single repetitive waveform 2. Infinite.
Digital to Analog Converters (DAC)
Digital to Analog Converters
Digital-to-Analog & Analog-to- Digital Conversion Anuroop Gaddam.
ADC & DAC Signal Conversions.
Digital-to-Analog Analog-to-Digital Microprocessor Interface.
Digital to Analog Converters (DAC) 15 March 2006 Doug Hinckley Lee Huynh Dooroo Kim.
Instrumentation (AMME2700) 1 Instrumentation Dr. Xiaofeng Wu.
Lecture 15: Digital to Analog Converters Lecturers: Professor John Devlin Mr Robert Ross.
1 EECS 373 Design of Microprocessor-Based Systems Mark Brehob University of Michigan Sampling, ADCs, and DACs and more Some slides adapted from Prabal.
Data Acquisition ET 228 Chapter 15 Subjects Covered Analog to Digital Converter Characteristics Integrating ADCs Successive Approximation ADCs Flash ADCs.
Design of Digital-to-Analog Converter Qin Chen Yong Wang Dept. of Electrical Engineering Feb. 6th, 2006 EE597G Presentation:
Digital Electronics and Computer Interfacing Tim Mewes 5. Computer Interfacing – DAQ cards.
Digital to Analog Converters (DAC) Salem ahmed Fady ehab 30/4/2015.
IT-101 Section 001 Lecture #9 Introduction to Information Technology.
1 EECS 373 Design of Microprocessor-Based Systems Prabal Dutta University of Michigan Sampling, ADCs, and DACs Some slides adapted from Mark Brehob, Jonathan.
Digital to Analog Converters (DAC) 3 ©Paul Godin Created March 2008.
Analog/Digital Conversion
Digital to Analog Converter (DAC)
Figure Analog-to-digital conversion.. Figure The DAC output is a staircase approximation to the original signal. Filtering removes the sharp.
Embedded Systems Design 1 Lecture Set C Interfacing the MCS-51 to: –D/A Converter –A/D Converter.
Introduction to Data Conversion EE174 – SJSU Tan Nguyen.
1 Basic Signal Conversion 센서 및 계측 공학 (Sensor and Instrumentation Engineering) 2016 년 1 학기 충북대학교 전기전자반도체공학과 박 찬식
EKT 314/4 WEEK 9 : CHAPTER 4 DATA ACQUISITION AND CONVERSION ELECTRONIC INSTRUMENTATION.
Lecture Notes / PPT UNIT III
1 Summary Lecture: Part 1 Sensor Readout Electronics and Data Conversion Discovering Sensor Networks: Applications in Structural Health Monitoring.
Analog-Digital Conversion. Other types of ADC i. Dual Slope ADCs use a capacitor connected to a reference voltage. the capacitor voltage starts at zero.
Digital Logic & Design Dr. Waseem Ikram Lecture 45.
Analog-Digital Conversion. Analog outputs from sensors and analog front- ends (analog signal conditioning) have to be converted into digital signals.
Residential Audio & Video Systems Copyright © 2005 Heathkit Company, Inc. All Rights Reserved Presentation 15 – Digital Audio and Video.
Digital to analog converter [DAC]
MECH 373 Instrumentation and Measurements
Introduction to Discrete-Time Control Systems fall
What is a DAC? A digital to analog converter (DAC) converts a digital signal to an analog voltage or current output DAC.
Analog-Digital Conversion
Digital-to-Analog Analog-to-Digital
EI205 Lecture 13 Dianguang Ma Fall 2008.
Digital Control Systems Waseem Gulsher
Digital-to-Analog & Analog-to-Digital Conversion
Lesson 8: Analog Signal Conversion
Digital Control Systems Waseem Gulsher
Digital to Analog Converters (DAC)
Conversation between Analogue and Digital System
Chapter 7 Converters.
Presentation transcript:

Networked Embedded Systems Sachin Katti & Pengyu Zhang EE107 Spring 2016 Lecture 13 Interfacing with the Analog World

2 Outline Sampling ADC DAC

3 Going from analog to digital What we want How we have to get there SoftwareSensorADC Physical Phenomena Voltage or Current ADC Counts Engineering Units Physical Phenomena Engineering Units

4 Choosing the granularity Resolution – Number of discrete values that represent a range of analog values – MSP430: 12-bit ADC 4096 values Range / 4096 = Step Larger range  less info / bit Quantization Error – How far off discrete value is from actual – ½ LSB  Range / 8192 Larger range  larger error

Oversampling One interesting trick is that you can use oversampling to help reduce the impact of quantization error. – Let’s look at an example of oversampling plus dithering to get a 1-bit converter to do a much better job… 5

Oversampling a 1-bit ADC w/ noise & dithering (cont) CountVoltage 500 mV 0 mV 375 mV N 1 = 11 N 0 = 32 uniformly distributed random noise ±250 mV “upper edge” of the box V thresh = 500 mV V rand = 500 mV Note: N 1 is the # of ADC counts that = 1 over the sampling window N 0 is the # of ADC counts that = 0 over the sampling window

Oversampling a 1-bit ADC w/ noise & dithering (cont) How to get more than 1-bit out of a 1-bit ADC? Add some noise to the input Do some math with the output Example – 1-bit ADC with 500 mV threshold – Vin = 375 mV  ADC count = 0 – Add ±250 mV uniformly distributed random noise to Vin – Now, roughly 25% of samples (N 1 ) ≥ 500 mV  ADC count = 1 75% of samples (N 0 ) < 500 mV  ADC count = 0 7

8 Can use dithering to deal with quantization Dithering – Quantization errors can result in large-scale patterns that don’t accurately describe the analog signal – Oversample and dither – Introduce random (white) noise to randomize the quantization error. Direct Samples Dithered Samples

9 Flash ADC Vin connected with 2N comparators in parallel Comparators connected to resistor string

10 Selection of ADC The parameters used in selecting an ADC are very similar to those considered for a DAC selection Error/Accuracy: Quantizing error represents the difference between an actual analog value and its digital representation. Ideally, the quantizing error should not be greater than ± 1⁄2 LSB. Resolution: DV to cause 1 bit change in output Output Voltage Range -> Input Voltage Range Output Settling Time -> Conversion Time Output Coding (usually binary)

11 Digital to Analog Converters (DACs) Voltages V 1 to V n are either V ref if a bit is high or ground if a bit is low V 1 is most significant bit V n is least significant bit

12 Digital to Analog Converters (DACs) Voltages V 1 to V n are either V ref if a bit is high or ground if a bit is low V 1 is most significant bit V n is least significant bit Advantages: Simple Construction/Analysis; Fast Conversion Disadvantages: Requires large range of resistors (2000:1 for 12-bit DAC) with necessary high precision for low resistors; Requires low switch resistances in transistors

13 R-2R Ladder The less significant the bit, the more resistors the signal muss pass through before reaching the op-amp The current is divided by a factor of 2 at each node

14 R-2R Ladder The current is divided by a factor of 2 at each node Analysis for current shown below

15 Resolution