EE251: Tuesday October 10

Size: px
Start display at page:

Download "EE251: Tuesday October 10"

Transcription

1 EE251: Tuesday October 10 Analog to Digital Conversion Text Chapter 20 through section 20.2 TM4C Data Sheet Chapter 13 Lab #5 Writeup Lab Practical #1 this week Homework #4 is due on Thursday at 4:30 p.m. Lab #4 is due next week, and Lab #5 begins next week. A/D Conversion Work on this and future labs with a partner. Lecture #15 1

2 Extra Credit Ideas See class website BUT there are a couple of A/D converter projects that aren t too difficult and could begin very soon: 1. Use our A/D converter to measure the temperature of our TM4C processor chip. This could be instead of or in addition to Lab #5 objectives. 2. Compare/contrast the conversion formulas (analog to converter output and converter output to analog estimate) of our lecture slides with those in Zhu text. Write a paper (~5 pages) describing your conclusions. No programming is required. Interested in either one? See next slide! Lecture #15 3

3 Extra Credit Process IF YOU ARE INTERESTED IN doing one: 1. Look at suggestions on class website. Find an interesting project (or a few to choose from). 2. Discuss it with me: , phone, or office hours 3. Write a proposal (½ - 1 page). 4. Submit this proposal to me for approval by October Complete the project (paper and demo as appropriate) by December 7. Extra credit of up to one minor grade point (e.g. B- B) will be given based on your results. Lecture #15 4

4 Analog-to-Digital Conversion Fundamental Concepts: Transducers We live in an analog world (except for you quantum physicists)! Physical variables require conversion to digital representation for use in digital computers. E.g.: light, pressure, temperature, position, speed, flow rate,... voltage digital rep. Requires transducer for conversion to voltage For best accuracy, we must scale the transducer output so that it fills a Conversion Window (V RH - V RL ) required by the next step in the process: conversion to digital representation. Lecture #15 5

5 A/D Conversion Process temperature pressure light weight Transducer Signal Conditioning Circuit voltage voltage A/D Converter Digital Value Computer airflow humidity... Such as a scale, load cell, photocell, or thermocouple A/D Conversion Window Lecture #15 6

6 Scaling Transducer Output Transducer output must be scaled before application to an A to D converter unit so that it will be: Always within the Range of the A/D converter (E.g. 0 to 3.3 volts on our processor chip) Fills the range of the A/D converter, so that the representation has as much resolution as possible. (E.g. If we used only 0 to 1 volts in the converter above, we d be throwing away 60% of the A/D s resolution!) Implies an Offset (to start at 0 v.) and Scaling (to end at 3.3 v.) operation--all analog. Lecture #15 7

7 Scaling Transducer Output Example What if our temperature transducer supplied a signal of V temp = -0.5 to volts, and a volt A/D converter is used? We can offset and then scale: V AD = (V temp + 0.5) * 3.3 Or we can scale and then offset: V AD = 3.3*V temp In either case, we now have a signal that can fill the range of our 0 to 3.3 v. A/D converter. With a simple op amp circuit, there s no real choice. It does it all in the same simple circuit. Lecture #15 8

8 A/D Converter Operation An Analog-to-Digital (A/D) converter converts a properly scaled analog voltage into a digital number. A/D converters are classified according to several characteristics (you need to learn these) Resolution (number of bits): typically 8 bits to 24 bits Speed (samples per second): a few samples/sec to 56 billion samples/sec (fastest I ve found) Accuracy: how much absolute error there is in the conversion Excellent Wikipedia entry: Analog-to-digital converter Question: What is the difference between Resolution and Accuracy? Lecture #15 9

9 Sampling Examples 1KHz signal sampled at 2KHz: a problem! 4000 Signal Points are digital data, solid curve is the truth. What is the frequency? Time (sec) Lecture #15 10

10 Sampling Examples 2.2KHz signal sampled at 2.0KHz 4000 Signal Points are digital data, solid curve is the truth. What is the frequency? This is aliasing Time (sec) Lecture #15 11

11 A/D Conversion Process: Sampling Rate Previous slide and strobe light examples Nyquist criterion: Sample signal at a minimum frequency of twice the highest frequency content of the sampled signal. Otherwise aliasing (translating high frequencies to low frequencies) will occur. f sample 2 f highest content Time interval between samples T sample = 1/ f sample 1/(2 f highest content ) Anti-aliasing filter solution: use a low pass filter with: f cutoff ½ f sample E.g.: Phone companies sample human voice at 8 KHz, uses 4 KHz low pass filter to prevent aliasing Trick question: Is it best to do analog or digital filtering here? Sampling rate solution: sample at frequency = 10x that contained in signal being sampled to allow good quality reproduction of analog signal. Lecture #15 12

12 A/D Conversion Process: Encoding Provides unique binary code for voltages in various ranges between V RH and V RL. If b= number of bits in representation, then there are n = 2 b binary codes representing ranges of voltage levels. For b=3, n=8: Code Voltage Range Represented (0-3.3 v. signal) v v v v v v v v. 2 3 = 8 unique binary codes representing input voltage range Lecture #15 13

13 A/D Conversion Process: Quantization, Resolution, Data Rate Learn this stuff it s too easy to turn into test questions! Quantization: number of discrete levels the analog signal is divided into between V RH and V RL ( = 2 b ) More levels provide better representation of sampled signal. Example: V RH = 3.3 V and V RL = 0 V, with an 12-bit converter gives 2 12 or 4096 levels of quantization. voltage per step = (3.3 0 V)/(4096 steps) = 806 V/step What if we had an 8-bit converter instead? mv/step Resolution: Voltage range per step Resolution = (V RH - V RL )/number of steps = (V RH - V RL )/2 b Is 3.3V/4096 steps = 806 V/step in example above Data Rate: d = f s b bits/sec (average) where f s is sampling rate (in Hz) Lecture #15 14

