ECE 353 Introduction to Microprocessor Systems Michael G. Morrow, P.E. Week 14.

Slides:



Advertisements
Similar presentations
Interfacing to the Analog World
Advertisements

Analog-to-Digital Converter (ADC) And
Speech Compression. Introduction Use of multimedia in personal computers Requirement of more disk space Also telephone system requires compression Topics.
EET 252 Unit 6 Analog-to-Digital Conversion
Digital Fundamentals Tenth Edition Floyd Chapter 12.
Data Acquisition Risanuri Hidayat.
CHAPTER 4 DIGITAL MODULATION Part 1.
5/4/2006BAE Analog to Digital (A/D) Conversion An overview of A/D techniques.
Analog to Digital Converters (ADC) 2 ©Paul Godin Created April 2008.
ECE 353 Introduction to Microprocessor Systems Michael G. Morrow, P.E. Week 14.
Analogue to Digital Conversion
Interfacing Analog and Digital Circuits
Interfacing with the Analog World Wen-Hung Liao, Ph.D.
Storey: Electrical & Electronic Systems © Pearson Education Limited 2004 OHT 26.1 Data Acquisition and Conversion  Introduction  Sampling  Signal Reconstruction.
Introduction to Data Conversion
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.
Why prefer CMOS over CCD? CMOS detector is radiation resistant Fast switching cycle Low power dissipation Light weight with high device density Issues:
Introduction to Analog-to-Digital Converters
CMOS VLSIAnalog DesignSlide 1 CMOS VLSI Analog Design.
PH4705/ET4305: A/D: Analogue to Digital Conversion
Ph. Farthouat CERN ELEC 2002 ADC 1 Analog to Digital Conversion  Introduction  Main characteristics –Resolution –Dynamic range –Bandwidth –Conversion.
 Principles of Digital Audio. Analog Audio  3 Characteristics of analog audio signals: 1. Continuous signal – single repetitive waveform 2. Infinite.
