Digital Signal Processing. VO Embedded Systems Engineering Armin Wasicek WS 2009/10

Similar documents
The quality of the transmission signal The characteristics of the transmission medium. Some type of transmission medium is required for transmission:

Signal Characteristics

Qäf) Newnes f-s^j^s. Digital Signal Processing. A Practical Guide for Engineers and Scientists. by Steven W. Smith

DISCRETE FOURIER TRANSFORM AND FILTER DESIGN

AutoBench 1.1. software benchmark data book.

The Discrete Fourier Transform. Claudia Feregrino-Uribe, Alicia Morales-Reyes Original material: Dr. René Cumplido

Signal Processing. Naureen Ghani. December 9, 2017

DIGITAL SIGNAL PROCESSING WITH VHDL

Linear Systems. Claudia Feregrino-Uribe & Alicia Morales-Reyes Original material: Rene Cumplido. Autumn 2015, CCC-INAOE

Laboratory Assignment 4. Fourier Sound Synthesis

Application of Fourier Transform in Signal Processing

REAL TIME DIGITAL SIGNAL PROCESSING. Introduction

Performance Analysis of FIR Filter Design Using Reconfigurable Mac Unit

Keywords: Adaptive filtering, LMS algorithm, Noise cancellation, VHDL Design, Signal to noise ratio (SNR), Convergence Speed.

SIGMA-DELTA CONVERTER

II Year (04 Semester) EE6403 Discrete Time Systems and Signal Processing

Lecture 20: Mitigation Techniques for Multipath Fading Effects

Overview. Lecture 3. Terminology. Terminology. Background. Background. Transmission basics. Transmission basics. Two signal types

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

System analysis and signal processing

Implementation of FPGA based Design for Digital Signal Processing

Presentation Outline. Advisors: Dr. In Soo Ahn Dr. Thomas L. Stewart. Team Members: Luke Vercimak Karl Weyeneth. Karl. Luke

TE 302 DISCRETE SIGNALS AND SYSTEMS. Chapter 1: INTRODUCTION

Digital Filters IIR (& Their Corresponding Analog Filters) Week Date Lecture Title

Digital Filters - A Basic Primer

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

Signals A Preliminary Discussion EE442 Analog & Digital Communication Systems Lecture 2

Data Communication. Chapter 3 Data Transmission

DFT: Discrete Fourier Transform & Linear Signal Processing

(i) Understanding the basic concepts of signal modeling, correlation, maximum likelihood estimation, least squares and iterative numerical methods

