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

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

Data acquisition and instrumentation. Data acquisition

PC Digital Data Acquisition

Electronics A/D and D/A converters

PHYS225 Lecture 15. Electronic Circuits

ELG3336 Design of Mechatronics System

Chapter 15: Active Filters

Introduction (cont )

EXPERIMENT 1: Characteristics of Passive and Active Filters

Sigma-Delta ADC Tutorial and Latest Development in 90 nm CMOS for SoC

PC-based controller for Mechatronics System

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

Lecture #6: Analog-to-Digital Converter

ni.com Sensor Measurement Fundamentals Series

Electronic PRINCIPLES

Understanding Data Converters SLAA013 July 1995

Developer Techniques Sessions

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

Appendix B. Design Implementation Description For The Digital Frequency Demodulator

Theoretical 1 Bit A/D Converter

Data Conversion Techniques (DAT115)

Design IV. E232 Spring 07

EE 230 Lecture 39. Data Converters. Time and Amplitude Quantization

Lab 4 Digital Scope and Spectrum Analyzer

System on a Chip. Prof. Dr. Michael Kraft

SAMPLING AND RECONSTRUCTING SIGNALS

Analog and Telecommunication Electronics

ASC-50. OPERATION MANUAL September 2001

Choosing the Best ADC Architecture for Your Application Part 3:

Analog Filters D R. T A R E K T U T U N J I P H I L A D E L P H I A U N I V E R S I T Y, J O R D A N

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

Active Filters - Revisited

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

ECE 203 LAB 2 PRACTICAL FILTER DESIGN & IMPLEMENTATION

Brief Introduction to Signals & Systems. Phani Chavali

Digital to Analog Conversion. Data Acquisition

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

Chapter 2: Digitization of Sound

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

Transmit filter designs for ADSL modems

INTRODUCTION TO FILTER CIRCUITS

MECE 3320 Measurements & Instrumentation. Data Acquisition

Analog front-end electronics

Analog and Telecommunication Electronics

Chapter 2 Analog-to-Digital Conversion...

Lab 12 Laboratory 12 Data Acquisition Required Special Equipment: 12.1 Objectives 12.2 Introduction 12.3 A/D basics

APPLICATION NOTE. Atmel AVR127: Understanding ADC Parameters. Atmel 8-bit Microcontroller. Features. Introduction

The Sampling Theorem:

Application Note #5 Direct Digital Synthesis Impact on Function Generator Design

Fundamentals of Data Converters. DAVID KRESS Director of Technical Marketing

Techniques for Pixel Level Analog to Digital Conversion

EEL 3923C. JD/ Module 3 Elementary Analog Filter Design. Prof. T. Nishida Fall 2010

National Instruments Flex II ADC Technology The Flexible Resolution Technology inside the NI PXI-5922 Digitizer

Analog Electronics. Lecture. Op-amp Circuits and Active Filters. Muhammad Amir Yousaf

ECEGR Lab #8: Introduction to Simulink

Inside the Delta-Sigma Converter: Practical Theory and Application. Speaker: TI FAE: Andrew Wang

The Fundamentals of Mixed Signal Testing

Analog to Digital Conversion

THE NEXT GENERATION AIRBORNE DATA ACQUISITION SYSTEMS. PART 1 - ANTI-ALIASING FILTERS: CHOICES AND SOME LESSONS LEARNED

EE247 Lecture 22. Figures of merit (FOM) and trends for ADCs How to use/not use FOM. EECS 247 Lecture 22: Data Converters 2004 H. K.

Lecture 10, ANIK. Data converters 2

Cyber-Physical Systems ADC / DAC

Analog to Digital Conversion

EE247 - Lecture 2 Filters. EECS 247 Lecture 2: Filters 2005 H.K. Page 1. Administrative. Office hours for H.K. changed to:

Analog/Digital and Sampling

EKT 314/4 LABORATORIES SHEET

Choosing the Best ADC Architecture for Your Application Part 4:

Pipeline vs. Sigma Delta ADC for Communications Applications

Part Numbering System

LAB #7: Digital Signal Processing

PHYS225 Lecture 22. Electronic Circuits

PART. MAX7421CUA 0 C to +70 C 8 µmax INPUT CLOCK

ANALOG-TO-DIGITAL CONVERTERS

Classic Filters. Figure 1 Butterworth Filter. Chebyshev

Select the Right Operational Amplifier for your Filtering Circuits

University of Pennsylvania. Department of Electrical and Systems Engineering. ESE Undergraduate Laboratory. Analog to Digital Converter

Butterworth Active Bandpass Filter using Sallen-Key Topology

Transmit filter designs for ADSL modems

SIGMA-DELTA CONVERTER

In The Name of Almighty. Lec. 2: Sampling

Chapter 3 Data Transmission COSC 3213 Summer 2003

Telecommunication Electronics

Design Implementation Description for the Digital Frequency Oscillator

Lecture Fundamentals of Data and signals

Data Converters. Lecture Fall2013 Page 1

LOW SAMPLING RATE OPERATION FOR BURR-BROWN

ME411 Engineering Measurement & Instrumentation. Winter 2017 Lecture 3

EE482: Digital Signal Processing Applications

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

I-Q Signal Generation Techniques for Communication IC Testing and ATE Systems

Announcements : Wireless Networks Lecture 3: Physical Layer. Bird s Eye View. Outline. Page 1