14 68HC12 Dynamic Range The Dynamic Range of an A/D converter is given in decibels (db): DR(dB)=20 log(2 b ) = 20 b log(2)=6.02 b In ECE251, we round the 6.02 to 6 for computation A 12-bit A/D converter has a dynamic range of DR(dB)=6. x 12 = 72. db A 16 bit converter s dynamic range is db How many bits required to get 120 db of dynamic range? Called Dynamic Range because it s the ratio of the largest to smallest signal represented by the digital value Check Decibel on Wikipedia. It could be on a quiz. Lecture #15 15

15 A/D Conversion Process The Analog-to-Digital conversion process is simply sampling the scaled analog signal (typically done at regular time intervals, T s,) then converting each of the samples in real time into a binary code. Lecture #15 16

16 Sample and Hold Circuit The purpose of the sample and hold circuitry is to take a snapshot of the analog signal and hold that value while the A to D conversion occurs. The ADC must have a stable signal in order to accurately perform a conversion. It usually works by charging a capacitor to the input voltage, then disconnecting the capacitor from the input voltage during conversion. Requires a high inputimpedance circuit to next stage: The TM4C has a built-in sample and hold. Lecture #15 17

17 Choosing Sampling Time V C t = V in (1 e t T c ) Sampling Time is Software Programmable Larger sampling time Smaller sampling error Slower ADC speed Tradeoff Lecture #15 18

18 Comparator Functionality A comparator is used in many types of A/D converters. A comparator is the simplest interface from an analog signal to a digital signal A comparator compares two voltage values on its two inputs If the voltage on the + input is greater than the voltage on the - input, the output will be a logic high If the voltage on the + input is less than the voltage on the - input, the output will be a logic low It s really just a very high gain analog amplifier. How can we use this circuit element to create an A/D converter? (Glad you asked!) V cc V ref V in + V out Lecture #15 19

19 Parallel or Flash A/D Conversion A Parallel or Flash A/D converter is simple to comprehend It compares an input voltage to a several reference voltages simultaneously An n-bit flash converter uses ~2 n comparators Fast Expensive For Example, a 10-bit converter would require 1024 comparators and resistors (feasible with today s IC technology). Lecture #15 20

20 Slope A/D Converter A simple A/D converter can be constructed with a counter, a D/A converter, and a comparator See next slide The counter counts from 0 to 2 b 1 The counter drives the input of the D/A converter The output of the D/A converter is compared to the input voltage When the output of the comparator switches from 0 to 1, the approximated voltage has just passed the unknown voltage and the counter value is latched. Pro: Straightforward, inexpensive design Con: Slow, time-varying conversion Lecture #15 21

21 Slope A/D Converter V latch Lecture #15 22

22 Successive Approximation A/D Converter (A Good Compromise of Speed and Resolution) 1. Test whether unknown voltage is > or < half the range of A/D converter (i.e. Should most significant bit of binary representation be set?). How? Drive a D/A converter with this first approximation test Compare unknown with this approximation using a comparator. Choose 0 (V in < approximation) or 1 (V in > approximation) for most significant bit of binary representation. 2. Next, divide remaining range in half (Is 2nd most significant bit set (based on D/A converter in the middle of this new range)?). Continue the process above through all bits in binary representation. 3. Continuing to divide voltage range in half with each step is called Successive Approximation Number of bits of resolution = number of steps taken Lecture #15 23

23 Block Diagram of a Successive Approximation A/D Converter analog comparator + - V in (analog input) Clock Control Logic Successive approximation register (SAR) Digital-to-analog converter V RH V RL Output Latch Digital code Figure 10.2 Block diagram of a successive approximation A/D converter Lecture #15 24

24 Algorithm of Successive Approximation Start - Initialize the SAR register to 0. - Starting from the most significant bit of SAR and work toward the least significant bit, for each bit: 1. Guess the bit to be a Converts the value of the SAR to an analog voltage 3. Compares the D/A output with the analog input. 4. Clears the bit to 0 if the guess was wrong (D/A output is larger than applied voltage). i i - 1 SAR[n-1,..., 0] 0 i n - 1 SAR[i] 1 Convert the value in SAR to a voltage Is the Converted voltage greater than the input? no yes SAR[i] 0 no i = 0? yes Stop Sop Figure 10.3 Successive approximation A/D conversion method Lecture #15 25

25 Successive Approximation A/D Converter analog comparator + - V in (analog input) Clock Control Logic Successive approximation register (SAR) Digital-to-analog converter V RH V RL Output Latch Digital code Figure 10.2 Block diagram of a successive approximation A/D converter Lecture #15 26

26 Next Lecture Successive Approximation A/D Converter Our TM4C A/D Converter (a really good one) Capabilities Programming But we ve done the hard work for you! Lecture #15 27

EE 308 Spring Using the HCS12 PWM

EE 308 Spring Using the HCS12 PWM Using the HCS12 PWM 1. Choose 8-bit mode (PWMCTL = x) 2. Choose high polarity (PWMPOL = xff) 3. Choose left-aligned (PWMCAE = x) 4. Select clock mode in PWMCLK: PCLKn = for 2 N, PCLKn = 1 for 2 (N+1) M,

More information

Advantages of Analog Representation. Varies continuously, like the property being measured. Represents continuous values. See Figure 12.

Advantages of Analog Representation. Varies continuously, like the property being measured. Represents continuous values. See Figure 12. Analog Signals Signals that vary continuously throughout a defined range. Representative of many physical quantities, such as temperature and velocity. Usually a voltage or current level. Digital Signals

More information

Analog to Digital Converters

Analog to Digital Converters Analog to Digital Converters By: Byron Johns, Danny Carpenter Stephanie Pohl, Harry Bo Marr http://ume.gatech.edu/mechatronics_course/fadc_f05.ppt (unless otherwise marked) Presentation Outline Introduction:

More information

PHYS225 Lecture 22. Electronic Circuits

PHYS225 Lecture 22. Electronic Circuits PHYS225 Lecture 22 Electronic Circuits Last lecture Digital to Analog Conversion DAC Converts digital signal to an analog signal Computer control of everything! Various types/techniques for conversion

More information

Menu EEL EEL 3744 A/D and D/A Conversion Process. A-to-D, D-to-A, Part 1

Menu EEL EEL 3744 A/D and D/A Conversion Process. A-to-D, D-to-A, Part 1 Menu A/D-D/A Conversion Processes >Example: Grandma Singing Hymns Digital Signal Processing Analog-to-Digital Conversion >A/D Conversion Methods Operational Amplifier in D/A & A/D Digital-to-Analog Look

More information

EE 308 Spring 2015 The MC9S12 A/D Converter

EE 308 Spring 2015 The MC9S12 A/D Converter The MC9S12 A/D Converter o Introduction to A/D Converters o Single Channel vs Multiple Channels o Singe Conversion vs Multiple Conversions o MC9S12 A/C Registers o Using the MC9S12 A/D Converter o A C

More information

Linear Integrated Circuits

Linear Integrated Circuits Linear Integrated Circuits Single Slope ADC Comparator checks input voltage with integrated reference voltage, V REF At the same time the number of clock cycles is being counted. When the integrator output

More information

Analog to Digital Conversion

Analog to Digital Conversion Analog to Digital Conversion 02534567998 6 4 2 3 4 5 6 ANALOG to DIGITAL CONVERSION Analog variation (Continuous, smooth variation) Digitized Variation (Discrete set of points) N2 N1 Digitization applied

More information

UNIT III Data Acquisition & Microcontroller System. Mr. Manoj Rajale

UNIT III Data Acquisition & Microcontroller System. Mr. Manoj Rajale UNIT III Data Acquisition & Microcontroller System Mr. Manoj Rajale Syllabus Interfacing of Sensors / Actuators to DAQ system, Bit width, Sampling theorem, Sampling Frequency, Aliasing, Sample and hold

More information

Data Converters. Dr.Trushit Upadhyaya EC Department, CSPIT, CHARUSAT

Data Converters. Dr.Trushit Upadhyaya EC Department, CSPIT, CHARUSAT Data Converters Dr.Trushit Upadhyaya EC Department, CSPIT, CHARUSAT Purpose To convert digital values to analog voltages V OUT Digital Value Reference Voltage Digital Value DAC Analog Voltage Analog Quantity:

More information

EE 421L Digital Electronics Laboratory. Laboratory Exercise #9 ADC and DAC

EE 421L Digital Electronics Laboratory. Laboratory Exercise #9 ADC and DAC EE 421L Digital Electronics Laboratory Laboratory Exercise #9 ADC and DAC Department of Electrical and Computer Engineering University of Nevada, at Las Vegas Objective: The purpose of this laboratory

More information

CENG4480 Lecture 04: Analog/Digital Conversions

CENG4480 Lecture 04: Analog/Digital Conversions CENG4480 Lecture 04: Analog/Digital Conversions Bei Yu byu@cse.cuhk.edu.hk (Latest update: October 3, 2018) Fall 2018 1 / 31 Overview Preliminaries Comparator Digital to Analog Conversion (DAC) Analog

More information

ELG3336: Converters Analog to Digital Converters (ADCs) Digital to Analog Converters (DACs)

ELG3336: Converters Analog to Digital Converters (ADCs) Digital to Analog Converters (DACs) ELG3336: Converters Analog to Digital Converters (ADCs) Digital to Analog Converters (DACs) Digital Output Dout 111 110 101 100 011 010 001 000 ΔV, V LSB V ref 8 V FSR 4 V 8 ref 7 V 8 ref Analog Input

More information

Electronics A/D and D/A converters

Electronics A/D and D/A converters Electronics A/D and D/A converters Prof. Márta Rencz, Gábor Takács, Dr. György Bognár, Dr. Péter G. Szabó BME DED December 1, 2014 1 / 26 Introduction The world is analog, signal processing nowadays is

More information

Data Conversion and Lab (17.368) Fall Lecture Outline

Data Conversion and Lab (17.368) Fall Lecture Outline Data Conversion and Lab (17.368) Fall 2013 Lecture Outline Class # 07 October 17, 2013 Dohn Bowden 1 Today s Lecture Outline Administrative Detailed Technical Discussions Digital to Analog Conversion Lab

More information

DSP Project. Reminder: Project proposal is due Friday, October 19, 2012 by 5pm in my office (Small 239).

DSP Project. Reminder: Project proposal is due Friday, October 19, 2012 by 5pm in my office (Small 239). DSP Project eminder: Project proposal is due Friday, October 19, 2012 by 5pm in my office (Small 239). Budget: $150 for project. Free parts: Surplus parts from previous year s project are available on

More information

ELG4139: Converters Analog to Digital Converters (ADCs) Digital to Analog Converters (DACs)

ELG4139: Converters Analog to Digital Converters (ADCs) Digital to Analog Converters (DACs) ELG4139: Converters Analog to Digital Converters (ADCs) Digital to Analog Converters (DACs) Digital Output Dout 111 110 101 100 011 010 001 000 ΔV, V LSB V ref 8 V FS 4 V 8 ref 7 V 8 ref Analog Input V

More information

Outline. Analog/Digital Conversion

Outline. Analog/Digital Conversion Analog/Digital Conversion The real world is analog. Interfacing a microprocessor-based system to real-world devices often requires conversion between the microprocessor s digital representation of values

More information

Based with permission on lectures by John Getty Laboratory Electronics II (PHSX262) Spring 2011 Lecture 9 Page 1

