APPLICATIONS OF DSP OBJECTIVES

Similar documents
EC 6501 DIGITAL COMMUNICATION UNIT - II PART A

Voice Transmission --Basic Concepts--

Overview of Code Excited Linear Predictive Coder

Communications Theory and Engineering

Department of Electronics and Communication Engineering 1

EE482: Digital Signal Processing Applications

The Channel Vocoder (analyzer):

DEPARTMENT OF INFORMATION TECHNOLOGY QUESTION BANK. Subject Name: Information Coding Techniques UNIT I INFORMATION ENTROPY FUNDAMENTALS

EE 225D LECTURE ON MEDIUM AND HIGH RATE CODING. University of California Berkeley

Digital Speech Processing and Coding

Speech Compression Using Voice Excited Linear Predictive Coding

Pulse Code Modulation (PCM)

2.1. General Purpose Run Length Encoding Relative Encoding Tokanization or Pattern Substitution

The Scientist and Engineer's Guide to Digital Signal Processing By Steven W. Smith, Ph.D.

QUESTION BANK. SUBJECT CODE / Name: EC2301 DIGITAL COMMUNICATION UNIT 2

EC 2301 Digital communication Question bank

Waveform Encoding - PCM. BY: Dr.AHMED ALKHAYYAT. Chapter Two

Understanding Digital Communication Principles.

techniques are means of reducing the bandwidth needed to represent the human voice. In mobile

A Novel Approach of Compressing Images and Assessment on Quality with Scaling Factor

Assistant Lecturer Sama S. Samaan

Microcomputer Systems 1. Introduction to DSP S

Pulse Code Modulation

Audio Signal Compression using DCT and LPC Techniques

Ap A ril F RRL RRL P ro r gra r m By Dick AH6EZ/W9

MASTER'S THESIS. Speech Compression and Tone Detection in a Real-Time System. Kristina Berglund. MSc Programmes in Engineering

PULSE CODE MODULATION (PCM)

QUESTION BANK EC 1351 DIGITAL COMMUNICATION YEAR / SEM : III / VI UNIT I- PULSE MODULATION PART-A (2 Marks) 1. What is the purpose of sample and hold

SOME PHYSICAL LAYER ISSUES. Lecture Notes 2A

Workspace for '6-pulse' Page 1 (row 1, column 1)

Fundamentals of Digital Communication

10 Speech and Audio Signals

CODING TECHNIQUES FOR ANALOG SOURCES

UNIT TEST I Digital Communication

IMPLEMENTATION OF G.726 ITU-T VOCODER ON A SINGLE CHIP USING VHDL

Hybrid Coding (JPEG) Image Color Transform Preparation

Communication Theory II


DIGITAL COMMUNICATION

ANALOGUE AND DIGITAL COMMUNICATION

Lecture Outline. Data and Signals. Analogue Data on Analogue Signals. OSI Protocol Model

ON-LINE LABORATORIES FOR SPEECH AND IMAGE PROCESSING AND FOR COMMUNICATION SYSTEMS USING J-DSP

Page 0 of 23. MELP Vocoder

Overview of Digital Mobile Communications

Class 4 ((Communication and Computer Networks))

speech signal S(n). This involves a transformation of S(n) into another signal or a set of signals

Speech Synthesis; Pitch Detection and Vocoders

Chapter 9 Image Compression Standards

Telecommunication Electronics

Speech Coding Technique And Analysis Of Speech Codec Using CS-ACELP

Adaptive time scale modification of speech for graceful degrading voice quality in congested networks

Downloaded from 1

CHAPTER 3 Syllabus (2006 scheme syllabus) Differential pulse code modulation DPCM transmitter

Lesson 8 Speech coding

Systems for Audio and Video Broadcasting (part 2 of 2)

Analog and Telecommunication Electronics

Analysis/synthesis coding

ece 429/529 digital signal processing robin n. strickland ece dept, university of arizona ECE 429/529 RNS

Syllabus. osmania university UNIT - I UNIT - II UNIT - III CHAPTER - 1 : INTRODUCTION TO DIGITAL COMMUNICATION CHAPTER - 3 : INFORMATION THEORY

Digital Communication (650533) CH 3 Pulse Modulation

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

Vocoder (LPC) Analysis by Variation of Input Parameters and Signals

Digital Audio. Lecture-6

Compression. Encryption. Decryption. Decompression. Presentation of Information to client site

Cellular systems & GSM Wireless Systems, a.a. 2014/2015

Compression and Image Formats

Voice Excited Lpc for Speech Compression by V/Uv Classification