Analog-to-Digital Converter Survey & Analysis. Bob Walden. (310) Update: July 16,1999

UNIVERSITY OF CALIFORNIA College of Engineering Department of Electrical Engineering and Computer Sciences

Appendix A Comparison of ADC Architectures

Active Filter Design Techniques

The Design and Construction of a DDS based Waveform Generator

EE247 Lecture 2. Butterworth Chebyshev I Chebyshev II Elliptic Bessel Group delay comparison example. EECS 247 Lecture 2: Filters

Outline / Wireless Networks and Applications Lecture 3: Physical Layer Signals, Modulation, Multiplexing. Cartoon View 1 A Wave of Energy

DIGITAL FILTERING OF MULTIPLE ANALOG CHANNELS

Microprocessors & Interfacing

Transcription:

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 Three types of information: Level Shape Frequency

Sampling Considerations An analog signal is continuous A sampled signal is a series of discrete samples acquired at a specified sampling rate The faster we sample the more our sampled signal will look like our actual signal Actual Signal If not sampled fast enough a problem known as aliasing will occur Sampled Signal

Aliasing Adequately Sampled Signal Signal Aliased Signal

Sampling & Nyquist s Theorem Nyquist s Theorem You must sample at greater than 2 times the maximum frequency component of your signal to accurately represent the frequency of your signal

Sampling Example Aliased Signal 100Hz Sine Wave Sampled at 100Hz Adequately Sampled for Frequency Only (Same # of cycles) 100Hz Sine Wave Sampled at 200Hz 100Hz Sine Wave Sampled at 1kHz Adequately Sampled for Frequency and Shape

Hardware Filtering Filtering To remove unwanted signals from the signal that you are trying to measure Analog anti-aliasing low-pass filtering before the A/D converter To remove all signal frequencies that are higher than the input bandwidth of the device. If the signals are not removed, they will erroneously appear as signals within the input bandwidth of the device (known as aliasing) Frequency Domain:

Analog filters Filter types: LP, HP, BP, BS, Notch Passive filters: RC, LCR (often inductors L are avoided, but they are needed for high Q-factor) Active filters opamp + R and C Some common filter characteristics Butterworth Chebyshev Bessel (constant group delay in pass band) Elliptic Bessel

Sallen-Key - Active analog filter Structure LP HP

Switched-Capacitor Filter Can be suitable as an ADC anti-aliasing filter if you build your own electronics Be aware of possible clock noise (add RC-filters before and after) The corner frequency (cut-off) fc is programmable using an external clock Example: MAX7400 8th-order,lowpass, elliptic filter MAX7400 has a transition ratio (fs/fc) of 1.5 and a typical stop band rejection of 82dB

Importance of LP-filter selection for DAQ bandwidth fc = cut-off frequency fs = sampling frequency BW = bandwidth M (db) 0-3 BW A lowpass (LP) filter with a small transition band gives a wider passband/bw with a given sample frequency f s and a defined stopband starting at f stop M stop fc fc f stop f (Hz) fs = 2*fc fs = 2*f stop fs = 5*fc (in this example)

ADC architectures Multiplexed Simultaneous sampling

ADC resolution The number of bits used to represent an analog signal determines the resolution of the ADC Larger resolution = more precise representation of your signal The resolution determine the smallest detectable change in the input signal, referred to as code width or LSB (least significant bit) Example: 10.00 8.75 7.50 6.25 Amplitude 5.00 (volts) 3.75 2.50 1.25 0 0 16-Bit Versus 3-Bit Resolution (5kHz Sine Wave) 111 110 101 100 011 010 001 000 50 16-bit resolution 3-bit resolution 100 150 200 Time (ms)

Digital signals: Bits, dynamic range, and SNR SNR = signal to noise ratio The number of bits used determines the maximum possible signal-to-noise ratio Using the entire ADC range (using an amplifier) increases the SNR The minimum possible noise level is the error caused by the quantization of the signal, referred to as quantization noise.

ADC oversampling Δf The SNR of an ideal N-bit ADC (due to quantization effects) is: SNR(dB) = 6.02*N + 1.76 If the sampling rate is increased, we get the following SNR: SNR(dB) = 6.02*N + 1.76 + 10* log 10 (OSR) OSR = f s /f nyquist 0 Δf Nyquist sampling theorem: f s 2 *Δf signal Δf signal = f high - f low Oversampling makes it possible to use a simple RC anti-aliasing filter before the ADC After A/D conversion, perform digital low-pass filtering and then down sampling to f nyquist Effective resolution with oversampling N eff = N + 1/2 *log 2 (f s /f nyquist ), where N is the resolution of an ideal N-bit ADC at the Nyquist rate If OSR = f s /f nyquist = 1024, an 8-bit ADC gets and effective resolution equal to that of a 13-bit ACD at the Nyquist rate (which is 2 *Δf signal ) 0 f

Trigger (from hardware or software) A trigger is a signal that causes a device to perform an action, such as starting a data acquisition. You can program your DAQ device to react on triggers such as: a software command (software trigger) a condition on an external digital signal a condition on an external analog signal E.g. level triggering

Important trigger types Start trigger start data acquisition when an external digital signal have e.g. a rising edge Pre-trigger Include a specified number of samples before the trigger event Useful for high speed imaging Need a data buffer