Based with permission on lectures by John Getty Laboratory Electronics II (PHSX262) Spring 2011 Lecture 9 Page 1 Today 3// Lecture 9 Analog Digital Conversion Sampled Data Acquisition Systems Discrete Sampling and Nyquist Digital to Analog Conversion Analog to Digital Conversion Homework Study for Exam next week

More information

A-D and D-A Converters

A-D and D-A Converters Chapter 5 A-D and D-A Converters (No mathematical derivations) 04 Hours 08 Marks When digital devices are to be interfaced with analog devices (or vice a versa), Digital to Analog converter and Analog

More information

Analog I/O. ECE 153B Sensor & Peripheral Interface Design Winter 2016

Analog I/O. ECE 153B Sensor & Peripheral Interface Design Winter 2016 Analog I/O ECE 153B Sensor & Peripheral Interface Design Introduction Anytime we need to monitor or control analog signals with a digital system, we require analogto-digital (ADC) and digital-to-analog

More information

FYS3240 PC-based instrumentation and microcontrollers. Signal sampling. Spring 2017 Lecture #5

FYS3240 PC-based instrumentation and microcontrollers. Signal sampling. Spring 2017 Lecture #5 FYS3240 PC-based instrumentation and microcontrollers Signal sampling Spring 2017 Lecture #5 Bekkeng, 30.01.2017 Content Aliasing Sampling Analog to Digital Conversion (ADC) Filtering Oversampling Triggering

More information

EECS 373 Design of Microprocessor-Based Systems

EECS 373 Design of Microprocessor-Based Systems EECS 373 Design of Microprocessor-Based Systems Prabal Dutta University of Michigan Lecture 11: Sampling, ADCs, and DACs Oct 7, 2014 Some slides adapted from Mark Brehob, Jonathan Hui & Steve Reinhardt

More information

II Year (04 Semester) EE6403 Discrete Time Systems and Signal Processing

II Year (04 Semester) EE6403 Discrete Time Systems and Signal Processing Class Subject Code Subject II Year (04 Semester) EE6403 Discrete Time Systems and Signal Processing 1.CONTENT LIST: Introduction to Unit I - Signals and Systems 2. SKILLS ADDRESSED: Listening 3. OBJECTIVE

More information

Digital Sampling. This Lecture. Engr325 Instrumentation. Dr Curtis Nelson. Digital sampling Sample rate. Bit depth. Other terms. Types of conversion.

Digital Sampling. This Lecture. Engr325 Instrumentation. Dr Curtis Nelson. Digital sampling Sample rate. Bit depth. Other terms. Types of conversion. Digital Sampling Engr325 Instrumentation Dr Curtis Nelson Digital sampling Sample rate. Bit depth. Other terms. Types of conversion. This Lecture 1 Data Acquisition and Control Computers are nearly always

More information

Chapter 2 Signal Conditioning, Propagation, and Conversion

Chapter 2 Signal Conditioning, Propagation, and Conversion 09/0 PHY 4330 Instrumentation I Chapter Signal Conditioning, Propagation, and Conversion. Amplification (Review of Op-amps) Reference: D. A. Bell, Operational Amplifiers Applications, Troubleshooting,

More information

Digital to Analog Conversion. Data Acquisition

Digital to Analog Conversion. Data Acquisition Digital to Analog Conversion (DAC) Digital to Analog Conversion Data Acquisition DACs or D/A converters are used to convert digital signals representing binary numbers into proportional analog voltages.

More information

DATA CONVERSION AND LAB (17.368) Fall Class # 07. October 16, 2008

DATA CONVERSION AND LAB (17.368) Fall Class # 07. October 16, 2008 DATA CONVERSION AND LAB (17.368) Fall 2008 Class # 07 October 16, 2008 Dohn Bowden 1 Today s Lecture Outline Course Admin Lab #3 next week Exam in two weeks 10/30/08 Detailed Technical Discussions Digital

More information

Embedded Systems Lecture 2: Interfacing with the Environment. Björn Franke University of Edinburgh

Embedded Systems Lecture 2: Interfacing with the Environment. Björn Franke University of Edinburgh Embedded Systems Lecture 2: Interfacing with the Environment Björn Franke University of Edinburgh Overview Interfacing with the Physical Environment Signals, Discretisation Input (Sensors) Output (Actuators)

More information

Analog-to-Digital Converter (ADC) And Digital-to-Analog Converter (DAC)

Analog-to-Digital Converter (ADC) And Digital-to-Analog Converter (DAC) 1 Analog-to-Digital Converter (ADC) And Digital-to-Analog Converter (DAC) 2 1. DAC In an electronic circuit, a combination of high voltage (+5V) and low voltage (0V) is usually used to represent a binary

More information

Lecture #20 Analog Inputs Embedded System Engineering Philip Koopman Wednesday, 30-March-2016

Lecture #20 Analog Inputs Embedded System Engineering Philip Koopman Wednesday, 30-March-2016 Lecture #20 Analog Inputs 18-348 Embedded System Engineering Philip Koopman Wednesday, 30-March-2016 Electrical& Computer ENGINEEING Copyright 2006-2016, Philip Koopman, All ights eserved Commercial HVAC

More information

EEE312: Electrical measurement & instrumentation

EEE312: Electrical measurement & instrumentation University of Turkish Aeronautical Association Faculty of Engineering EEE department EEE312: Electrical measurement & instrumentation Digital Electronic meters BY Ankara March 2017 1 Introduction The digital

More information

Computerized Data Acquisition Systems. Chapter 4

Computerized Data Acquisition Systems. Chapter 4 Computerized Data Acquisition Systems Chapter 4 Data Acquisition - Objectives State and discuss in terms a bright high school student would understand the following definitions related to data acquisition

More information

Fundamentals of Data Converters. DAVID KRESS Director of Technical Marketing

Fundamentals of Data Converters. DAVID KRESS Director of Technical Marketing Fundamentals of Data Converters DAVID KRESS Director of Technical Marketing 9/14/2016 Analog to Electronic Signal Processing Sensor (INPUT) Amp Converter Digital Processor Actuator (OUTPUT) Amp Converter