Digital Communication Techniques
Department of Electrical & Computer Engineering 1 ES585a - Computer Based Power System Protection Course by Dr.T.S.Sidhu - Fall 2005 Class discussion presentation.
Data Sampling & Nyquist Theorem Richa Sharma Dept. of Physics And Astrophysics University of Delhi.
Digital audio. In digital audio, the purpose of binary numbers is to express the values of samples that represent analog sound. (contrasted to MIDI binary.
Fall 2004EE 3563 Digital Systems Design Audio Basics  Analog to Digital Conversion  Sampling Rate  Quantization  Aliasing  Digital to Analog Conversion.
DSP Techniques for Software Radio DSP Front End Processing Dr. Jamil Ahmad.
1 Sensors and Measurements Penderia & Pengukuran ENT 164 Signal Processing Elements Hema C.R. School of Mechatronics Engineering Northern Malaysia University.
ACOE2551 Microprocessors Data Converters Analog to Digital Converters (ADC) –Convert an analog quantity (voltage, current) into a digital code Digital.
1HSSPG Georgia Tech High Speed Image Acquisition System for Focal-Plane-Arrays Doctoral Dissertation Presentation by Youngjoong Joo School of Electrical.
Filters and Delta Sigma Converters
INTERFACE WITH ANALOG WORLD
Digital Signal Processing
Analog to Digital conversion. Introduction  The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.
University of Tehran 1 Interface Design Transforms Omid Fatemi.
Lecture 15: Digital to Analog Converters Lecturers: Professor John Devlin Mr Robert Ross.
ECE 353 Introduction to Microprocessor Systems Michael G. Morrow, P.E. Module #7 Assessment Quiz.
Technological Educational Institute Of Crete Department Of Applied Informatics and Multimedia Neural Networks Laboratory Slide 1 FOURIER TRANSFORMATION.
Analog Capture- Port E. Digital to Analog and Analog to Digital Conversion D/A or DAC and A/D or ADC.
4.2 Digital Transmission Pulse Modulation Pulse Code Modulation
Digital Signal Processing
Analog to Digital Converters
Digital Control CSE 421.
Analog/Digital Conversion
Figure Analog-to-digital conversion.. Figure The DAC output is a staircase approximation to the original signal. Filtering removes the sharp.
Lecture 2 Analog to digital conversion & Basic discrete signals.
Chapter 6 Discrete-Time System. 2/90  Operation of discrete time system 1. Discrete time system where and are multiplier D is delay element Fig. 6-1.
Introduction to Data Conversion EE174 – SJSU Tan Nguyen.
 Sensor (S)–converts arbitary physical quantity into electric signal  Adaptor (A)–provides signal amplification to a required level; expands a dynamic.
ΨΗΦΙΑΚΟΣ ΕΛΕΓΧΟΣ (22Δ802) Β΄ ΕΞΑΜΗΝΟ Καθηγητής Πέτρος Π. Γρουμπός  Ώρες Γραφείου: Τετάρτη Πέμπτη Παρασκευή 11:00- 12:00 Γραφείο: 1.
1 Basic Signal Conversion 센서 및 계측 공학 (Sensor and Instrumentation Engineering) 2016 년 1 학기 충북대학교 전기전자반도체공학과 박 찬식
Lecture Notes / PPT UNIT III
Analog-Digital Conversion. Analog outputs from sensors and analog front- ends (analog signal conditioning) have to be converted into digital signals.
MECH 373 Instrumentation and Measurements
Microprocessors Data Converters Analog to Digital Converters (ADC)
Introduction to Discrete-Time Control Systems fall
Lattice Struture.
Digital Control Systems Waseem Gulsher
Lesson 1: Overview of Sequential Control and Data Acquisition
لجنة الهندسة الكهربائية
Lesson 8: Analog Signal Conversion
Chapter 6 Discrete-Time System
Conversation between Analogue and Digital System
Sampling and Quantization
CEN352, Dr. Ghulam Muhammad King Saud University
Chapter 7 Converters.
ELEN E4810: Digital Signal Processing Topic 11: Continuous Signals
Presentation transcript:

ECE 353 Introduction to Microprocessor Systems Michael G. Morrow, P.E. Week 14

Topics Digital versus analog Data acquisition systems Quantization and aliasing ADCs DACs Waveform Generation ADuC7026 Analog Peripherals Digital Filters and Audio Demos

Characteristics of Signals Analog Signals Infinite number of possible signal levels (values) Can change at any instant to any other value  Bandwidth is potentially infinite Analog signals are continuous in both time and value There are no noise margins in analog! Digital Signals Signal level (value) only representable in fixed steps within a finite range Only know the signals value at distinct instants in time  Bandwidth is limited to a finite value Digital signals are discrete in time and value (they are a vector of values) Signal can be exactly identified in the presence of some amount of noise

Why Use Digital Signals? Pros Digital signals can be faithfully stored and copied Allows for numeric processing by digital computers (digital signal processing - DSP) Lossy and lossless data compression possible Can mathematically represent physically unrealizable systems Cons Cannot exactly represent or reconstruct the original analog signal Requires greater bandwidth (uncompressed)

Data Acquisition Systems Block Diagram Isolation/Buffering Amplification Bandwidth-limiting Sample and Hold Analog-to-Digital Converter (ADC) Shannon’s Sampling Theorem F S > 2F MAX Aliasing Must be prevented - it can not be detected in the data Anti-aliasing FiltersFilters

Data Acquisition Systems (cont) Quantization An ADC converts a continuous signal to a discrete digital value at each sample point. The ADC uses some scheme to map the analog value to a digital code. We will only discuss uniform (linear) quantization.uniform (linear) quantization Quantization Noise There is always uncertainty as to what the actual analog signal value was. This is manifested as quantization noise.

Types of ADCs Parallel (Flash) Converters Successive Approximation Converters Pipelined Converters Also other types Integrating (Dual-Slope) Converters  Slow, but noise immunity very good, can’t alias Sigma-delta Converters  Commonly used for high resolution (16-24 bits) audio signal conversion at 44.1KHz or higher  Dramatically reduce anti-aliasing filter requirements by oversampling

Digital to Analog Converters (DACs) Device Characteristics Coding scheme Output type and range Resolution Accuracy  Ideal DAC transfer characteristic Ideal DAC transfer characteristic  Errors Offset Gain Nonlinearity Latency and settling time Output glitching

Digital to Analog Converters (DACs) PWM DAC R-2R Ladder DAC Each input bit controls an analog switch Op amp converts current sum to voltage Reconstruction filters What was the value of the signal between the samples?

Waveform Generation DACs allow the generation of analog waveforms under digital control Example – generate sinusoid V OUT = V MAX sin(2πft) Calculate directly as a function of t Calculate as a function of the desired signal phase Use lookup table to obtain sin/cos values, use index as a phase accumulator Use complex vector rotation

ADuC7026 Analog Peripherals 12-channel, 12-bit successive approximation ADC operating at up to 1MS/s Bootloader code uses factory-programmed values to compensate for ADC gain and offset errors Four 12-bit voltage output DACs On-chip precision 2.5V voltage reference External capacitor required On-chip temperature sensor (+/-3°C)

Digital Filters We can implement filters digitally that operate on digital signals Advantages No temperature/aging/drift characteristics Repeatability Can create identical filters Implementation Finite Impulse Response  No feedback  Stability guaranteed Infinite Impulse Response  Uses feedback  Can be unstable

DSP Demos Hardware Quantization Aliasing FIR filter Audio Equalizer Audio Effects Echo Flanger Tremelo Frequency Translation Subharmonic Synthesis Karplus-Strong Guitar Synthesizer Vocoder

Wrapping Up Homework #7 will be due on Friday, December 14 th. Final Exam on Tuesday, December 18 th, at 5:05pm in room 2535, Engineering Hall. Coverage is over all course material.

Pipelined ADC Conversion is performed in stages by lower resolution (faster!) ADCs.

DSP Hardware TMS320C6713 DSP, 225MHz 1350 MFLOPs, 1800 MIPs TLC320AIC23 16-bit stereo CODEC 48KHz sample rate

Aliasing

Anti-aliasing Filters

Anti-aliasing Filters - Ideal

Anti-aliasing Filters - Practical

Uniform Quantization Error function

Ideal DAC Transfer Characteristic

DAC Errors – Offset Error

DAC Errors – Gain Error

DAC Errors – Nonlinearity Errors

Digital Filters

Reconstruction Filters Back to our sampled signal – a sinusoid at ¼F S How do we make the DAC output look like the original input?

PWM DAC Use PWM digital output driver LPF removes most of AC components

FIR Filter The output y is the sum of the products of the last m samples x and the filter coefficients h.

Audio Equalizer

Audio Effects - Echo

Audio Effects - Flanger The delay B is varied sinusoidally.

Audio Effects - Tremelo Error in diagram – audio signal comes in where the sine generator is shown, modulating sinusoid comes in on upper port.

Audio Effects – Frequency Translation

Audio Effects – Subharmonic Synthesis

Karplus-Strong Queue is filled with noise to start. Output is the sum of the two elements at the head of the queue multiplied by a decay factor. Output is fed back into the queue.

Vocoder Uses the frequency spectrum of one signal to control the frequency response of the other signal. Can also use white noise as the modulated signal.