y(n)= Aa n u(n)+bu(n) b m sin(2πmt)= b 1 sin(2πt)+b 2 sin(4πt)+b 3 sin(6πt)+ m=1 x(t)= x = 2 ( b b b b

Biomedical Signals. Signals and Images in Medicine Dr Nabeel Anwar

Lecture Fundamentals of Data and signals

Performance Analysis of FIR Digital Filter Design Technique and Implementation

Signals and Systems Using MATLAB

Signal processing preliminaries

ECE438 - Laboratory 7a: Digital Filter Design (Week 1) By Prof. Charles Bouman and Prof. Mireille Boutin Fall 2015

GUJARAT TECHNOLOGICAL UNIVERSITY

Lecture 3 Review of Signals and Systems: Part 2. EE4900/EE6720 Digital Communications

Discrete Fourier Transform (DFT)

Mel Spectrum Analysis of Speech Recognition using Single Microphone

ESE531 Spring University of Pennsylvania Department of Electrical and System Engineering Digital Signal Processing

Signals. Continuous valued or discrete valued Can the signal take any value or only discrete values?

Signal Processing Toolbox

Real time digital audio processing with Arduino

Signals and Systems Lecture 9 Communication Systems Frequency-Division Multiplexing and Frequency Modulation (FM)

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

OFDM and FFT. Cairo University Faculty of Engineering Department of Electronics and Electrical Communications Dr. Karim Ossama Abbas Fall 2010

Design of FIR Filter for Efficient Utilization of Speech Signal Akanksha. Raj 1 Arshiyanaz. Khateeb 2 Fakrunnisa.Balaganur 3

McGraw-Hill Irwin DIGITAL SIGNAL PROCESSING. A Computer-Based Approach. Second Edition. Sanjit K. Mitra

Digital Filters Using the TMS320C6000

Design of FIR Filters

Digital Filters FIR and IIR Systems

DSP Filter Design for Flexible Alternating Current Transmission Systems

Modulation is the process of impressing a low-frequency information signal (baseband signal) onto a higher frequency carrier signal

Applied Electronics II

EE 470 Signals and Systems

The Fundamentals of Mixed Signal Testing

Signals and Filtering

Audio /Video Signal Processing. Lecture 1, Organisation, A/D conversion, Sampling Gerald Schuller, TU Ilmenau

Digital Signal Processing

Advanced Digital Signal Processing Part 2: Digital Processing of Continuous-Time Signals

Lab 8. Signal Analysis Using Matlab Simulink

DIGITAL FILTERING OF MULTIPLE ANALOG CHANNELS

F I R Filter (Finite Impulse Response)

Overview of Digital Signal Processing

Experiment 2 Effects of Filtering

THE BENEFITS OF DSP LOCK-IN AMPLIFIERS

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

Understanding Digital Signal Processing

Overview of Signal Processing

Channelization and Frequency Tuning using FPGA for UMTS Baseband Application

Digital Signal Processing

Chapter 2 Overview - 1 -

Chapter 2 Overview - 1 -

B.Tech III Year II Semester (R13) Regular & Supplementary Examinations May/June 2017 DIGITAL SIGNAL PROCESSING (Common to ECE and EIE)

DSP Laboratory (EELE 4110) Lab#10 Finite Impulse Response (FIR) Filters

Chapter 3 Data and Signals 3.1

Sampling and Reconstruction of Analog Signals

Concordia University. Discrete-Time Signal Processing. Lab Manual (ELEC442) Dr. Wei-Ping Zhu

SAMPLING THEORY. Representing continuous signals with discrete numbers

EE 351M Digital Signal Processing

Chapter 9. Chapter 9 275

Microcomputer Systems 1. Introduction to DSP S

Analog and Telecommunication Electronics

Application Note (A12)

Corso di DATI e SEGNALI BIOMEDICI 1. Carmelina Ruggiero Laboratorio MedInfo

two computers. 2- Providing a channel between them for transmitting and receiving the signals through it.

Topic. Filters, Reverberation & Convolution THEY ARE ALL ONE

MATLAB for Audio Signal Processing. P. Professorson UT Arlington Night School

Lesson 7. Digital Signal Processors

1/14. Signal. Surasak Sanguanpong Last updated: 11 July Signal 1/14

Analog and Telecommunication Electronics

EMBEDDED DOPPLER ULTRASOUND SIGNAL PROCESSING USING FIELD PROGRAMMABLE GATE ARRAYS

HARDWARE IMPLEMENTATION OF LOCK-IN AMPLIFIER FOR NOISY SIGNALS

DSP Laboratory (EELE 4110) Lab#11 Implement FIR filters on TMS320C6711 DSK.

Lab 3 FFT based Spectrum Analyzer

Chapter 2 Analog-to-Digital Conversion...

Biosignal filtering and artifact rejection. Biosignal processing, S Autumn 2012

SCUBA-2. Low Pass Filtering

Transcription:

Digital Signal Processing VO Embedded Systems Engineering Armin Wasicek WS 2009/10

Overview Signals and Systems Processing of Signals Display of Signals Digital Signal Processors Common Signal Processing Tasks Summary and Outlook 2

Definition Signals and Systems A (discrete real-time) Signal is a sequence of integers representing the amplitude value of a physical variable over time or another physical variable. A System is which can record, replay, display, or transmit a signal. Systems produce new signals of representations of signals. 3

Characteristics of a Signal Amplitude A : Magnitude of change in the oscillating variable Frequency f : Number of oscillations per unit of time Phase θ : Offset in the displacement from a specified reference point 4

Transmission of Signals A carrier signal is a transmitted electromagnetic pulse or wave at a steady base frequency of alternation on which information can be imposed by increasing signal strength, varying the base frequency, varying the wave phase, or other means. Modulation: Amplitude modulation involves altering the amplitude of a sinusoidal voltage waveform by the source information, Frequency modulation changes the frequency. Phase modulation changes the phase of the carrier signal. 5

Amplitude modulation Amplitude modulation varies the strength of the transmitted signal in relation to the information being sent. Applications: Audio, radio 6

Frequency modulation Frequency modulation varies the sine-wave carrier by an amount proportional to the magnitude of the modulating wave. Applications: Audio, radio 7

Phase modulation Phase modulation changes the phase of a periodic carrier signal is changed in accordance with the information signal Applications: remote control 8

Noise Noise is a disturbance, especially a random and persistent disturbance, that obscures or reduces the clarity of a signal. The effects of noise create signal loss and distortion. This is impossible to recover, since amplifying the signal to recover attenuated parts of the signal amplifies the noise (distortion/interference) as well. In digital technology, noise is meaningless for the generation, duplication and storage of information. 9

Overview Signals and Systems Processing of Signals Display of Signals Digital Signal Processors Common Signal Processing Tasks Summary and Outlook 10

Signal Processing Tasks System Analysis Known: System and Input Unknown: Output System Synthesis Known: Input and Output Unknown: System Measurement Known: System and output Unknown: Input 11

Filter Any device (system) used to reject signals or certain frequencies within a signal while allowing others to pass. Low pass filter: passes low-frequency signals but attenuates (reduces the amplitude of) signals with frequencies higher than the cutoff frequency. High pass filter: passes high-frequency signals but attenuates signals with frequencies lower than the cutoff frequency. Band pass filter: is a combination of both. 12

Finite-Impulse Response Filter (FIR) The impulse response of an Nth order FIR filter lasts for N+1 samples, and then dies to zero x[n] is the input signal, y[n] is the output signal, b i are the filter coefficients, and N is the filter order an Nth-order filter has (N + 1) terms on the right-hand side; these are commonly referred to as taps. 2nd order moving average FIR 13

Infinite-Impulse Response Filter IIR systems have an impulse response function that is non zero over an infinite length of time Internal feedback and may continue to respond indefinitely In actual practice, no more than about a dozen recursion coefficients can be used or the filter becomes unstable (i.e., the output continually increases or oscillates) 14

Overview Signals and Systems Processing of Signals Display of Signals Digital Signal Processors Common Signal Processing Tasks Summary and Outlook 15

Fourier Transform Creates a frequency domain representation of a section of an input signal Fourier transform decomposes a function into oscillatory functions Discrete Fourier transform (DFT) simpler Fast Fourier Transform (FFT) more efficient Result of FT are magnitude and phase of each frequency component; represented as a 2-dimensional vector or a complex number Inversion is the ifft; algorithms the same, but with other coefficients 16

Frequency Spectrum 17

Overview Signals and Systems Processing of Signals Display of Signals Digital Signal Processors Common Signal Processing Tasks Summary and Outlook 18

Advantages of Digital Technology Long-time and temperature stability High exactness with big data word sizes Reproducibility, similarly assembled hardware systems will have similar properties Adjustments made easily High reliability Low interference liability 19

Disadvantages of Digital Technology Number of circuit elements is higher Finite number of states can be represented Loss of information due to A/D conversion Analog user interfaces are better human readable 20

Digital Signal Processors (DSP) Digital signal processing algorithms typically require a large number of mathematical operations to be performed quickly on a set of data. DSP operation must complete within some time constraint. General-purpose microprocessors are not suitable for application of mobile telephone and pocket PDA systems etc. because of power supply and space limit. Specialized DSPs provide a lower-cost solution and better performance 21

DSP Architecture features Processor architecture optimized for data throughput Mostly Harvard (separate instruction and data memory) or Dual Harvard (1 instruction, 2 data memories) architectures Caches have minor relevance (they push peak performance) Very Large Instruction Word (VLIW) instruction encodes multiple operations Can address, e.g., 2 mac, 2 alu, 2 load store units Zero overhead loops / hardware counted loops for(i=0;i<n;i++) type loops increment is computed in processor Modulo addressing (for circular buffers) 22

Coding filter algorithms Generic implementations of all kinds of filter algorithms exist Code is parameterized by means of coefficients Coefficients can be computed by software function lowpass(real[0..n] x, real dt, real RC) var real[0..n] y var real a:= dt / (RC + dt) y[0] := x[0] for i from 1 to n y[i] := a* x[i] + (1 a) * y[i 1] return y 23

Generated Filter Code Signal values relevant for filter (window) are stored in xv Coefficients are stored in an array (xcoeffs) First loop slides window and inserts new input value Second loop computes FIR filter function Sum is the output value #define NZEROS 2 #define GAIN 1.984375000e+00 static float xv[nzeros+1]; static float xcoeffs[] = { +0.9921875000, +0.0000000000, 0.9921875000, }; static void filterloop() { for (;;) { float sum; for (int i = 0; i < NZEROS; i++) xv[i] = xv[i+1]; xv[nzeros] = next input value / GAIN; sum = 0.0; for (i = 0; i<= NZEROS; i++) sum += (xcoeffs[i] * xv[i]); next output value = sum; } } 24

Overview Signals and Systems Processing of Signals Display of Signals Digital Signal Processors Common Signal Processing Tasks Summary and Outlook 25

Application overview Statistical signal processing: analyzing and extracting information from signals based on their statistical properties Audio signal processing: for electrical signals representing sound, such as speech or music Speech signal processing: for processing and interpreting spoken words Image processing: in digital cameras, computers, and various imaging systems Video processing: for interpreting moving pictures Array processing: for processing signals from arrays of sensors Filtering: used in many fields to process signals 26

Digital Signal Processing in ESE LU Example 3: Signal Analysis with TTP/A 27

Overview Signals and Systems Processing of Signals Display of Signals Digital Signal Processors Common Signal Processing Tasks Summary and Outlook 28

Summary Signal, system, modulation Filters (FIR, IIR) Fourier Transform Advantages and disadvantages of digital technology Coding filter algorithms 29

References AVR223: Digital Filters with AVR http://www.atmel.com/dyn/resources/prod_documents/doc2527.pdf http://www.atmel.com/dyn/resources/prod_documents/avr223.zip Filter design coefficients http://www-users.cs.york.ac.uk/~fisher/mkfilter/ Presentation pictures most at http://www.wikipedia.org 30

THE END Thanks for your attention! 31

Frequency Filters Filters are frequency-dependent frequency response stopband 32