More information

The counterpart to a DAC is the ADC, which is generally a more complicated circuit. One of the most popular ADC circuit is the successive

The counterpart to a DAC is the ADC, which is generally a more complicated circuit. One of the most popular ADC circuit is the successive 1 The counterpart to a DAC is the ADC, which is generally a more complicated circuit. One of the most popular ADC circuit is the successive approximation converter. 2 3 The idea of sampling is fully covered

More information

10. Chapter: A/D and D/A converter principles

10. Chapter: A/D and D/A converter principles Punčochář, Mohylová: TELO, Chapter 10: A/D and D/A converter principles 1 10. Chapter: A/D and D/A converter principles Time of study: 6 hours Goals: the student should be able to define basic principles

More information

Analogue Interfacing. What is a signal? Continuous vs. Discrete Time. Continuous time signals

Analogue Interfacing. What is a signal? Continuous vs. Discrete Time. Continuous time signals Analogue Interfacing What is a signal? Signal: Function of one or more independent variable(s) such as space or time Examples include images and speech Continuous vs. Discrete Time Continuous time signals

More information

6.111 Lecture # 15. Operational Amplifiers. Uses of Op Amps

6.111 Lecture # 15. Operational Amplifiers. Uses of Op Amps 6.111 Lecture # 15 Operational Amplifiers Parameter Ideal '741 '357 Int Gain A Infinity 200,000/f(Hz) 20x10^6/f(Hz) Uses of Op Amps Analog uses employ negative feedback to drive + input to (nearly) the

More information

Cyber-Physical Systems ADC / DAC

Cyber-Physical Systems ADC / DAC Cyber-Physical Systems ADC / DAC ICEN 553/453 Fall 2018 Prof. Dola Saha 1 Analog-to-Digital Converter (ADC) Ø ADC is important almost to all application fields Ø Converts a continuous-time voltage signal

More information

Analog to digital and digital to analog converters

Analog to digital and digital to analog converters Analog to digital and digital to analog converters A/D converter D/A converter ADC DAC ad da Number bases Decimal, base, numbers - 9 Binary, base, numbers and Oktal, base 8, numbers - 7 Hexadecimal, base

More information

Chapter 7. Introduction. Analog Signal and Discrete Time Series. Sampling, Digital Devices, and Data Acquisition

Chapter 7. Introduction. Analog Signal and Discrete Time Series. Sampling, Digital Devices, and Data Acquisition Chapter 7 Sampling, Digital Devices, and Data Acquisition Material from Theory and Design for Mechanical Measurements; Figliola, Third Edition Introduction Integrating analog electrical transducers with

More information

Analog to Digital Conversion

Analog to Digital Conversion Analog to Digital Conversion Why It s Needed Embedded systems often need to measure values of physical parameters These parameters are usually continuous (analog) and not in a digital form which computers

More information

EE 435 Switched Capacitor Amplifiers and Filters. Lab 7 Spring 2014 R 2 V OUT V IN. (a) (b)

EE 435 Switched Capacitor Amplifiers and Filters. Lab 7 Spring 2014 R 2 V OUT V IN. (a) (b) EE 435 Switched Capacitor Amplifiers and Filters Lab 7 Spring 2014 Amplifiers are widely used in many analog and mixed-signal applications. In most discrete applications resistors are used to form the

More information

System on a Chip. Prof. Dr. Michael Kraft

System on a Chip. Prof. Dr. Michael Kraft System on a Chip Prof. Dr. Michael Kraft Lecture 5: Data Conversion ADC Background/Theory Examples Background Physical systems are typically analogue To apply digital signal processing, the analogue signal

More information

Chapter 5: Signal conversion

Chapter 5: Signal conversion Chapter 5: Signal conversion Learning Objectives: At the end of this topic you will be able to: explain the need for signal conversion between analogue and digital form in communications and microprocessors

More information

In this lecture. System Model Power Penalty Analog transmission Digital transmission

In this lecture. System Model Power Penalty Analog transmission Digital transmission System Model Power Penalty Analog transmission Digital transmission In this lecture Analog Data Transmission vs. Digital Data Transmission Analog to Digital (A/D) Conversion Digital to Analog (D/A) Conversion

More information

Chapter 2 Analog-to-Digital Conversion...

Chapter 2 Analog-to-Digital Conversion... Chapter... 5 This chapter examines general considerations for analog-to-digital converter (ADC) measurements. Discussed are the four basic ADC types, providing a general description of each while comparing

More information

FYS3240 PC-based instrumentation and microcontrollers. Signal sampling. Spring 2015 Lecture #5

FYS3240 PC-based instrumentation and microcontrollers. Signal sampling. Spring 2015 Lecture #5 FYS3240 PC-based instrumentation and microcontrollers Signal sampling Spring 2015 Lecture #5 Bekkeng, 29.1.2015 Content Aliasing Nyquist (Sampling) ADC Filtering Oversampling Triggering Analog Signal Information

More information

ECE 556 BASICS OF DIGITAL SPEECH PROCESSING. Assıst.Prof.Dr. Selma ÖZAYDIN Spring Term-2017 Lecture 2

ECE 556 BASICS OF DIGITAL SPEECH PROCESSING. Assıst.Prof.Dr. Selma ÖZAYDIN Spring Term-2017 Lecture 2 ECE 556 BASICS OF DIGITAL SPEECH PROCESSING Assıst.Prof.Dr. Selma ÖZAYDIN Spring Term-2017 Lecture 2 Analog Sound to Digital Sound Characteristics of Sound Amplitude Wavelength (w) Frequency ( ) Timbre

More information

In this lecture, we will look at how different electronic modules communicate with each other. We will consider the following topics:

In this lecture, we will look at how different electronic modules communicate with each other. We will consider the following topics: In this lecture, we will look at how different electronic modules communicate with each other. We will consider the following topics: Links between Digital and Analogue Serial vs Parallel links Flow control

More information

8-Bit, high-speed, µp-compatible A/D converter with track/hold function ADC0820

8-Bit, high-speed, µp-compatible A/D converter with track/hold function ADC0820 8-Bit, high-speed, µp-compatible A/D converter with DESCRIPTION By using a half-flash conversion technique, the 8-bit CMOS A/D offers a 1.5µs conversion time while dissipating a maximum 75mW of power.

More information

Digital Design Laboratory Lecture 7. A/D and D/A

Digital Design Laboratory Lecture 7. A/D and D/A ECE 280 / CSE 280 Digital Design Laboratory Lecture 7 A/D and D/A Analog/Digital Conversion A/D conversion is the process of sampling a continuous signal Two significant implications 1. The information

More information

ANALOGUE AND DIGITAL COMMUNICATION

ANALOGUE AND DIGITAL COMMUNICATION ANALOGUE AND DIGITAL COMMUNICATION Syed M. Zafi S. Shah Umair M. Qureshi Lecture xxx: Analogue to Digital Conversion Topics Pulse Modulation Systems Advantages & Disadvantages Pulse Code Modulation Pulse

More information

The need for Data Converters

