Lesson 6: Sampling Analog Signals

Slides:



Advertisements
Similar presentations
| Page Angelo Farina UNIPR | All Rights Reserved | Confidential Digital sound processing Convolution Digital Filters FFT.
Advertisements

Lecture Notes Part 2Lecture Notes Part 2 ET 438 b Digital Control and Data Acquisition et438b-2.pptx1.
Learning Objectives Static and Dynamic Characteristics of Signals
Analogue to Digital Conversion
Discussion #25 – ADCECEN 3011 Conversion Mosiah 5:2 2 And they all cried with one voice, saying: Yea, we believe all the words which though has spoken.
EET260: A/D and D/A converters
CEN352, Dr. Ghulam Muhammad King Saud University
JF 12/04111 BSC Data Acquisition and Control Data Representation Computers use base 2, instead of base 10: Internally, information is represented by binary.
Pulse Code Modulation Lecture 5.
Physics 434 Module 4-FFT – Thanks to Prof. Toby Burnett for writeups & lab 1 Physics 434: Continuing Module 4 week 2: the Fourier Transform Explore Fourier.
EKT343 –Principle of Communication Engineering
Analogue and digital techniques in closed loop regulation applications Digital systems Sampling of analogue signals Sample-and-hold Parseval’s theorem.
Data Acquisition. Data Acquisition System Analog Signal Signal Conditioner ADC Digital Processing Communication.
First semester King Saud University College of Applied studies and Community Service 1301CT.
4.2 Digital Transmission Pulse Modulation (Part 2.1)
Digital to Analogue Conversion Natural signals tend to be analogue Need to convert to digital.
11 Lecture Slides ME 3222 Kinematics and Control Lab Lab 2 AD DA and Sampling Theory By Dr. Debao Zhou.
PULSE MODULATION.
The sampling of continuous-time signals is an important topic It is required by many important technologies such as: Digital Communication Systems ( Wireless.
Dr Martin Hendry, Dept of Physics and Astronomy University of Glasgow, UK Astronomical Data Analysis I 11 lectures, beginning autumn 2008.
Numerical algorithms for power system protection Prof. dr. sc. Ante Marušić, doc. dr. sc. Juraj Havelka University of Zagreb Faculty of Electrical Engineering.
EE421, Fall 1998 Michigan Technological University Timothy J. Schulz 08-Sept, 98EE421, Lecture 11 Digital Signal Processing (DSP) Systems l Digital processing.
Lecture 1 Signals in the Time and Frequency Domains
Sampling Theorems. Periodic Sampling Most signals are continuous in time. Example: voice, music, images ADC and DAC is needed to convert from continuous-time.
Chapter #5 Pulse Modulation
The ECG UConn BME 290. Buffers What is a buffer? –Non-inverting amplifier with a gain of 1 Why use a buffer? –Buffers provide a high input impedance.
◦ We sometimes need to digitize an analog signal ◦ To send human voice over a long distance, we need to digitize it, since digital signals are less prone.
Pulse Modulation Techniques
Lecture 3: The Sampling Process and Aliasing 1. Introduction A digital or sampled-data control system operates on discrete- time rather than continuous-time.
Physics 434 Module 4 - T. Burnett 1 Physics 434 Module 4 Acoustic excitation of a physical system: time domain.
ΨΗΦΙΑΚΟΣ ΕΛΕΓΧΟΣ (22Δ802) Β΄ ΕΞΑΜΗΝΟ Καθηγητής Πέτρος Π. Γρουμπός  Ώρες Γραφείου: Τετάρτη Πέμπτη Παρασκευή 11:00- 12:00 Γραφείο: 1.
Sampling. Introduction  Sampling refers to the process of converting a continuous, analog signal to discrete digital numbers.
Fourier Analysis Patrice Koehl Department of Biological Sciences National University of Singapore
Eeng Chapter4 Bandpass Signalling  Bandpass Filtering and Linear Distortion  Bandpass Sampling Theorem  Bandpass Dimensionality Theorem  Amplifiers.
Chapter 4 Dynamical Behavior of Processes Homework 6 Construct an s-Function model of the interacting tank-in-series system and compare its simulation.
PULSE MODULATION.
Chapter 4 Dynamical Behavior of Processes Homework 6 Construct an s-Function model of the interacting tank-in-series system and compare its simulation.
ΨΗΦΙΑΚΟΣ ΕΛΕΓΧΟΣ (22Δ802) Β΄ ΕΞΑΜΗΝΟ 
MECH 373 Instrumentation and Measurements
Fri. Oct 13 Announcements Lab practical next week
SAMPLING & ALIASING.
Lecture Signals with limited frequency range
Bandwidth vs Frequency (Subsampling Concepts) TIPL 4700
EE Audio Signals and Systems
Signal conditioning.
Time domain & frequency domain
لجنة الهندسة الكهربائية
Digital Control Systems Waseem Gulsher
Chapter 2 Signal Sampling and Quantization
CBC Fundamentals Lecture is based on material from Robotic Explorations: A Hands-on Introduction to Engineering, Fred Martin, Prentice Hall, 2001.
Image Acquisition.
Lecture 9: Sampling & PAM 1st semester By: Elham Sunbu.
Lesson 7: Anti-Aliasing Filtering
Lesson 1: Overview of Sequential Control and Data Acquisition
Lecture 10 Digital to Analog (D-to-A) Conversion
MECH 373 Instrumentation and Measurements
The sampling of continuous-time signals is an important topic
Chapter4 Bandpass Signalling Bandpass Filtering and Linear Distortion
Digital Control Systems Waseem Gulsher
Lesson 8: Analog Signal Conversion
Lesson 12: Analog Signal Conditioning
Chapter 2 Ideal Sampling and Nyquist Theorem
Sampling and Quantization
9.3 Analog-to-Digital Conversion
Analog to Digital Encoding
Lesson Week 8 Fourier Transform of Time Functions (DC Signal, Periodic Signals, and Pulsed Cosine)
Chapter4 Bandpass Signalling Bandpass Filtering and Linear Distortion
CEN352, Dr. Ghulam Muhammad King Saud University
Chapter 3 Sampling.
DIGITAL CONTROL SYSTEM WEEK 3 NUMERICAL APPROXIMATION
Presentation transcript:

Lesson 6: Sampling Analog Signals ET 438b Sequential Control and Data Acquisition Department of Technology Lesson 6_et438b.pptx

Learning Objectives After this presentation you will be able to: Identify the steps in sampling an analog signal Indentify the frequency spectrum of a sampled signal Determine the minimum sampling rate of an analog signal Determine if a sampled signal contains aliased signals. Lesson 6_et438b.pptx

Sampled Signals Sampling Process Data Acquisition Card Signal Sensor Multiplexer Sensor Signal Conditioner Physical parameter Amplify Filter Linearize Sample & Hold ADC Other analog Input channels To computer Data bus Lesson 6_et438b.pptx

Sampled Signals-Representation of Signal Analog Signal - defined at every point of independent variable For most physical signals independent variable is time Sampled Signal - Exists at point of measurement. Sampled at equally spaced time points, Ts called sampling time. (1/Ts =fs), sampling frequency Analog Example Sampled Example n=sample number Lesson 6_et438b.pptx

Sampled Data Examples Representation of analog signal Ts Representation of sampled analog signal Lesson 6_et438b.pptx

Sample and Hold Operation Sample and Hold Circuit Operating Modes tracking = switch closed hold= switch open Control input operates solid –state switch at sampling rate fs Sample and Hold Parameters Acquisition Time - time from instant switch closes until Vi within defined % of input. Determined by input time constant t = RinC 5t value = 99.3% of final value decay rate - rate of discharge of C when circuit is in hold mode Impedance Buffer aperture time - time it takes switch to open. Lesson 6_et438b.pptx

Sample and Hold Signals Pulse generator closes switch and captures signal value Analog and sampled signal Pulse generator output Amplitude Modulated s(t)=p(t)∙a(t) Lesson 6_et438b.pptx

Sample and Hold Output Sample must be held while digital conversion takes place. Total time to digitize tc = ta + td Where tc = total conversion time ta = total acquisition time td = total digital conversion time Hold Time Lesson 6_et438b.pptx

Frequency Spectrum Sampling is modulation. Shifts all signal frequency components and generates harmonics fc=1000 Hz fI1=50 Hz fI2=25 Hz Carrier Information Modulation produces sums and differences of carrier and information frequencies fh1= fc±fI1 for the 1st information frequency fh2= fc±fI1 for the 2nd information frequency fhi= fc±fIi for the i-th information frequency Lesson 6_et438b.pptx

Frequency Spectrum Frequency Components fh1= fc±fI1 =1000 Hz ± 50 Hz = 1050 Hz and 950 Hz fh2= fc±fI1 =1000 Hz ± 25 Hz = 1025 Hz and 975 Hz Frequency Spectrum Plot | v | Frequency 1000 Hz 1.0 0.5 950 Hz 975 Hz 1025 Hz 1050 Hz Lesson 6_et438b.pptx

Frequency Spectrum Complex signals usually have a frequency spectrum that is wider. Can be visualized with continuous f plot and found with an Fast Fourier Transform (FFT) | v | Frequency highest frequency in signal dc f=0 Frequency spectrum of input signals sample & hold must be known to accurately reproduce original signal from samples Lesson 6_et438b.pptx

Nyquist Frequency and Minimum Sampling Rate To accurately reproduce the analog input data with samples the sampling rate, fs, must be twice as high as the highest frequency expected in the input signal. (Two samples per period) This is known as the Nyquist frequency. fs(min) = 2fh Where fh = the highest discernible f component in input signal fs(min) = minimum sampling f Nyquist rate is the minimum frequency and requires an ideal pulse to reconstruct the original signal into an analog value Lesson 6_et438b.pptx

Sampled Signal Frequency Spectrum Sampling with fs >2fh Amplitude Frequency fs+fh fh fs-fh fs 2fs-fh 2fs 2fs+fh Sampling at less than 2fh causes aliasing and folding of sampled signals. Amplitude Frequency Folded Frequencies fh fs-zfh fs fs+fh 2fs-fh 2fs 2fs+fh Lesson 6_et438b.pptx

Nyquist Frequency and Aliasing Only signals with frequencies below Nyquist frequency will be correctly reproduced Example: Given the following signal, determine the minimum sampling rate (Nyquist frequency) Find the highest frequency component: 100 Hz, 250 Hz, 500 Hz, 400 Hz fh= 500 Hz fs(min) = 2fh fs(min) = 2(500 Hz)= 1000 Hz Lesson 6_et438b.pptx

Nyquist Frequency and Aliasing Example: Given the following signal, determine the minimum sampling rate (Nyquist frequency) Convert the radian frequency to frequency in Hz by dividing values by 2p Find the highest frequency component: 450 Hz fs(min) = 2fh fs(min) = 2(450 Hz)= 900Hz Lesson 6_et438b.pptx

Aliased Frequencies Sampling analog signal below 2fh produces false frequencies. Aliased frequencies determined by: Where: fI = sampled information signal with fI>fnyquist fs = sampling frequency (Hz) n = sampling harmonic number falias = aliased frequency fnyquist = one-half sampling frequency Lesson 6_et438b.pptx

Samples/Period and Aliasing Correct signal representation requires at least two samples/period Where Ns = number input signal samples per period of sampling frequency fs = sampling frequency (Hz) fI = highest information signal frequency (Hz) Ts = sampling period, 1/fs, (seconds) TI = period information signal’s highest frequency (1/fI) Lesson 6_et438b.pptx

Sampling/Aliasing Examples Example 1: A fs=1000 Hz sampling frequency samples an information signal of fI=100 Hz . Determine samples/period, the resulting recovered signal ,and aliased frequencies if present Determine the number of samples/ period Above Nyquist rate of 2 Signals below 500 Hz reproduced without aliasing View the frequency spectrum using FFT of samples Lesson 6_et438b.pptx

Sampling/Aliasing Examples Frequency Spectrum 100 Hz Recovered 500 Hz Nyquist Limit Lesson 6_et438b.pptx

Sampling/Aliasing Examples Example 2: A fs=60 Hz sampling frequency samples an information signal of fI=100 Hz . Determine samples/period, the resulting recovered signal ,and aliased frequencies if present Determine the number of samples/ period Below Nyquist rate of 2 Aliased signals will occur due to low sampling rate Signals below 30 Hz reproduced without aliasing Now compute the aliased frequency for 1st sampling harmonic Lesson 6_et438b.pptx

Sampling/Aliasing Examples Alias frequencies for 1st harmonic of sampling f (n=1) The falias is outside range 0-30 Hz, (40 Hz > 30 Hz) No recovered signal Find alias frequencies of 2nd sampling harmonic f (n=2) The falias in range 0-30 Hz, 20 Hz recovered signal Lesson 6_et438b.pptx

Sampling/Aliasing Examples Frequency Spectrum 30 Hz Nyquist Limit 5 10 15 20 25 30 35 0.5 1 1.5 2 2.5 3 Frequency Spectrum Frequency Amplitude 20 Hz Alias f Lesson 6_et438b.pptx

Sampling/Aliasing Examples Example 3: A fs=80 Hz sampling frequency samples an information signal of fI=100 Hz . Determine samples/period, the resulting recovered signal ,and aliased frequencies if present Determine the number of samples/ period Below Nyquist rate of 2 Aliased signals will occur due to low sampling rate Signals below 40 Hz reproduced without aliasing Lesson 6_et438b.pptx

Sampling/Aliasing Examples Alias frequencies for 1st harmonic of sampling f (n=1) The falias is inside range 0-40 Hz 20 Hz recovered signal Find alias frequencies of 2nd sampling harmonic f (n=2) The falias outside range 0-40 Hz, No recovered signal Lesson 6_et438b.pptx

Sampling/Aliasing Examples Frequency Spectrum 40 Hz Nyquist Limit 20 Hz Alias f 10 20 30 40 50 0.5 1 1.5 2 2.5 3 Frequency Spectrum Frequency Amplitude Lesson 6_et438b.pptx

Sampling/Aliasing Examples Example 4: A fs=100 Hz sampling frequency samples an information signal of fI=100 Hz . Determine samples/period, the resulting recovered signal ,and aliased frequencies if present Determine the number of samples/ period Below Nyquist rate of 2 Aliased signals will occur due to low sampling rate Signals below 50 Hz reproduced without aliasing Lesson 6_et438b.pptx

Sampling and Aliasing Examples Alias frequencies for 1st harmonic of sampling f (n=1) The falias is inside range 0-50 Hz. 0 Hz indicates that the recovered signal is a dc level View time and frequency plots of this example. 0 Hz is dc. Level depends on phase shift of information signal relative to sampling signal Lesson 6_et438b.pptx

Sampling and Aliasing Examples Time plot 0.02 0.04 0.06 0.08 0.1 2 1 Sampled Signal Information Time Amplitude 50 Hz Nyquist Limit 10 20 30 40 50 60 0.5 1 1.5 2 2.5 3 Frequency Spectrum Frequency Amplitude 0 Hz (dc) Alias f Lesson 6_et438b.pptx

Sampling and Aliasing Examples Previous examples all demonstrate under-sampling. fs≤fI Folding occurs when fs>fI but less that fnyquist Example 5: A fs=125 Hz sampling frequency samples an information signal of fI=100 Hz . Determine samples/period, the resulting recovered signal ,and aliased frequencies if present Determine the number of samples/ period Below Nyquist rate of 2 Aliased signals will occur due to low sampling rate Signals below 62.5 Hz reproduced without aliasing Lesson 6_et438b.pptx

Sampling and Aliasing Examples Alias frequencies for 1st harmonic of sampling f (n=1) The falias is inside range 0-62.5 Hz. A 25 Hz signal is reconstructed Find alias frequencies of 2nd sampling harmonic f (n=2) The falias outside range 0-62.5 Hz, No recovered signal at this frequency Lesson 6_et438b.pptx

Sampling and Aliasing Examples Frequency Spectrum 62.5 Hz Nyquist Limit 25 Hz Alias f Lesson 6_et438b.pptx

End Lesson 6: Sampling Analog Signals ET 438b Sequential Control and Data Acquisition Department of Technology Lesson 6_et438b.pptx