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

Similar documents
Data Acquisition: A/D & D/A Conversion

Digital to Analog Conversion. Data Acquisition

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

PHYS225 Lecture 22. Electronic Circuits

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

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

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

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

The need for Data Converters

Analog to Digital Converters

Music 270a: Fundamentals of Digital Audio and Discrete-Time Signals

CMPT 318: Lecture 4 Fundamentals of Digital Audio, Discrete-Time Signals

Continuous vs. Discrete signals. Sampling. Analog to Digital Conversion. CMPT 368: Lecture 4 Fundamentals of Digital Audio, Discrete-Time Signals

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

EE251: Tuesday October 10

ANALOG-TO-DIGITAL CONVERTERS

CHAPTER ELEVEN - Interfacing With the Analog World

P a g e 1. Introduction

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

Chapter 2 Analog-to-Digital Conversion...

For the system to have the high accuracy needed for many measurements,

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

System on a Chip. Prof. Dr. Michael Kraft

Pulse Code Modulation

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

CENG4480 Lecture 04: Analog/Digital Conversions

Analogue Signals. M J Brockway. February 5, 2018

Lecture #6: Analog-to-Digital Converter

Lecture Fundamentals of Data and signals

CHAPTER 4. PULSE MODULATION Part 2

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

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

Electronics A/D and D/A converters

Analog to Digital Conversion

Terminology (1) Chapter 3. Terminology (3) Terminology (2) Transmitter Receiver Medium. Data Transmission. Direct link. Point-to-point.

Analog to digital and digital to analog converters

Cyber-Physical Systems ADC / DAC

Chapter Two. Fundamentals of Data and Signals. Data Communications and Computer Networks: A Business User's Approach Seventh Edition

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

MECE 3320 Measurements & Instrumentation. Data Acquisition

Data Conversion and Lab (17.368) Fall Lecture Outline

ME 461 Laboratory #3 Analog-to-Digital Conversion

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

Techniques for Pixel Level Analog to Digital Conversion

Computerized Data Acquisition Systems. Chapter 4

Set-up. Equipment required: Your issued Laptop MATLAB ( if you don t already have it on your laptop)

Advanced Lab LAB 6: Signal Acquisition & Spectrum Analysis Using VirtualBench DSA Equipment: Objectives:

Hideo Okawara s Mixed Signal Lecture Series. DSP-Based Testing Fundamentals 6 Spectrum Analysis -- FFT

EEE312: Electrical measurement & instrumentation

Data acquisition and instrumentation. Data acquisition

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

Measuring and generating signals with ADC's and DAC's

UNIVERSITY OF NORTH CAROLINA AT CHARLOTTE Department of Electrical and Computer Engineering

Design IV. E232 Spring 07

Chapter 3, Sections Electrical Filters

Introduction to Telecommunications and Computer Engineering Unit 3: Communications Systems & Signals

Chapter 2: Digitization of Sound

APPLICATION BULLETIN PRINCIPLES OF DATA ACQUISITION AND CONVERSION. Reconstructed Wave Form

LAB #7: Digital Signal Processing

PC-based controller for Mechatronics System

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

THE SPEAKER. The decibel scale is related to the physical sound intensity measured in watts/cm 2 by the following equation:

Basic Concepts in Data Transmission

Oscilloscope Measurement Fundamentals: Vertical-Axis Measurements (Part 1 of 3)

Chapter 3 Data and Signals

Chapter 3. Data Transmission

Microprocessors & Interfacing

EEE482F: Problem Set 1

Media Devices: Audio. CTEC1465/2018S Computer System Support

Design IV. E232 Fall 07

Terminology (1) Chapter 3. Terminology (3) Terminology (2) Transmitter Receiver Medium. Data Transmission. Simplex. Direct link.

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

Fundamentals of Digital Audio *

Analog and Digital Signals

TUTORIAL 283 INL/DNL Measurements for High-Speed Analog-to- Digital Converters (ADCs)

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

Data Communications & Computer Networks

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

Data and Computer Communications Chapter 3 Data Transmission

Chapter 3 Data Transmission COSC 3213 Summer 2003


SAMPLING AND RECONSTRUCTING SIGNALS

ANALOG TO DIGITAL CONVERTER ANALOG INPUT

6 Sampling. Sampling. The principles of sampling, especially the benefits of coherent sampling

SIGMA-DELTA CONVERTER

Review of Lecture 2. Data and Signals - Theoretical Concepts. Review of Lecture 2. Review of Lecture 2. Review of Lecture 2. Review of Lecture 2

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

Lab Exercise 6: Digital/Analog conversion

PC Digital Data Acquisition

Data Communication. Chapter 3 Data Transmission

Ch 5 Hardware Components for Automation

Laboratory Experiment #1 Introduction to Spectral Analysis

EC 554 Data Communications

Embedded Control. Week 3 (7/13/11)

Chapter 3 Data and Signals 3.1

Data Converter Fundamentals

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

Summary Last Lecture

MULTIMEDIA SYSTEMS

Lab.3. Tutorial : (draft) Introduction to CODECs

Transcription:

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 in the middle of any instrumentation system. They provide a complete interface between sensors and output devices. Digital Sampling Analog Signal Digital Signal Using transducers that provide an electrical output for measurement typically involves digital conversions. 2