The need for Data Converters The need for Data Converters ANALOG SIGNAL (Speech, Images, Sensors, Radar, etc.) PRE-PROCESSING (Filtering and analog to digital conversion) DIGITAL PROCESSOR (Microprocessor) POST-PROCESSING (Digital

More information

Lab Exercise 6: Digital/Analog conversion

Lab Exercise 6: Digital/Analog conversion Lab Exercise 6: Digital/Analog conversion Introduction In this lab exercise, you will study circuits for analog-to-digital and digital-to-analog conversion Preparation Before arriving at the lab, you should

More information

CHAPTER ELEVEN - Interfacing With the Analog World

CHAPTER ELEVEN - Interfacing With the Analog World CHAPTER ELEVEN - Interfacing With the Analog World 11.1 (a) Analog output = (K) x (digital input) (b) Smallest change that can occur in the analog output as a result of a change in the digital input. (c)

More information

EECS 373 Design of Microprocessor-Based Systems

EECS 373 Design of Microprocessor-Based Systems EECS 373 Design of Microprocessor-Based Systems Ronald Dreslinski University of Michigan Sampling, ADCs, and DACs and more Some slides adapted from Mark Brehob, Prabal Dutta, Jonathan Hui & Steve Reinhardt

More information

ME 461 Laboratory #3 Analog-to-Digital Conversion

ME 461 Laboratory #3 Analog-to-Digital Conversion ME 461 Laboratory #3 Analog-to-Digital Conversion Goals: 1. Learn how to configure and use the MSP430 s 10-bit SAR ADC. 2. Measure the output voltage of your home-made DAC and compare it to the expected

More information

Tuesday, March 1st, 9:15 11:00. Snorre Aunet Nanoelectronics group Department of Informatics University of Oslo.

Tuesday, March 1st, 9:15 11:00. Snorre Aunet Nanoelectronics group Department of Informatics University of Oslo. Nyquist Analog to Digital it Converters Tuesday, March 1st, 9:15 11:00 Snorre Aunet (sa@ifi.uio.no) Nanoelectronics group Department of Informatics University of Oslo 3.1 Introduction 3.1.1 DAC applications

More information

Microprocessors & Interfacing

Microprocessors & Interfacing Lecture overview Microprocessors & Interfacing /Output output PMW Digital-to- (D/A) Conversion input -to-digital (A/D) Conversion Lecturer : Dr. Annie Guo S2, 2008 COMP9032 Week9 1 S2, 2008 COMP9032 Week9

More information

FAST Fourier Transform (FFT) and Digital Filtering Using LabVIEW

FAST Fourier Transform (FFT) and Digital Filtering Using LabVIEW FAST Fourier Transform (FFT) and Digital Filtering Using LabVIEW Instructor s Portion Wei Lin Department of Biomedical Engineering Stony Brook University Summary Uses This experiment requires the student

More information

Lecture 6: Digital/Analog Techniques

Lecture 6: Digital/Analog Techniques Lecture 6: Digital/Analog Techniques The electronics signals that we ve looked at so far have been analog that means the information is continuous. A voltage of 5.3V represents different information that

More information

Select the Right Operational Amplifier for your Filtering Circuits

Select the Right Operational Amplifier for your Filtering Circuits Select the Right Operational Amplifier for your Filtering Circuits 2003 Microchip Technology Incorporated. All Rights Reserved. for Low Pass Filters 1 Hello, my name is Bonnie Baker, and I am with Microchip.

More information

Data acquisition and instrumentation. Data acquisition

Data acquisition and instrumentation. Data acquisition Data acquisition and instrumentation START Lecture Sam Sadeghi Data acquisition 1 Humanistic Intelligence Body as a transducer,, data acquisition and signal processing machine Analysis of physiological

More information

Data Acquisition: A/D & D/A Conversion

Data Acquisition: A/D & D/A Conversion Data Acquisition: A/D & D/A Conversion Mark Colton ME 363 Spring 2011 Sampling: A Review In order to store and process measured variables in a computer, the computer must sample the variables 10 Continuous

More information

! Where are we on course map? ! What we did in lab last week. " How it relates to this week. ! Sampling/Quantization Review

! Where are we on course map? ! What we did in lab last week.  How it relates to this week. ! Sampling/Quantization Review ! Where are we on course map?! What we did in lab last week " How it relates to this week! Sampling/Quantization Review! Nyquist Shannon Sampling Rate! Next Lab! References Lecture #2 Nyquist-Shannon Sampling

More information

Department of Mechanical and Aerospace Engineering. MAE334 - Introduction to Instrumentation and Computers. Final Examination.

Department of Mechanical and Aerospace Engineering. MAE334 - Introduction to Instrumentation and Computers. Final Examination. Name: Number: Department of Mechanical and Aerospace Engineering MAE334 - Introduction to Instrumentation and Computers Final Examination December 12, 2003 Closed Book and Notes 1. Be sure to fill in your

More information

Analog Input and Output. Lecturer: Sri Parameswaran Notes by: Annie Guo

Analog Input and Output. Lecturer: Sri Parameswaran Notes by: Annie Guo Analog Input and Output Lecturer: Sri Parameswaran Notes by: Annie Guo 1 Analog output Lecture overview PMW Digital-to-Analog (D/A) Conversion Analog input Analog-to-Digital (A/D) Conversion 2 PWM Analog

More information

Analytical Chemistry II

Analytical Chemistry II Analytical Chemistry II L3: Signal processing (selected slides) Semiconductor devices Apart from resistors and capacitors, electronic circuits often contain nonlinear devices: transistors and diodes. The

More information

Analog to Digital Conversion

Analog to Digital Conversion Analog to Digital Conversion Florian Erdinger Lehrstuhl für Schaltungstechnik und Simulation Technische Informatik der Uni Heidelberg VLSI Design - Mixed Mode Simulation F. Erdinger, ZITI, Uni Heidelberg

More information

Fill in the following worksheet-style pages. A colored pen or pencil works best. The procedure is:

Fill in the following worksheet-style pages. A colored pen or pencil works best. The procedure is: 14: ALIASING I. PRELAB FOR ALIASING LAB You might expect that to record a frequency of 4000 Hz you would have to sample at a rate of at least 4000 Hz. It turns out, however, that you actually have to sample

More information

EE283 Electrical Measurement Laboratory Laboratory Exercise #7: Digital Counter

EE283 Electrical Measurement Laboratory Laboratory Exercise #7: Digital Counter EE283 Electrical Measurement Laboratory Laboratory Exercise #7: al Counter Objectives: 1. To familiarize students with sequential digital circuits. 2. To show how digital devices can be used for measurement

More information

P a g e 1. Introduction

P a g e 1. Introduction P a g e 1 Introduction 1. Signals in digital form are more convenient than analog form for processing and control operation. 2. Real world signals originated from temperature, pressure, flow rate, force

More information

SAMPLING AND RECONSTRUCTING SIGNALS

SAMPLING AND RECONSTRUCTING SIGNALS CHAPTER 3 SAMPLING AND RECONSTRUCTING SIGNALS Many DSP applications begin with analog signals. In order to process these analog signals, the signals must first be sampled and converted to digital signals.

More information

ECEN Network Analysis Section 3. Laboratory Manual

ECEN Network Analysis Section 3. Laboratory Manual ECEN 3714----Network Analysis Section 3 Laboratory Manual LAB 07: Active Low Pass Filter Oklahoma State University School of Electrical and Computer Engineering. Section 3 Laboratory manual - 1 - Spring

More information

Analog-to-Digital i Converters

Analog-to-Digital i Converters CSE 577 Spring 2011 Analog-to-Digital i Converters Jaehyun Lim, Kyusun Choi Department t of Computer Science and Engineering i The Pennsylvania State University ADC Glossary DNL (differential nonlinearity)

More information

University of Pittsburgh

University of Pittsburgh University of Pittsburgh Experiment #7 Lab Report Analog-Digital Applications Submission Date: 08/01/2018 Instructors: Dr. Ahmed Dallal Shangqian Gao Submitted By: Nick Haver & Alex Williams Station #2

More information

ENGR 210 Lab 12: Analog to Digital Conversion

ENGR 210 Lab 12: Analog to Digital Conversion ENGR 210 Lab 12: Analog to Digital Conversion In this lab you will investigate the operation and quantization effects of an A/D and D/A converter. A. BACKGROUND 1. LED Displays We have been using LEDs

More information

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad 1 P a g e INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad - 500 043 ELECTRONICS AND COMMUNICATION ENGINEERING TUTORIAL QUESTION BANK Name : INTEGRATED CIRCUITS APPLICATIONS Code

More information

Embedded System Hardware

Embedded System Hardware 12 Embedded System Hardware Jian-Jia Chen (Slides are based on Peter Marwedel) Informatik 12 TU Dortmund Germany 2015 11 11 These slides use Microsoft clip arts. Microsoft copyright restrictions apply.

More information

Introduction. These two operations are performed by data converters : Analogue-to-digital converter (ADC) Digital-to-analogue converter (DAC)

Introduction. These two operations are performed by data converters : Analogue-to-digital converter (ADC) Digital-to-analogue converter (DAC) Lezione 7 Conversione analogico digitale Introduzione Campionamento di segnali analogici e Aliasing Porte di campionamento e di mantenimento Quantizzazione segnali analogici Ricostruzione del segnale analogico

More information

Chapter 7: From Digital-to-Analog and Back Again

Chapter 7: From Digital-to-Analog and Back Again Chapter 7: From Digital-to-Analog and Back Again Overview Often the information you want to capture in an experiment originates in the laboratory as an analog voltage or a current. Sometimes you want to

More information

ANALOG TO DIGITAL (ADC) and DIGITAL TO ANALOG CONVERTERS (DAC)

ANALOG TO DIGITAL (ADC) and DIGITAL TO ANALOG CONVERTERS (DAC) COURSE / CODE DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) ANALOG TO DIGITAL (ADC) and DIGITAL TO ANALOG CONVERTERS (DAC) Connecting digital circuitry to sensor devices

More information

EE 230. Electronic Circuits and Systems. Randy Geiger 2133 Coover

EE 230. Electronic Circuits and Systems. Randy Geiger 2133 Coover EE 230 Electronic Circuits and Systems Randy Geiger 2133 Coover rlgeiger@iastate.edu 294-7745 Course Description Linear Systems Frequency domain characterization of electronic circuits and systems transfer

