Analogue to Digital Conversion By Cap’n Tim Johnson, PE Prepared 11/12/2013.

Slides:



Advertisements
Similar presentations
Analog to Digital Conversion (ADC)
Advertisements

Number Systems and Codes
Analog-to-Digital Converter (ADC) And
EE1A2 Microprocessor Systems & Digital Logic Part I Digital Electronic System Design Dr. T. Collins.
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
©2008 The McGraw-Hill Companies, Inc. All rights reserved. Digital Electronics Principles & Applications Seventh Edition Chapter 14 Connecting with Analog.
Shuvra Das University of Detroit Mercy
Analog to Digital Converters (ADC) 2 ©Paul Godin Created April 2008.
Lecture 9: D/A and A/D Converters
Analogue to Digital Conversion
1 Analog-to-digital converter Prepared by: Selah al-Battah Mohammed Al-khabbaz Atiyah Alnakhli Ali Dumyati.
Interfacing with the Analog World Wen-Hung Liao, Ph.D.
Quantization Prof. Siripong Potisuk.
Analogue to Digital Conversion
Analog to Digital Converters (ADC)
Railway Foundation Electronic, Electrical and Processor Engineering.
Railway Foundation Electronic, Electrical and Processor Engineering.
PH4705/ET4305: A/D: Analogue to Digital Conversion
Lesson 2 0x Coding ASCII Code.
Revision for A level year 2. * TTL stands for Transistor Transistor Logic * TTL operates on a power supply of 5 volts * The power supply tolerance for.
David MacNair POWER SUPPLY 3/30/20061 Ethernet Power Supply Controller.
Number Systems.
Computer Based Data Acquisition Basics. Outline Basics of data acquisition Analog to Digital Conversion –Quantization –Aliasing.
Digital to Analog Converters (DAC) 1
Programmable Logic Controllers
Number Systems Part 2 Numerical Overflow Right and Left Shifts Storage Methods Subtraction Ranges.
Analog to Digital Converters (ADC) 1
Data Acquisition Systems
Analog to Digital Converters (ADC) Ben Lester, Mike Steele, Quinn Morrison.
Embedded Stroke Evaluation System Amanda Sweeney, 4ECE Supervisor: Dr. Martin Glavin.
Eng.Samra Essalaimeh Philadelphia University 2013/ nd Semester PIC Microcontrollers.
Instrumentation (AMME2700) 1 Instrumentation Dr. Xiaofeng Wu.
Number Representation. Representing numbers n Numbers are represented as successive powers of a base, or radix.
Data Acquisition ET 228 Chapter 15 Subjects Covered Analog to Digital Converter Characteristics Integrating ADCs Successive Approximation ADCs Flash ADCs.
Number Systems Revision of conversations What is a register Addition Complementation.
Digital to Analog Converters (DAC) 1 Technician Series ©Paul Godin March 2015.
Analog Capture- Port E. Digital to Analog and Analog to Digital Conversion D/A or DAC and A/D or ADC.
Digital Voltmeter (DVM)
Analog to Digital Converters
Chapter 11 Data Acquisition and Manipulation The aims of this chapter are to introduce: the main features of a data acquisition system; the characteristics.
ECE 2799 Electrical and Computer Engineering Design ANALOG to DIGITAL CONVERSION Prof. Bitar Last Update:
Department of Electronic & Electrical Engineering Further work? Simple Voltmeter. ● Analogue to Digital converter (MCP3001 SPI ) ● Analogue → 10bit binary.
Digital-to-Analog Analog-to-Digital Week 10. Data Handling Systems  Both data about the physical world and control signals sent to interact with the.
0808/0809 ADC. Block Diagram ADC ADC0808/ADC Bit μP Compatible A/D Converters with 8-Channel Multiplexer The 8-bit A/D converter uses successive.
5-2-3 Analogue to Digital Converters (ADC). Analogue to Digital Conversion The process is now the opposite of that studied in Topic Now we wish.
Lecture Notes / PPT UNIT III
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.
Interfacing Touch screen via lpc21xx Resistive touch screens can be a great way to enable complex user input in your projects inexpensively and with a.
Electronic Devices and Circuit Theory
Digital to analog converter [DAC]
MECH 373 Instrumentation and Measurements
Data Acquisition ET 228 Chapter
Digital-to-Analog Analog-to-Digital
Number Systems and Codes
Analog-Digital Conversion
ENEL 111 Digital Electronics
Digital Electronics Jess 2008.
Digital-to-Analog Analog-to-Digital
Simple ADC structures.
Simple ADC structures.
Lesson 8: Analog Signal Conversion
Conversation between Analogue and Digital System
Analogue Inputs and Processing
Analog-to-digital converter
Chapter 7 Converters.
UNIT – 3 & 4. Data Representation and Internal
ENEL 111 Digital Electronics
DIGITAL SIGNAL.
Presentation transcript:

Analogue to Digital Conversion By Cap’n Tim Johnson, PE Prepared 11/12/2013

Digital World The digital in A/D conversion consists of binary or hex numbers that will come to stand for a real world phenomenon. Say, for instance we have four-bits we use to represent an analog value that’s been converted. In binary, the numbers would range from 0000 to 1111 and there are (2 4 = 16) sixteen different values represented. These number in base 10 could range from 0-15

Typical example of converting a binary number to a decimal number While this is very useful in converting binary number to decimal and back… analog to digital conversion is similar but different.

A/D is converting a binary number into something else We want to change the decimal number column into real world values that don’t necessarily increment by whole numbers but do increment by binary numbers. Something Else

This example shows the conversion of real world values to binary numbers Here if we let each binary bit value or weight represent a 1/3 of a volt, as the binary numbers increment, the voltage goes up 1/3 a volt at a time. Real World Values

How do we get the real world values? 1.We need to know the maximum input voltage or the range between V max – V min. If V min is 0 or ground then all we need is V max. 2.We need to know the number of bits used in the A/D converter. 3.V max /(2 #bits ) = Resolution 4.Resolution is the value of the incremental voltage change per bit or the difference between 0001 and 0000.

What else does the table tell us? Real World Values The binary numbers are stored after a conversion in the A/D results register. By using a simple formula the binary number can tell us what the input voltage is.

How? Real World Values Convert the binary number in the A/D results register to its decimal equivalent. That tells us how many bits are needed to multiply the resolution to equal the input voltage  ⅓ * 11 = 3 ⅔ volts

Quick Summary You need to know the maximum voltage that will be present on the input. This voltage can not exceed the device’s upper limit. You need to know the number of bits the device uses to report the value in the A/D results register Calculate the Resolution: V max /(2 #bits ) Convert the value in the A/D results register to base 10 to determine the decimal number of bits Multiply the decimal number times the Resolution to determine the input voltage.

General Rule

Other Rules of Thumb If you get $80 ( ) in the result register, the answer is ½ V max ($80/$FF is ½) If the last four zeros have some value then 1000 XXXX is approximately ½ Vmax You could read just the first 2 bits and round off to fourths of V max Ex.: 0100 XXXX ≈ ¼ V max If you read just the first 3 bits you can round off to eights of V max Ex.: 0110 XXXX ≈ ⅜V max & 1110 XXXX ≈ ⅞V max

What else could we do with A/D? First we have to think of what it is that we want digitized. Rotation around an axis is a useful number especially if we were rotating a telescope horizontally. We’d need to digitize the number of degrees we rotated a telescope. The maximum number of degrees is 360°. Then suppose our A/D converters was limited to 5 volts input maximum and 8-bits…that would be ~1.4 degrees/bit. But if we limited our rotation to 180° that would be ~.7 degrees per bit. Use the ADC we can determine if the telescope turned 1 ° with each change of a bit.

Another look at ADC This graph shows the fitting of a linear voltage to an ADC in theory. Visible is the quantization error which is the overhang of the digital step higher and/or lower than the ideal value. The ideal quantization error is ± ½ LSB. The LSB is aka Resolution. LSB value

Role of ADC module in microcontrollers The ADC module is one of a number of modules on a microcontroller. Others include General Purpose I/O, Comparators, Digital to Analog Converters, Op Amps, Timers, Real-Time clock, AES encryption, Brown-Out Reset, Direct Memory Access, Memory Protection Units, Supply Voltage Supervisors, Capacitive Touch Sense I/O, Communications (UART,SPI, I2C, IrDA, USB, Ethernet), LCD, and other specialty designs.

This is the block diagram for the TI MSP430 Sigma-Delta 16 bit ADC A/D Results Register