Introduction ADSP
description
Transcript of Introduction ADSP
-
Slide 1Semester I 10/11
ADVANCED DIGITAL SIGNAL PROCESSING
Dr Mohammad Faiz Liew bin Abdullah
Department of Communication
Faculty of Electrical & Electronic Engineering University Tun Hussien Onn Malaysia
-
Slide 2Semester I 10/11
Contents
What is DSP? What is DSP used for?
Speech & Audio processing Image & Video processing Adaptive filtering
DSP Devices and Architectures Summary & Conclusions
-
Slide 3Semester I 10/11
INTRODUCTION
-
Slide 4Semester I 10/11
What is DSP?
Digital Signal Processing the processing or manipulation of signals using digital techniques
ADC DACDigital Signal
ProcessorAnalogue to Digital Converter
Digital to Analogue Converter
Input Signal
Output Signal
-
Slide 5Semester I 10/11
DSP
-
Slide 6Semester I 10/11
WHY PROCESS SIGNAL?
Signals are corrupted by interference due to noise.
Signals are distorted due to the transmission medium.
Recover information present in the signal. Perform algorithm such as compression.
-
Slide 7Semester I 10/11
HISTORICAL CONTRIBUTORS
-
Slide 8Semester I 10/11
SIGNAL PROCESSING
Signal Processing
Analog Digital
V1(t) V2 (t)
i(t)
-
Slide 9Semester I 10/11
ADVANTAGES & DISADVANTAGES OF DSP
Advantages:
Programmability. Stability.
Repeatability.
Easier implementation of adaptive algorithms.
Disadvantage:
Bandwidth limitation related to the processor cycle and algorithm complexity.
-
Slide 10Semester I 10/11
PROCESSING METHODOLOGY
HARDWARE SOFTWARE
PC
FPGA DSP PROCESSOR
ASIC MICROPROCESSOR MICROCONTROLLER
-
Slide 11Semester I 10/11
-
Slide 12Semester I 10/11
What is DSP Used For?
And much more!And much more!
-
Slide 13Semester I 10/11
APPLICATION OF DSP
MULTIMEDIA
COMMUNICATION SPEECH
POWER BIOMEDICAL
OCEONOGRAPHIC SEISMIC APPLICATION DSP
SONAR IMAGE/VIDEO
RADAR AEROSPACE
INDUSTRIAL
-
Slide 14Semester I 10/11
-
Slide 15Semester I 10/11
Speech Processing
Speech coding/compression Speech synthesis Speech recognition
-
Slide 16Semester I 10/11
Some Properties of Speech
The blue--- s---p--o---------t i-s--on--the-- k--ey a---g--ai----n------
oo in blueo in spotee in keye in agains in spotk in key
-
Slide 17Semester I 10/11
Some Properties of Speech
ee in keyo in spotoo in blue e in again
Vowels
s in spot k in key
Consonants
Quasi-periodic
Relatively high signal power
Non-periodic (random)
Relatively low signal power
-
Slide 18Semester I 10/11
Speech Coding
BTS
BSC
MSC
TRAU
64 kbits/s
13 kbits/s
22.8 kbits/s
-
Slide 19Semester I 10/11
Speech Coding Linear Prediction
A(z)
s(n)+ d(n)
se(n)
d(n)
A(z)
++
se(n)
sr(n)
Try to predict the current sample value; Transmit the prediction error.
-
Slide 20Semester I 10/11
Speech Coding Vocoder
G
Pulse Train
Random Noise
Vocal TractModel
V/U
Synthesized Speech
Decoder
Original Speech
Analysis: Voiced/Unvoiced decision Pitch Period (voiced only) Signal power (Gain)
Signal PowerPitch
Period
Encoder
LPC-10:
-
Slide 21Semester I 10/11
To be ornot to bethat is thequestion
Textnormalizationexpandsabbreviationsdates, times,money..etc
Parsing Pronunciation
Prosodyrules
Tu bee awrnawt tu beedhat iz dhekwestchun
semantic &syntactic partsof speechanalysis of text
phonetic descriptionof each word, dictionarywith letter-to-sound rules as a back up
Waveformgeneration
Synthesized speech
Apply wordstress, durationand pitch
Phonetic-to-acoustictransformation
phonetic formInputtext
Text-to-Speech Synthesis
Text-to-speech synthesis sounds very natural these days.
-
Slide 22Semester I 10/11
Speech Synthesis Applications
Speaking clocks Spoken (variable) announcements Talking emails + talking heads for mobile Synthesis of location-based information
(e.g. traffic information) Interactive systems (e.g. catalogue ordering,
Yellow Pages, ...)
-
Slide 23Semester I 10/11
Speech/Speaker Recognition Speech Recognition What has been spoken?
Speaker dependent Recognition system trained for a particular persons voice.
Speaker independent Recognition system expected to deal with a wide variety of speakers.
Speaker Recognition Who has spoken? Not easy
Sometimestherearenogapsbetweenwords.Sometim esthereareg aps inthe mid dleofwords.
Accents, dialects and Stress eggsist.
-
Slide 24Semester I 10/11
Speech Recognition System
Featureextractionspeech
Phoneme recognition
Phonememodels
Sentencerecognition
Wordrecognition
Wordpronunciation
Semanticknowledge
decision
Syntacticknowledge
Dialogueknowledge
-
Slide 25Semester I 10/11
Digital Audio
Standard music CD: Sampling Rate: 44.1 kHz 16-bit samples 2-channel stereo Data transfer rate = 21644,100 = 1.4 Mbits/s 1 hour of music = 1.43,600 = 635 MB
-
Slide 26Semester I 10/11
Audio Coding (Contd)
Key standards: MPEG: Layers I, II, and III (MP3); AAC.
used in DAB, DVD
Dolby AC3, Dolby Digital, Dolby Surround. Typical bit rates for 2-channel stereo:
64kbits/s to 384 kbits/s. Subband- or transform-based, making use
of perceptual masking properties.
-
Slide 27Semester I 10/11
Audio Coding (Contd)
5.1 channels (3/2) with LFE channel: Left, Right, Centre, Left Surround, Right Surround, Low Frequency Effects (LFE) (Reduced Bandwidth).
LFE loudspeaker can, in general, be placed anywhere in the listening room.
Typical 3/2 multichannel stereo configuration:Right Surround Right
Surround Left
Centre
Left
-
Slide 28Semester I 10/11
Audio Coding Masking Auditory Masking:
Spectral: Strong frequency components mask weaker neighbouring frequency components.
Temporal: Strong temporal events mask recent and future events.
SPL/dB
10ms 160ms
Temporal Masking
timefreq/kHz1
SPL/dB
Spectral Masking
-
Slide 29Semester I 10/11
200 300 400 500 600 700 80010
20
30
40
50
60
Hz
dB
Masking Example
-
Slide 30Semester I 10/11
Image/Video
Still Image Coding: JPEG (Joint Photographic Experts Group):
Discrete Cosine Transform (DCT) based
JPEG2000: Wavelet Transform based
Video Coding: MPEG (Moving Pictures Experts Group):
DCT-based, Interframe and intraframe prediction, Motion estimation.
Applications: Digital TV, DVD, etc.
-
Slide 31Semester I 10/11
JPEG ExampleOriginal
JPEG (100:1)JPEG (4:1)
-
Slide 32Semester I 10/11
Adaptive Filtering
Self-learning: Filter coefficients adapt in response to training signal.
W(z) +x(n)
y(n)e(n)
d(n)
)()(2)()1( nnenn xww +=+
Filter update: Least Mean Squares (LMS) algorithm
-
Slide 33Semester I 10/11
Adaptive Filtering Applications
Echo cancellation (telephone lines) Used in modems (making Internet access possible!!)
Acoustic echo cancellation Hands-free telephony
Adaptive equalization Active noise control Medical signal processing
e.g. foetal heart beat monitoring
-
Slide 34Semester I 10/11
Some Other Application Areas Image analysis, e.g:
Face recognition, Optical Character Recognition (OCR);
Restoration of old image, video, and audio signals; Analysis of RADAR data; Analysis of SONAR data; Data transmission (modems, radio, echo
cancellation, channel equalization, etc.); Storage and archiving; Control of electric motors.
-
Slide 35Semester I 10/11
DSP Devices & Architectures
Selecting a DSP several choices: Fixed-point; Floating point; Application-specific devices
(e.g. FFT processors, speech recognizers,etc.).
Main DSP Manufacturers: Texas Instruments (http://www.ti.com) Motorola (http://www.motorola.com) Analog Devices (http://www.analog.com)
-
Slide 36Semester I 10/11
Typical DSP Operations
Filtering Energy of Signal Frequency transforms
==
1
0)()(
L
ii inxany
for (n=0; n
-
Slide 37Semester I 10/11
Traditional DSP Architecture
X RAM Y RAM
Multiply/Accumulate
Accumulator
x(n-i) ai
y(n)
N.B. Most modern DSPs have more advanced features.
-
Slide 38Semester I 10/11
SDC Core Skills
System Integration
System modelling
DSP
Speech Testing
Speech enhancement
Speech synthesis
Speech Recognition
Speech
PerformanceAssessment
MP3
Audio
Channel coding
Baseband processing
Mobile
Computer &
Networking
CAD Tools
Administration
Services
System on Chip (SoC)
Firmware design
AMR Coding
Speech compression
CPU (Oak, ARM)
H/w & S/w Co-design
Other digital audio
-
Slide 39Semester I 10/11
SDC Firmware DevelopmentAlgorithm Definition
Floating-point and
Fixed-pointCo-Simulation
Co-Design
Implementation Co-Verification
COSSAPMatlab ...
Product Development
Behavioural, RTL, Logic ...
With Barcelona and TokyoDesign Centres
MCU, DSP ...
-
Slide 40Semester I 10/11
Summary & Conclusions
DSP used in a wide range of everyday applications Looked at:
Speech coding; Speech synthesis & recognition; Image/Video; Adaptive filtering.
Other areas include: Image analysis (e.g. face recognition, OCR, etc.); RADAR/SONAR; Data transmission and reception; And many more..!!