More information

Department of Mechanical and Aerospace Engineering. MAE334 - Introduction to Instrumentation and Computers. Final Examination.

Department of Mechanical and Aerospace Engineering. MAE334 - Introduction to Instrumentation and Computers. Final Examination. Name: Number: Department of Mechanical and Aerospace Engineering MAE334 - Introduction to Instrumentation and Computers Final Examination December 12, 2002 Closed Book and Notes 1. Be sure to fill in your

More information

Waveform Encoding - PCM. BY: Dr.AHMED ALKHAYYAT. Chapter Two

Waveform Encoding - PCM. BY: Dr.AHMED ALKHAYYAT. Chapter Two Chapter Two Layout: 1. Introduction. 2. Pulse Code Modulation (PCM). 3. Differential Pulse Code Modulation (DPCM). 4. Delta modulation. 5. Adaptive delta modulation. 6. Sigma Delta Modulation (SDM). 7.

More information

Theoretical 1 Bit A/D Converter

Theoretical 1 Bit A/D Converter Acquisition 16.1 Chapter 4 - Acquisition D/A converter (or DAC): Digital to Analog converters are used to map a finite number of values onto a physical output range (usually a ) A/D converter (or ADC):

More information

LINEAR IC APPLICATIONS

LINEAR IC APPLICATIONS 1 B.Tech III Year I Semester (R09) Regular & Supplementary Examinations December/January 2013/14 1 (a) Why is R e in an emitter-coupled differential amplifier replaced by a constant current source? (b)

More information

Module 1: Introduction to Experimental Techniques Lecture 2: Sources of error. The Lecture Contains: Sources of Error in Measurement

Module 1: Introduction to Experimental Techniques Lecture 2: Sources of error. The Lecture Contains: Sources of Error in Measurement The Lecture Contains: Sources of Error in Measurement Signal-To-Noise Ratio Analog-to-Digital Conversion of Measurement Data A/D Conversion Digitalization Errors due to A/D Conversion file:///g /optical_measurement/lecture2/2_1.htm[5/7/2012

More information

EE445L Spring 2018 Final EID: Page 1 of 7

EE445L Spring 2018 Final EID: Page 1 of 7 EE445L Spring 2018 Final EID: Page 1 of 7 Jonathan W. Valvano First: Last: This is the closed book section. Calculator is allowed (no laptops, phones, devices with wireless communication). You must put

More information

Advanced Digital Signal Processing Part 2: Digital Processing of Continuous-Time Signals

Advanced Digital Signal Processing Part 2: Digital Processing of Continuous-Time Signals Advanced Digital Signal Processing Part 2: Digital Processing of Continuous-Time Signals Gerhard Schmidt Christian-Albrechts-Universität zu Kiel Faculty of Engineering Institute of Electrical Engineering

More information

Digital Fundamentals

Digital Fundamentals Digital Fundamentals Tenth Edition Floyd Chapter 1 2009 Pearson Education, Upper 2008 Pearson Saddle River, Education NJ 07458. All Rights Reserved Objectives After completing this unit, you should be

More information

Analogue to Digital Conversion

Analogue to Digital Conversion Analogue to Digital Conversion Turns electrical input (voltage/current) into numeric value Parameters and requirements Resolution the granularity of the digital values Integral NonLinearity proportionality

More information

Electronic Systems. Dr. Kenneth Kin-Yip Wong. ENGG st Semester, Department of Electrical and Electronic Engineering

Electronic Systems. Dr. Kenneth Kin-Yip Wong. ENGG st Semester, Department of Electrical and Electronic Engineering Electronic Systems ENGG1015 1 st Semester, 2011 Dr. Kenneth Kin-Yip Wong Department of Electrical and Electronic Engineering Introduction Today H ENGG1015: Hybrid 1 semester L Recall that ENGG1015 is about

More information

Lecture #6: Analog-to-Digital Converter

Lecture #6: Analog-to-Digital Converter Lecture #6: Analog-to-Digital Converter All electrical signals in the real world are analog, and their waveforms are continuous in time. Since most signal processing is done digitally in discrete time,

More information

Electronics II Physics 3620 / 6620

Electronics II Physics 3620 / 6620 Electronics II Physics 3620 / 6620 Feb 09, 2009 Part 1 Analog-to-Digital Converters (ADC) 2/8/2009 1 Why ADC? Digital Signal Processing is more popular Easy to implement, modify, Low cost Data from real

More information

ANALOG TO DIGITAL CONVERTER ANALOG INPUT

ANALOG TO DIGITAL CONVERTER ANALOG INPUT ANALOG INPUT Analog input involves sensing an electrical signal from some source external to the computer. This signal is generated as a result of some changing physical phenomenon such as air pressure,

More information

Electrical Engineering 40 Introduction to Microelectronic Circuits

Electrical Engineering 40 Introduction to Microelectronic Circuits Electrical Engineering 40 Introduction to Microelectronic Circuits Instructor: Prof. Andy Neureuther EECS Department University of California, Berkeley Lecture 1, Slide 1 Introduction Instructor: Prof.

More information

EE 280 Introduction to Digital Logic Design

EE 280 Introduction to Digital Logic Design EE 280 Introduction to Digital Logic Design Lecture 1. Introduction EE280 Lecture 1 1-1 Instructors: EE 280 Introduction to Digital Logic Design Dr. Lukasz Kurgan (section A1) office: ECERF 6 th floor,

More information

GSM BASED PATIENT MONITORING SYSTEM

GSM BASED PATIENT MONITORING SYSTEM GSM BASED PATIENT MONITORING SYSTEM ABSTRACT This project deals with the monitoring of the patient parameters such as humidity, temperature and heartbeat. Here we have designed a microcontroller based

More information