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

Similar documents
EEE 309 Communication Theory

Pulse Code Modulation

UNIT TEST I Digital Communication

EEE 309 Communication Theory

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

CHAPTER 4. PULSE MODULATION Part 2

EEE482F: Problem Set 1

Voice Transmission --Basic Concepts--

Digital Communication (650533) CH 3 Pulse Modulation

Data Encoding g(p (part 2)

Communications IB Paper 6 Handout 3: Digitisation and Digital Signals

Communications I (ELCN 306)

DIGITAL COMMUNICATION

EITF25 Internet Techniques and Applications L2: Physical layer. Stefan Höst

CODING TECHNIQUES FOR ANALOG SOURCES

Pulse Code Modulation

Class 4 ((Communication and Computer Networks))

Analog and Telecommunication Electronics

Time division multiplexing The block diagram for TDM is illustrated as shown in the figure

In this lecture. System Model Power Penalty Analog transmission Digital transmission

Department of Electronics and Communication Engineering 1

Telecommunication Electronics

Fundamentals of Digital Communication

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

Pulse Code Modulation (PCM)

Annex. 1.3 Measuring information

Physical Layer. Networks: Physical Layer 1

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

Islamic University of Gaza. Faculty of Engineering Electrical Engineering Department Spring-2011

PULSE CODE MODULATION (PCM)

Digital Audio. Lecture-6

Communications and Signals Processing


Stream Information. A real-time voice signal must be digitized & transmitted as it is produced Analog signal level varies continuously in time

Chapter-3 Waveform Coding Techniques

BSc (Hons) Computer Science with Network Security, BEng (Hons) Electronic Engineering. Cohorts: BCNS/17A/FT & BEE/16B/FT

Comm 502: Communication Theory. Lecture 4. Line Coding M-ary PCM-Delta Modulation

Chapter 3 Pulse Modulation

10 Speech and Audio Signals

Sampling and Pulse Code Modulation Chapter 6

CSCD 433 Network Programming Fall Lecture 5 Physical Layer Continued

CSCD 433 Network Programming Fall Lecture 5 Physical Layer Continued


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

Communication Theory II

CT111 Introduction to Communication Systems Lecture 9: Digital Communications

YEDITEPE UNIVERSITY ENGINEERING FACULTY COMMUNICATION SYSTEMS LABORATORY EE 354 COMMUNICATION SYSTEMS

EE390 Final Exam Fall Term 2002 Friday, December 13, 2002

Downloaded from 1

UNIT-1. Basic signal processing operations in digital communication

Fundamentals of Data and Signals

Signal Encoding Techniques

EXPERIMENT 4 PULSE CODE MODULATION

Music 270a: Fundamentals of Digital Audio and Discrete-Time Signals

APPLICATIONS OF DSP OBJECTIVES

VARDHAMAN COLLEGE OF ENGINEERING (AUTONOMOUS) Affiliated to JNTUH, Hyderabad ASSIGNMENT QUESTION BANK

Chapter 2. Physical Layer

DIGITAL COMMUNICATIONS LAB

QUESTION BANK SUBJECT: DIGITAL COMMUNICATION (15EC61)

EC6501 Digital Communication


Basic Concepts in Data Transmission

ENGR 4323/5323 Digital and Analog Communication

Review of Lecture 2. Data and Signals - Theoretical Concepts. Review of Lecture 2. Review of Lecture 2. Review of Lecture 2. Review of Lecture 2

Multiplexing Concepts and Introduction to BISDN. Professor Richard Harris

Differential Pulse Code Modulation (DPCM)

Chapter 4 Digital Transmission 4.1

EE107 Communication Systems. Introduction

ITM 1010 Computer and Communication Technologies

DIGITAL COMMUNICATION

Chapter 3 Data and Signals

EXPERIMENT WISE VIVA QUESTIONS

Chapter Two. Fundamentals of Data and Signals. Data Communications and Computer Networks: A Business User's Approach Seventh Edition

Media Devices: Audio. CTEC1465/2018S Computer System Support

EC 6501 DIGITAL COMMUNICATION UNIT - II PART A

CS441 Mobile & Wireless Computing Communication Basics

ECE 435 Network Engineering Lecture 16

Communication Theory II

University of Swaziland Faculty of Science Department of Electrical and Electronic Engineering Main Examination 2016

CMPT 318: Lecture 4 Fundamentals of Digital Audio, Discrete-Time Signals

TE 302 DISCRETE SIGNALS AND SYSTEMS. Chapter 1: INTRODUCTION

Continuous vs. Discrete signals. Sampling. Analog to Digital Conversion. CMPT 368: Lecture 4 Fundamentals of Digital Audio, Discrete-Time Signals

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

ANALOG-TO-DIGITAL CONVERTERS

Real-Time Application of DPCM and ADM Systems

6. has units of bits/second. a. Throughput b. Propagation speed c. Propagation time d. (b)or(c)

Chapter-1: Introduction

18.8 Channel Capacity

Signal Characteristics

QUESTION BANK (VI SEM ECE) (DIGITAL COMMUNICATION)

FYS3240 PC-based instrumentation and microcontrollers. Signal sampling. Spring 2015 Lecture #5

ANALOGUE AND DIGITAL COMMUNICATION

SEN366 Computer Networks

ECE 4600 Communication Systems

Sampling and Reconstruction of Analog Signals

CARLETON UNIVERSITY Department of Systems and Computer Engineering

Lecture 3 Concepts for the Data Communications and Computer Interconnection

Contents Preview and Introduction Waveform Encoding

UNIT I Source Coding Systems

Lecture 3: Data Transmission

Transcription:

Chapter Two Layout: 1. Introduction. 2. Pulse Code Modulation (PCM). 3. Differential Pulse Code Modulation (DPCM). 4. Delta modulation. 5. Adaptive delta modulation. 6. Sigma Delta Modulation (SDM). 7. Linear Predictive Coder (LPC). 8. MATLAB programs. 10 Hrs. 1

Lecture Five Pulse Code Modulation (Pulse to Code Conversion) Objective of Lecture: Understand the way by which we convert the analog signal to binary bits. Behavioral goals: Student will be able to convert discrete time and amplitude signal to binary. This lecture answer important questions which are: What is PCM? Why PCM is important? How is PCM done? Where can you exploit PCM? What are the problems in PCM? 2

2.4. Pulse Code modulation (PCM) PCM (waveform coder) is process by which the analog signal is transferred to digital binary form (bits) to be transmitted over baseband channel (physical channel or guided channel such as coaxial cable), see Fig. 2.11. With the sampling and quantization processes at our disposal متناول اليد),(في we are now ready to describe pulse-code modulation, which is the most basic form of digital pulse modulation. In pulse code modulation (PCM), a message signal is represented by a sequence of coded binary, which is accomplished by representing the signal in binary form after converting analog signal to discrete form in both time and amplitude. Actually, there are three types of information, digital (bits), textual and analog information. In this chapter analog information are considered. PCM block diagram in baseband signal transmission shown in Fig. 2.11, which is name as formatting, and it consist sampling, quantization and encoding. 2.4.1. Pulse Code modulation (PCM) Transmitter The basic operations performed in the transmitter of a PCM system are sampling, quantization, and encoding, as shown in Fig. 2.11; the low-pass filter prior to sampling is included merely to prevent aliasing of the message signal. The quantizing and encoding operations are usually performed in the same circuit, which is called an analog-to-digital converter ADC. Sampler and quantizer are already explained in the previous section. Encoding is technique by which each step-size in quantization translated to binary code which is named as codeword. Encoding is done as follow: suppose that, in a binary code, each codeword consists of N bits: the bit is an acronym (رمز) for binary digit. Then N denotes the number of bits per sample M (per step-size or quantization level M). Hence, by using such a code, we represent a total of 2 N distinct numbers. For example, a signal quantized into one of 3

256 levels which is denoted as M may be represented by an 8-bit code word (i.e. N = log 2 M, N = log 2 256, N = log 2 2 8 = 8 bits). Figure 2.11. Basic elements of digital baseband communication system (PCM transmitter included in diagram as format block) 2.4.2. Pulse Code modulation (PCM) Receiver The serial bits converted to parallel bits using serial to parallel converter, then regrouped bits and converted to analog signal using digital to analog converter. Then the final operation, to recover the original analog signal is done by passing signal through low pass LP reconstruction filter, the filter interpolates (estimation of samples from received converted sampled signal) the signal between samples. 2.4.3. Transmission Bandwidth (Bit Rate) for PCM Bandwidth is important metric of communication system performance measurement. A signal m(t) bandlimited to W Hz, in the sequel, sampling rate f s required 4

is 2W sample/sec, if each quantized samples encoded to N bits, then total channel bandwidth required is given as B PCM = N 2W bits/sec (1) Then, we rewrite 13 as: B PCM = N f s = f s log 2 M bits/ sec or Hz (2) From 13, minimum bandwidth required for PCM is proportional to the message signal bandwidth and number of bit per quantization level or it is depend on quantization level. Exercise 2.3: Use PCM to convert the given signal (see 2.13) into binary form? Then find SNR of quantization technique using 16 quantization levels? If the signal bandlimited to 250 Hz sampling rate is 8000 sample per second, find PCM bandwidth transmission? Draw block diagram of the system? Figure 2.13. Exercise 2.3 Solution: Number of quantization levels M is 16, hence we divide the original signal into 16 slice, then number of bits per each slice or per each quantization level is: N = log 2 M = log 2 16 = log 2 2 4 = 4 bits/sample The signal to noise ratio of quantization process is 5

SNR = 3 2 22N = 3 2 22 4 = 384 Figure 2.12. Exercise 2.3, after sampling. The bandwidth transmission required is B PCM = N f s = 8000 4 = 32000 bps Figure 2.13. Exercise 2.3, sampling, quantization and encoding. 6

Encoding the obtain for example level 3 and 7 Level 3 = 0 2 3 + 0 2 2 + 1 2 1 + 1 2 0 = 3 Level 8 = 1 2 3 + 1 2 2 + 1 2 1 + 1 2 0 = 8 Reminder levels have been listed in the table above. Exercise 2.4: A telephone signal bandlimited to 4 khz is to be transmitted by PCM, the signal to quantization noise is to be at least 40 db. Find the level into which the signal is to be encoded? Find the bandwidth of PCM? Solution: Given SNR in db = 1.8 + 6 N = 40 db N = 40 1.8 6 bits = 6.34 7 samples 7

Number of the levels then M = 2 7 = 128 levels or steps or slices Transmission bandwidth required: B PCM = 2 f m N = 2 4 10 3 7 = 56 khz Exercise 2.5: given audio signal with spectral components in the range of 300-3400 Hz, the sampling rate being 8 khz, draw the block diagram of the PCM system indicating the specification of each block, the required SNR to be at least 30 db. Solution: Figure 2.14 solution of exercise 2.6 Exercise 2.6: signal m 1 is bandlimited to 5 khz and 3 other signals m 2, m 3 and m 4 each bandlimited to 4 khz are time multiplexed and fed to a PCM encoder having M = 1024 quantization levels. Find bit rate of PCM and also minimum theoretical bandwidth for transmission? Solution: signals f m f s m 1 5 khz 10 khz 8

m 2 4 khz 8 khz m 3 4 khz 8 khz m 4 4 khz 8 khz Because signals multiplexed over times, hence the frequency is accumulative of all signals frequencies, then the total frequency is 10 + 4 + 4+ 4 = 34 samples/sec. Number of bits per quantization levels = log 2 1024 = log 2 2 10 = 10 bits. Bit rate then = f s N = 34 10 3 10 = 340 Kbps Minimum theoretical bandwidth = 0.5 f s N = 0.5 340 = 170 khz Exercise 2.7: A PCM system uses a uniform quantizer followed by a 7 bits binary encoder. The bit rate of the system is 50 10 6 bits/sec. What is maximum message BW for which the system operates satisfactorily? What is SNR? Solution: Maximum message BW is given as: Signal to noise ratio is given as: 2 f m N = 50 10 6 f m = 50 106 14 = 3.57 MHz SNR = 1.8 + 6N = 1.8 + 6 7 = 43.8 db Exercise 2.8: A compact disk record audio signals digitally using PCM. The audio signal BW is 15 khz. What is Nyquist rate? If M = 65536, determine the number of binary digits required to encode a audio signal? Determine the bit rate? Determine the SNR required? Solution: The Nyquist rate is: 9

The number of binary digits is: SNR required is: Bit rate of the PCM is given as f s = 2 f m = 30 khz = 30000 samples sec N = log 2 65536 = log 2 2 16 = 16 bits SNR = 1.8 + 6N = 1.8 + 6 16 = 97.8 db B PCM = f s N = 30000 16 = 480 Kbps Exercise 2.9 (homework): design a PCM multiplexer system using a 256 level signal quantizer for transmission of the 3 signals, m 1, m 2 and m 3. Bandlimited to 5 khz, 10 Khz and 5 khz respectively. What is the Nyquist rate? Bit rate? 10