Uses binary numbers to represent the analog input value. The more binary digits (BITS) used, the greater the resolution of the signal and the smaller the quantization error (defined later) involved in the process. Examples: Digital Sampling 4 bit resolution provides 16 values (2 4 ). 8 bit resolution provides 256 values (2 8 ). 12 bit resolution provides 4096 values (2 12 ). 16 bit resolution provides 65536 values (2 16 ). Digitized Sine Wave 3

Digital Sampling Example 0-10 volt analog input divided into 16 intervals corresponding to a 4-bit digital conversion. Digital Sampling Example 0-10 volt analog input divided into 16 intervals corresponding to 4-bit digital conversion. 4

Digital Sampling Example Comparison of 4-bit vs. 5-bit Sampling 16 divisions: 0000 to 1111 32 intervals: 00000 to 11111 Quantization Error is Reduced by Using Higher Resolution (more binary digits). Range of Value of Digitized Quantities 5

Analog-to-Digital (ADC) Conversion Terms EFSR - Effective full scale range Also called the voltage input span for an A/D converter. Examples: 0-5V, -5 to +5v, 0-10V. Sampling Rate How often an analog signal is sampled. Example: 44,100 samples per second, measured in Hz. Sampling Resolution Resolution refers to the smallest signal that can be detected by a measurement system. Another way to say it: the smallest voltage increment that causes a bit change. Resolution can be expressed in bits, in proportions, or in percentage of full scale. Example: 12-bit resolution, one part in 4096 resolution, or 0.0244% of full scale. Example: An 8-bit ADC with Effective Full Scale (EFS) of 10 V could detect a minimum of 10/256 = 0.0391 V. The higher the resolution, the smaller the detectable voltage change. How many bits are needed to obtain a resolution of 0.01%? More ADC Conversion Terms Accuracy The difference between the actual output voltage and an accepted standard. Least Significant Digit or Bit (LSB) The rightmost digit or bit Example: 001 (the 1 is the LSB) Most Significant Digit or Bit (MSB) The leftmost digit or bit Example: 100 (the 1 is the MSB) 6

More ADC Conversion Terms Quantization error The inherent uncertainty in an A/D conversion due to the finite resolution of the system. Quantization error is usually defined as ± 1LSB or ± ½ LSB Final ADC Term SNR (signal to noise ratio) Signal-to-noise ratio (abbreviated SNR or S/N) is a measure used that compares the level of a desired signal to the level of background noise. It is defined as the ratio of signal power to the noise power, often expressed in decibels. A ratio higher than 1:1 (greater than 0 db) indicates more signal than noise. Signal-to-noise ratio is sometimes used informally to refer to the ratio of useful information to false or irrelevant data in a conversation or exchange. SNR = 20log 10 (V signal /V noise ) 7

Conversion Rate When the sample period is too long (too slow), substantial details of the analog signal will be missed. It is imperative that an ADC's sample time is fast enough to capture essential changes in the analog waveform. In data acquisition terminology, the highest-frequency waveform that an ADC can theoretically capture is called the Nyquist frequency, equal to one-half of the ADC's sample frequency. If an ADC circuit has a sample frequency of 5000 Hz, the highest-frequency waveform it can successfully resolve will be the Nyquist frequency of 2500 Hz. Conversion Rate Consider the following illustration of ADC conversion rate versus signal type: 8

Conversion Rate But consider this example with the same sample time: Aliasing If an ADC is subjected to an analog input signal whose frequency exceeds the Nyquist frequency, the converter will output a digitized signal of falsely low frequency. This phenomenon is known as aliasing. Observe the following illustration to see how aliasing occurs: 9

Aliasing Note how the period of the output waveform is much longer (slower) than that of the input waveform, and how the two waveform shapes aren't even similar: Aliasing It should be understood that the Nyquist frequency is an absolute minimum frequency limit for an ADC, and does not represent the highest practical frequency measurable. To be safe, one shouldn't expect an ADC to successfully resolve any frequency greater than one-fifth to one-tenth of its sample frequency. A practical means of preventing aliasing is to place a low-pass filter before the input of the ADC, to block any signal frequencies greater than the practical limit. This way, the ADC circuitry will be prevented from seeing any excessive frequencies and thus will not try to digitize them. It is generally considered better that such frequencies go unconverted than to have them be "aliased" and appear in the output as false signals. 10

Aliasing Illustration Common Sampling Frequencies Which rates can represent the range of frequencies audible by human ears? Sampling Rate Uses 44.1 khz (44100) CD, DAT 48 khz (48000) DAT, DV, DVD-Video 96 khz (96000) DVD-Audio 22.05 khz (22050) Old samplers 11

Common Sampling Resolutions Word length 8-bit integer 16-bit integer 24-bit integer 32-bit floating point Uses Low-res web audio CD, DAT, DV, sound files DVD-Video, DVD-Audio Software (usually only for internal representation) Analog-to-Digital Conversion Techniques 12

Successive Approximation ADC Successive Approximation ADC This method works by trying all values of bits starting with the mostsignificant bit and finishing at the least-significant bit. The register monitors the comparator's output to see if the binary count is less than or greater than the analog signal input, adjusting the bit values accordingly. 13

Successive Approximation ADC Plotted over time, the operation of a successive-approximation ADC looks like this: Note how the updates for this ADC occur at regular intervals. A/D Converter Board https://www.omega.com/pptst/ome-pci-1800.html 14