Chapter IV THEORY OF CELP CODING

ECE 556 BASICS OF DIGITAL SPEECH PROCESSING. Assıst.Prof.Dr. Selma ÖZAYDIN Spring Term-2017 Lecture 2

Mel Spectrum Analysis of Speech Recognition using Single Microphone

UNIT-1. Basic signal processing operations in digital communication

CHAPTER 4. PULSE MODULATION Part 2

EXPERIMENT WISE VIVA QUESTIONS

EEE 309 Communication Theory

Comparison of CELP speech coder with a wavelet method

Chapter-3 Waveform Coding Techniques

S.R.M. Institute of Science & Technology School of Electronics & Communication Engineering

Data Encoding g(p (part 2)

Speech Synthesis using Mel-Cepstral Coefficient Feature

UNEQUAL POWER ALLOCATION FOR JPEG TRANSMISSION OVER MIMO SYSTEMS. Muhammad F. Sabir, Robert W. Heath Jr. and Alan C. Bovik

Introduction. Prof. Lina Karam School of Electrical, Computer, & Energy Engineering Arizona State University

Speech Coding using Linear Prediction

Multiplexing Concepts and Introduction to BISDN. Professor Richard Harris

Introduction to Digital Communications System

Components for Signal Compression

Chapter-1: Introduction

CSCD 433 Network Programming Fall Lecture 5 Physical Layer Continued

Physical Layer: Outline

Amplitude Modulated Systems

Module 6 STILL IMAGE COMPRESSION STANDARDS

Advanced Digital Communication Trainer

Robust Linear Prediction Analysis for Low Bit-Rate Speech Coding


Adaptive Filters Application of Linear Prediction

Ch. 3: Image Compression Multimedia Systems

Waveform Coding Algorithms: An Overview

L19: Prosodic modification of speech

Voice mail and office automation

COMPUTER COMMUNICATION AND NETWORKS ENCODING TECHNIQUES

An Interactive Multimedia Introduction to Signal Processing

Transcription:

APPLICATIONS OF DSP OBJECTIVES This lecture will discuss the following: Introduce analog and digital waveform coding Introduce Pulse Coded Modulation Consider speech-coding principles Introduce the channel vocoder as an example of speech coding Consider image coding principles Briefly examine video, JPEG and MPEG compression techniques

Encoding of Waveforms Encoding of Waveforms to Compress Information Data Speech Image Encoding of Speech Signals Vocoders Makes use of special properties of speech Periodicity Distinction between voiced and unvoiced sounds Image Encoding Makes use of suitable transforms Uses special techniques Transmits only the difference between image frames Combines speech and image coding for video

Analog Waveform Encoding x(t) Observe Original Signal t PAM t PWM t PPM Amplitude of a train of pulses is modulated: Pulse Amplitude Signal Amplitude Width of a train of pulses is modulated: Pulse Width Signal Amplitude Position of a train of pulses is modulated: Pulse Position Signal Amplitude t

Pulse Coded Modulation (PCM) Digital Waveform Coding x(t) y(t) 1 0 0 1 1 1 1 0 1 0 1 1 t PCM Pulse Coded Modulation Samples are digitized to n bits (this example uses 3 bits) Using more bits increases accuracy PCM has a significant DC component Modulating onto higher frequency carrier reduces DC component t Other PCM Schemes Delta Modulation (DM) Differential PCM (DPCM) Adaptive DPCM (ADPCM) PCM = Any Analog to Digital conversion where the result is a serial bit stream. Several methods of converting and transmitting PCM exist. DSPs are ideal for implementing most PCM schemes

Speech Coding Vocoders Speech vocoders exploit special properties of speech Vocal Tract = Acoustic Tube Voiced sounds are periodic in nature, e.g., A, E sounds Unvoiced sounds are like random noise, e.g., S, F sounds Aim for maximum possible compression Understandable but not 100% faithful reproduction A Typical Vocoder Synthesis PITCH PERIODIC EXCITATION RANDOM NOISE x VOCAL- TRACT MODELER TIME - VARYING FILTER SPEECH GAIN

Channel Vocoder Coder BANDPASS FILTER 1 RECTIFIER LOWPASS FILTER SPEECH IN ADC BANDPASS FILTER 16 RECTIFIER LOWPASS FILTER MUX CODED OUTPUT PITCH DETECTOR Speech is split into subbands for spectral envelope detection Envelope detection aids vocal tract modeling Pitch detector estimates the frequency and aids in distinguishing voiced and unvoiced segments Outputs are multiplexed to produce coded speech signal

Channel Vocoder - Synthesis CODED INPUT DE- MUX X X RANDOM NOISE PULSE SOURCE BANDPASS FILTER BANDPASS FILTER + SPEECH DAC PITCH Pitch information switches between Voiced - Pulse Source and Unvoiced - Random Noise sounds Pitch produces correct frequency for voiced sounds DSP is the ideal medium for implementing vocoders Filters may be implemented efficiently Speech spectrum can be analyzed easily Vocal tract can be modeled easily

Image Coding Bandwidth required for current TV Image Resolution NTSC: 484 x 427 pixels, 29.94 Hz frame rate PAL: 580 x 425 pixels, 25 Hz frame rate Screen has 4:3 aspect ratio Frames are interlaced to reduce flicker Black and white bandwidth NTSC: 0.5 x 484 x 427 x 29.94 = 3.1 M Hz PAL: 0.5 x 580 x 425 x 25 = 3.1 M Hz

Bandwidth for TV White Pixel For black and white picture, bandwidth required is approximately 3 MHz A Black Pixel 3 MHz 3 6 MHz Each pixel represents one sample so the required bandwidth is 6 MHz for a horizontal resolution of 3 MHz For color pictures, basic rate is about 150 MBits per second

Transform Coding Transform coding of images reduces bandwidth requirements Most of the information in a picture is at low frequencies Transform coders preserve information at low frequencies Ignoring transformed signals with small coefficients Reduces bandwidth required Does not significantly degrade picture quality FFT is not very useful because it produces imaginary components Discrete cosine transform (DCT) is very popular in image processing Image is divided into 8x8 element blocks and each block is individually transformed A full-screen color image requires 200 Mbit/s channel By using transforms and SPCM, the same image can be transmitted over a 34 Mbit/s channel The resulting reduction is approximately 6 times Huffman coding may be used on transformed signals to further reduce the bandwidth requirements

Video Compression PRESENT FRAME VIDEO IN + Σ DCT HUFFMAN CODER COEFFICIENT VALUES MOTION DETECTOR PREVIOUS FRAME STORE IMAGE REGENERATION DISPLACEMENT VECTORS H Series standards are most popular for video compression H.261 and H.320 standards describe compression algorithms H Series Coding: Simplified Diagram of H.261 Coder The difference between present and previous frames is transformed with DCT, Huffman coded and transmitted Motion detector produces displacement vectors indicating direction and displacement of movement between previous and present frame

Video Decompression COEFFICIENT VALUES IDCT DISPLACEMENT VECTORS FRAME STORE + Σ + DECODED PICTURE Simplified Block Diagram of H.261 Decoder H Series standards allow manufacturers to design for different applications with different performance levels Videoconferencing systems Videophones H.261 and more recent H.320 standards are computationally intensive DSPs provide the best implementation platform

Joint Photographic Expert Group - JPEG PICTURE DCT QUANTIZER COEFFICIENT CODER HUFFMAN CODER ENCODED DATA Picture is transform-coded by DCT in 8x8 blocks Coefficients are quantized More bits are used for lower frequencies ensuring greater accuracy for higher information content Next stage codes and orders coefficients Finally, coefficients are Huffman encoded to reduce amount of data ENCODED DATA HUFFMAN DECODER COEFFICIENT DECODER INVERSE QUANTIZER IDCT DECODED PICTURE JPEG decoder reverses the coding process to produce a still picture

Moving Pictures Expert Group - MPEG MPEG coding is similar to H Series (H.320) and JPEG standards It is primarily aimed at digital storage media such as CD-ROM MOVING PICTURE DCT FORWARD/ BACKWARD PREDICTIVE CODING QUANTIZE HUFFMAN CODER ENCODED DATA Each frame is split into small blocks Blocks are transform-coded by DCT Coefficients are coded with one of the following: Forward or Backward predictive coding or a combination of both This scheme makes use of the similarity between the present frame and either the previous or the next frame Finally, blocks are quantized for transmission

Summary Variants of pulse coded modulation (PCM) are widely used in waveform encoding Speech coding makes use of its special properties such as: Periodicity of voiced sounds Exclusion of areas not detectable by human ear Digital images require an enormous amount of storage A single black and white TV frame needs approximately a quarter of a million bits Color frames need even more Image coders use transform coding FFT is not a suitable coder for images Discrete cosine transform (DCT) is used widely For moving images, coding systems exploit the similarity between frames Only changes to the previous frame are transmitted MPEG uses similarity to next as well as previous frame DSPs are ideal for medium implementation of most coding schemes