11 Lecture Slides ME 3222 Kinematics and Control Lab Lab 2 AD DA and Sampling Theory By Dr. Debao Zhou.

Slides:



Advertisements
Similar presentations
Analog-to-Digital Converter (ADC) And
Advertisements

EET 252 Unit 6 Analog-to-Digital Conversion
The Illinois Society of Electroneurodiagnostic Technologists (ISET) Fall Meeting: Electronics Crash Course for Technologists Saturday, November 9, 2013.
4-Integrating Peripherals in Embedded Systems (cont.)
Analog to Digital Conversion. Introduction  An analog-to-digital converter (ADC, A/D, or A to D) is a device that converts continuous signals to discrete.
Analog to Digital Conversion. 12 bit vs 16 bit A/D Card Input Volts = A/D 12 bit 2 12 = Volts = Volts = 2048 −10 Volts = 0 Input Volts.
LSU 06/04/2007Electronics 71 Analog to Digital Converters Electronics Unit – Lecture 7 Representing a continuously varying physical quantity by a sequence.
Shuvra Das University of Detroit Mercy
Lecture 9: D/A and A/D Converters
Interfacing Analog and Digital Circuits
Analogue to Digital Conversion
Introduction to Data 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.
Advanced Computer Graphics (Spring 2006) COMS 4162, Lecture 3: Sampling and Reconstruction Ravi Ramamoorthi
Leo Lam © Signals and Systems EE235. Transformers Leo Lam ©
Data Acquisition. Data Acquisition System Analog Signal Signal Conditioner ADC Digital Processing Communication.
Sampling of Continuous Time Signal Section
Digital to Analogue Conversion Natural signals tend to be analogue Need to convert to digital.
Advanced Computer Graphics CSE 190 [Spring 2015], Lecture 3 Ravi Ramamoorthi
ME 322: Instrumentation Lecture 22 March 11, 2015 Professor Miles Greiner.
Fourier representation for discrete-time signals And Sampling Theorem
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.
Computer Based Data Acquisition Basics. Outline Basics of data acquisition Analog to Digital Conversion –Quantization –Aliasing.
Ni.com Data Analysis: Time and Frequency Domain. ni.com Typical Data Acquisition System.
Fall 2004EE 3563 Digital Systems Design Audio Basics  Analog to Digital Conversion  Sampling Rate  Quantization  Aliasing  Digital to Analog Conversion.
Lecture 1 Signals in the Time and Frequency Domains
Data Converters ELEC 330 Digital Systems Engineering Dr. Ron Hayne
DATA ACQUISITION Today’s Topics Define DAQ and DAQ systems Signals (digital and analogue types) Transducers Signal Conditioning - Importance of grounding.
Pegasus Lectures, Inc. COPYRIGHT 2006 Volume I Companion Presentation Frank R. Miele Pegasus Lectures, Inc. Ultrasound Physics & Instrumentation 4 th Edition.
GG 313 Lecture 26 11/29/05 Sampling Theorem Transfer Functions.
1 4-Integrating Peripherals in Embedded Systems (cont.)
Digital Signal Processing
Data Acquisition Systems
ISAT 300 Computer-Based Instrumentation (part 2) Sampling and A/D Converters 11/14/01.
Topic 1 modelling of sensors systems ETEC Calibration methods We have a RTD sensing the temperature. The integer of the sensor inside the PLC is.
Digitization When data acquisition hardware receives an analog signal it converts it to a voltage. An A/D (analog-to-digital) converter then digitizes.
High Speed Analog to Digital Converter
Leo Lam © Signals and Systems EE235 Leo Lam.
1 Data-Converter Circuits A/D and D/A Chapter 9 1.
revision Transfer function. Frequency Response
Analog Capture- Port E. Digital to Analog and Analog to Digital Conversion D/A or DAC and A/D or ADC.
2D Sampling Goal: Represent a 2D function by a finite set of points.
Digital Control CSE 421.
Analog/Digital Conversion
Data acquisition is the process of sampling signals that measure real world physical conditions and converting the resulting samples into digital numeric.
Lecture 2 Analog to digital conversion & Basic discrete signals.
Digital Measurements AOE 3054 Lowe Credits: Some excerpts developed by Devenport and Edwards, extracted from the course manual. 1.
Introduction to Data Conversion EE174 – SJSU Tan Nguyen.
ECE 101 Exploring Electrical Engineering Chapter 7 Data Acquisition Herbert G. Mayer, PSU Status 11/30/2015 Derived with permission from PSU Prof. Phillip.
ΨΗΦΙΑΚΟΣ ΕΛΕΓΧΟΣ (22Δ802) Β΄ ΕΞΑΜΗΝΟ Καθηγητής Πέτρος Π. Γρουμπός  Ώρες Γραφείου: Τετάρτη Πέμπτη Παρασκευή 11:00- 12:00 Γραφείο: 1.
1 Basic Signal Conversion 센서 및 계측 공학 (Sensor and Instrumentation Engineering) 2016 년 1 학기 충북대학교 전기전자반도체공학과 박 찬식
Lecture Notes / PPT UNIT III
Fourier Analysis Patrice Koehl Department of Biological Sciences National University of Singapore
MECH 373 Instrumentation and Measurements
Advanced Computer Graphics
EET 2259 Unit 12 Data Acquisition
Digital Control CSE 421.
ΨΗΦΙΑΚΟΣ ΕΛΕΓΧΟΣ (22Δ802) Β΄ ΕΞΑΜΗΝΟ 
Lecture Signals with limited frequency range
Signal conditioning.
Chapter 2 Signal Sampling and Quantization
Digital Acquisition of Analog Signals – A Practical Guide
Lesson 6: Sampling Analog Signals
Introduction to Signals and Systems
MECH 373 Instrumentation and Measurements
9.3 Analog-to-Digital Conversion
Chapter 3 Sampling.
Presentation transcript:

11 Lecture Slides ME 3222 Kinematics and Control Lab Lab 2 AD DA and Sampling Theory By Dr. Debao Zhou

2 System Review Computer: Software: Matlab (Lab 1) Hardware: Sensory 626 card (Lab 2) Controller (Labs 5 and 6) Sensors: Encoder/ accelerometer (Lab 3) Amplifier Motor External Equipment (Project) Lab 4

What will we do? What will we use? How to do? Why? –Your background EE 2111 Linear Systems and Signal Analysis Signal and system modeling concepts, system analysis in time domain, Fourier series and Fourier transform. Discrete time domain signals and systems, Z transform, applications. Just read through slide #18. 3

4 Lab 2 Task 1: Equipment, Simulink, Build the model Task 2: A/D - Set the power supply to different voltages –Check and see if you're A/D program can read the voltages correctly –Change the voltage range setting and repeat. Task 3: D/A - Send out different voltage to channel 0 from a program, check the output voltage using a multimeter to see if correct.

5 Computer: Data Acquisition and Processing Signals in data acquisition Software: Matlab Sensors e.g. voltage Amplifier Hardware: Sensory 626 card (Lab 2) A/D Analog signal Digital signal D/A Digital signal Motor What is the difference between analog/digital continues-/discrete- time signals? Analog signal

6 Data Acquisition Card - Sensory Six 24-bit counters for encoders Four 14-bit D/A outputs (analog output) Sixteen 16-bit differential A/D inputs (digital out input) 48 digital signals (digital output)

7 Data Acquisition Tasks Sampling Convert analog voltage/current to digital data (A/D) –Physical meanings of the analog data –Resolution Process of the digital data Convert digital data to analog voltage/current –Resolution –Physical meanings of the analog data

8 Expression of the Sampled data in Computer Blue: Analog data Red: sampled data

9 A/D Resolution calculation 16 bits ADC, measurement range ± 5v –The maximum number that could be represented with a 16-bit word is = The 15 th bit is reserved for sign representation, the represent numbers range is to , or 2 (16-1) -1 = = The resolution = 5v/32767 =5v/( ) = mv Saturation: if the input value is beyond the measurable range, the digital value will saturate at the max/min value. –In the input is 6v, it will give 32767; –-9v will give

10 A/D Resolution Calculation The resolution calculation is similar to that of an ADC Example: –12 bits DAC, measurement range ± 10v –The resolution = 10v/[( )-1] = 4.88 mv If the digital number is beyond the range: –Case I: saturate (similar to the ADC case) –Case II: the voltage values repeat. The above 12-bit DAC range is to +2047, if the digital value is 3000, it will give ( )/2047*10v = 4.66 v, instead of 3000/2047*10v =14.66v. If the digital value is -2500, it will give [-2500-(- 2047)]/2.47*10= mv

11 Lab 2 Task 1: Equipment, Simulink, Build the model Task 2: A/D - Set the power supply to different voltages –Check and see if you're A/D program can read the voltages correctly –Change the voltage range setting and repeat. Task 3: D/A - Send out different voltage to channel 0 from a program, check the output voltage using a multimeter to see if correct.

12 Sampling

Review: Period – Frequency Sinusoidal periodical functions Frequency, period V=cos(  t)=cos(2  ft) = cos(2  t/T)  2  f = 2  /T f = 1  /T 13

14 DT and CT Periodic Function

Displayed and Reconstructed 15

16 Sampling Theory A band-limited signal can be fully reconstructed from its samples, provided that the sampling rate (f s ) exceeds twice the maximum frequency (B) in the band-limited signal (f s >= 2B). This minimum sampling frequency (f s ) is called the Nyquist rate. This results, usually attributed to Nyquist and Shannon, is known as the Nyquist–Shannon sampling theorem, or simply the sampling theorem.

Sampling frequency, input signal frequency and output signal frequency relationship (sine wave) 17 fsfs f s /2 3f s /2 2f s Input Frequency Output Frequency Sampling Frequency f out f in f out f in fsfs

18 Lab 2 Task 4: demonstration of the sampling theorem –Set the sampling frequency to be 1000 Hz; –Change input signal frequency on the function generator to vary from 50 Hz to 1500Hz. –For each input frequency, write down the estimated frequency of the output signal from the oscilloscope

19 Sampling Theory

20 Sampling Theory Trigonometric Fourier Series

21 Sampling Theory

22 Sampling Theory

23 Sampling Theory

24 Sampling Theory

25 Sampling Theory

26 Sampling Theory (Aliasing)

27 Sampling Theory

28 Sampling - Reconstruction