EEE 309 Communication Theory

Similar documents
EEE 309 Communication Theory

Digital Communication (650533) CH 3 Pulse Modulation

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

Communications and Signals Processing

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

PULSE CODE MODULATION (PCM)

Communications I (ELCN 306)

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

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

DIGITAL COMMUNICATION

UNIT TEST I Digital Communication

Pulse Code Modulation

Pulse Code Modulation

7.1 Introduction 7.2 Why Digitize Analog Sources? 7.3 The Sampling Process 7.4 Pulse-Amplitude Modulation Time-Division i i Modulation 7.

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

Chapter-3 Waveform Coding Techniques

EC 6501 DIGITAL COMMUNICATION UNIT - II PART A

Fundamentals of Digital Communication

CODING TECHNIQUES FOR ANALOG SOURCES

EXPERIMENT WISE VIVA QUESTIONS

Department of Electronics and Communication Engineering 1

CHAPTER 4. PULSE MODULATION Part 2

10 Speech and Audio Signals

Downloaded from 1

EEE482F: Problem Set 1

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

Voice Transmission --Basic Concepts--


Chapter 3 Pulse Modulation

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

EC 2301 Digital communication Question bank


Year : TYEJ Sub: Digital Communication (17535) Assignment No. 1. Introduction of Digital Communication. Question Exam Marks

Digital Communication - Analog to Digital

CT111 Introduction to Communication Systems Lecture 9: Digital Communications

QUESTION BANK (VI SEM ECE) (DIGITAL COMMUNICATION)

SEN366 Computer Networks

Communication Systems Lecture-12: Delta Modulation and PTM

Digital Communication Prof. Bikash Kumar Dey Department of Electrical Engineering Indian Institute of Technology, Bombay

LATHA MATHAVAN ENGINEERING COLLEGE Alagarkovil, Madurai

Communications IB Paper 6 Handout 3: Digitisation and Digital Signals

Chapter 4 Digital Transmission 4.1

YEDITEPE UNIVERSITY ENGINEERING FACULTY COMMUNICATION SYSTEMS LABORATORY EE 354 COMMUNICATION SYSTEMS

Lecture 3 Concepts for the Data Communications and Computer Interconnection

EC6501 Digital Communication

Class 4 ((Communication and Computer Networks))

QUESTION BANK SUBJECT: DIGITAL COMMUNICATION (15EC61)

Chapter 2: Fundamentals of Data and Signals

Signal Encoding Techniques

Practical Approach of Producing Delta Modulation and Demodulation

AMSEC/ECE

Fundamentals of Data and Signals

Digital signal is denoted by discreet signal, which represents digital data.there are three types of line coding schemes available:

2. By convention, the minimum and maximum values of analog data and signals are presented as voltages.

Basic Concepts in Data Transmission

Digital Audio. Lecture-6

Data Encoding g(p (part 2)

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

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

Ș.l. dr. ing. Lucian-Florentin Bărbulescu

Contents Preview and Introduction Waveform Encoding

SUMMER 14 EXAMINATION Model Answer

SKP Engineering College

3.6 Intersymbol interference. 1 Your site here


Principles of Baseband Digital Data Transmission

Communication Theory II

ITM 1010 Computer and Communication Technologies

Department of Electronics & Telecommunication Engg. LAB MANUAL. B.Tech V Semester [ ] (Branch: ETE)

DIGITAL COMMUNICATION

ANALOGUE AND DIGITAL COMMUNICATION

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING QUESTION BANK. Subject Name: Digital Communication Techniques

: DIGITAL COMMUNICATION

NEAR EAST UNIVERSITY FA CUL TY OF ENGINEERING. Waveform Encoding Techniques Based on Differential and Adaptive Quantizing. Wael Sulaiman Mashawekh

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

Chapter 5: Modulation Techniques. Abdullah Al-Meshal

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

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

Chapter 2: Digitization of Sound

(Refer Slide Time: 3:11)

END-OF-YEAR EXAMINATIONS ELEC321 Communication Systems (D2) Tuesday, 22 November 2005, 9:20 a.m. Three hours plus 10 minutes reading time.

Chapter-2 SAMPLING PROCESS

Sampling and Pulse Code Modulation Chapter 6

DHANALAKSHMI COLLEGE OF ENGINEERING ELECTRONICS AND COMMUNICATION ENGINEERING EC DIGITAL COMMUNICATION DCE

Data Communications and Networking (Module 2)

UNIT I Source Coding Systems

Multiplexing Concepts and Introduction to BISDN. Professor Richard Harris

Digital data (a sequence of binary bits) can be transmitted by various pule waveforms.

Course 2-3 Fundamental notions of digital telephony. The primary PCM multiplex.

TCET3202 Analog and digital Communications II

QUESTION BANK. Staff In-Charge: M.MAHARAJA, AP / ECE

Analog and Telecommunication Electronics

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

SUMMER 15 EXAMINATION. 1) The answers should be examined by key words and not as word-to-word as given in the

ITM 1010 Computer and Communication Technologies

Hello and welcome to today s lecture. In the last couple of lectures we have discussed about various transmission media.

28. What is meant by repetition rate of the AM envelope? (ADC,AU-2010) 29. Describe the upper and lower sidebands. (ADC, AU-2010) 30.

Chapter 4 Digital Transmission 4.1

KINGS DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING DIGITAL COMMUNICATION TECHNIQUES YEAR/SEM: III / VI BRANCH : ECE PULSE MODULATION

DIGITAL COMMUNICATION. In this experiment you will integrate blocks representing communication system

Transcription:

EEE 309 Communication Theory Semester: January 2016 Dr. Md. Farhad Hossain Associate Professor Department of EEE, BUET Email: mfarhadhossain@eee.buet.ac.bd Office: ECE 331, ECE Building

Part 05 Pulse Code Modulation (PCM) 2

Advantages of Digital Communication Digital systems are less sensitive to noise and signal distortion. For long transmission line, the signal may be regenerated effectively error free at different points along the path. With digital systems, it is easier to integrate different services, e.g., video and the accompanying soundtrack, into the same transmission scheme. The transmission scheme can be relatively independent of the source Circuitry for digital signals is easier to repeat and digital circuits are less sensitive to physical effects such as vibration and temperature Digital signals are simpler to characterize and typically do not have the same amplitude range and variability as analog signals. This makes the associated hardware design easier. Various media sharing strategies (known as multiplexing) are more easily implemented with digital transmission i strategies t Source coding techniques can be used for removing redundancy from digital transmission Error control coding can be used for adding redundancy, which can be used to detect and correct errors at thereceiver side Digital communication systems can be made highly secure by exploiting powerful encryption algorithms Digital communication systems are inherently more efficient than analog communication systems in the tradeoff between transmission bandwidth and signal to noise ratio Various channel compensation techniques, such as, channel estimation and equalization, are easier to implement 3

Sampling (1) Sampling is an operation that is basic to digital signal processing and digital communications Through the use of sampling process, an analog signal is converted into a corresponding sequence of samples that are usually spaced uniformly in time Message Sampling Signal T s f f f nf s n s Sampled Signal 4

Sampling (2) Two types of practical sampling: Natural Sampling Flat top t sampling 5

Sampling (3) Frequency Domain: or, 6

Sampling (4) f s > 2W: f s = 2W: f s < 2W: Aliasing 7

Sampling Theorem Sampling theorem is a fundamental bridge between continuous signals (analog domain) and discrete signals (digital domain) It only applies to a class of mathematical functions whose Fourier transforms are zero outside of a finite region of frequencies Nyquist Sampling Theorem / Nyquist-Shanon Sampling Theorem: A signal whose bandwidth is limited to W Hz can be reconstructed exactly (without any error) from its samples uniformly taken at a rate f s 2W Hz f s = Sampling frequency f s = 2W: Nyquist frequency / Nyquist rate / Minimum sampling frequency 8

Antialiasing Filter All practical signals are time-limited, i.e., non band-limited => Aliasing inevitable To limit aliasing, use antialiasing filter (LPF) before sampling Original Signal Antialiasing filter Sample Reconstruction Filter Reconstructed Signal 9

Reconstruction Filter f s = 2W: Ideal LPF characteristic: 1/2W 1/2W (interpolation filter / interpolation function) T s = 1/2W (interpolation formula) 10

Quantization (1) It is the process of transforming the sample amplitude m(nt S ) of a baseband signal at time t = nt S into a discrete amplitude v(nt S ) taken from a finite set of possible levels 11

Quantization (2) Quantizer characteristic: k th interval: Here, k = 1, 2, 3,, L L = Number of representation levels (Number of intervals) m k : Decision levels / Decision thresholds v k : Representation levels / Reconstruction levels / Quantization Levels Δ= v k +1 v k = m k +1 m k : Step-size / quantum Quantizer output equals to v k if the input signal sample m belongs to the interval I k (rounding) v v if m I (Rounding) k I k v v k if v k m v k 1 (Truncation) 12

Quantization(3): Two types Mid tread quantization Mid rise quantization Representation/ Reconstruction/ Quantization levels Mid tread quantizer: Mid rise quantizer: Reconstruction value is exactly zero Decision threshold value is exactly zero Signal Range (Dynamic range) and Quantizer Range: Could be same or different 13

Quantization(4): Example For the following sequence {1.2, -0.2, -0.5, 0.4, 0.89,1.3} quantize it using a uniform quantizer of rounding type and write the quantized sequence. Quantizer range is (-1.5,1.5) with 4 levels. Solution: Yellow dots indicate the decision thresholds (boundaries between separate quantization intervals). Red dots indicate the reconstruction levels (middle of each interval). Thus, 1.2 fall between 0.75 and 1.5, and hence is quantized to 1.125. Quantized sequence: {1.125, -0.375, -0.375, 0.375, 1.125, 1.125} 14

Quantization(5): Two types Uniform quantization Non uniform quantization 15

Quantization Error for Uniform Quantization (1) Quantization error (noise) q = m v => Q = M V Q is a RV variable of zero mean in the range [ Δ/2, Δ/2] If Δ is sufficiently small, Q can be assumed a uniform RV with zero mean Quantization noise power f Q (q) 1/Δ 2 Q / 2 2 2 q f Q qdq 12 / 2 Δ/2 0 Δ/2 q Signal-to-nose-ratio (SNR): SNR P 2 Q 12P P 2 P = Average power of m(t) 16

Quantization Error for Uniform Quantization (2) Suppose m(t) of continuous amplitude in the range [ m max, m max ]: 2mmax 2mmax R L 2 R = Number of bits for presenting each level (bits/sample) SNR 3P 2 m 2 max 2R SNR db 3P 6.02R 10log m 2 max Each additional bit increases the SNR by 6.02 db and a corresponding increase in required channel BW Special case: m(t) is a sinusoidal signal with amplitude equal to m max SNR 3 2 2 2R 6R 1. 8 SNR db 17

Non-Uniform Quantization SNR of weak signals is much lower than that of strong signal Instantaneous SNR is also lower for the smaller amplitudes compared to that of the larger amplitudes 18

Non-Uniform Quantization Step size increases as the separation from the origin of the input output amplitude characteristic is increased First Compression and then uniform quantization Achieve more even SNR over the dynamic range using fewer bits (e.g., 8 bits instead of 13/14 bits) Receiver side: Expansion required Compression + Expansion = Companding Tx Rx Original Signal Compression Uniform Quantization Reconstruction Expansion Original Signal 19

Non-Uniform Quantization The compression here occurs in the amplitude values Compression in amplitudes means that the amplitudes of the compressed signal are more closely spaced in comparison to the original signal To do so, the compressor boosts the small amplitudes by a large amount. However, the large amplitude values receive very small gain and the maximum value remains the same Compressor Input Compressor Output 20

Non-Uniform Quantization μ Law: Used in North America, Japan (μ = 255 is mostly used) More uniform SNR is achieved over a larger dynamic range 21

Non-Uniform Quantization A Law: Used in Europe and many other countries A = 87.6 is mostly used and comparable to μ = 255 22

Encoding Each quantized samples is encoded into a code word Each element in a code word is called code element Binary code: Each code element is either of two distinct values, customarily denoted as 0 and 1 Binary symbol withstands a relatively high level of noise and also easy to regenerate Each binary code word consists of R bits and hence, this code can represent 2 R distinct numbers (i.e., at best R bit quantizer can be used) 23

Pulse Code Modulation (PCM) In PCM, a message signal is represented by a sequence of coded pulses, which is accomplished by representing the signal in discrete form in both time and amplitude Transmitter Three basic operations in a PCM Transmitter: Sampling Quantization Encoding Transmission Path Receiver 24

Differential PCM (DPCM) When a signal is sampled at a rate slightly higher than the Nyquist rate, there exists a high degree correlation between adjacent samples, i.e., in an average sense, the signal does not change rapidly from one sample to the next When these highly correlated samples are encoded as in a standard PCM system, the resulting encoded signal contains redundant information implying that symbols that are not absolutely essential to the transmission of information are generated DPCM removes this redundancy before encoding by taking the difference between the actual sample m(nt S ) and its predicted value mˆ nt S The quantized version of the prediction error e(nt S ) are encoded instead of encoding the samples of the original signal This will result in much smaller quantization intervals leading to less quantization noise and much higher SNR Transmitter e Prediction error nt mnt mˆ nt S S S 25

Predictor for DPCM: Liner predictor of order p: Transversal filter (tapped-delay-line filter) used as a linear predictor mˆ p nt w m n k S k 1 k q T S 26

Differential PCM (DPCM) Transmitter e q nt S m ' nt S mˆ nt ' Receiver S m nt ˆ nt nt S m S eq S Reconstruction error ' m nt m nt ent e nt qnt S = Quantization error S S q S S 27

Delta Modulation (DM) (1) DM encodes the difference between the current sample and the previous sample using just one bit Correlation between samples are increased by oversampling (i.e., at a rate much higher, typically 4 times higher than the Nyquist rate) DM involves the generation of the staircase approximation of the oversampled version of message The difference between the input and the approximation is quantized into only two levels: 1 bit version of DPCM (i.e., 2 level quantization) requiring less bandwidth than that of DPCM and PCM 28

Delta Modulation (DM) (2) Transmitter Receiver Digital equivalent of integration 29

Predictor for DM Note: (1) DPCM uses a higher order filter. (2) DM uses a 1 st order (p=1) predictor with w 1 = 1. Thus, the predicted output is the previous sample. 30

Delta Modulation (DM) (3) Two types of quantization error: (1) Slope overload distortion/noise (2) Granular noise m q (t) e q (nt S ) Comments: (1) For avoiding slope overload distortion: larger Δ is desired (2) For avoiding granular noise: smaller Δ is desired An optimal step size (Δ) has to be chosen for minimum overall noise Example: m t A m cos t fs m m t max m Am f s Am max Ts m f s A m max Voice 2 800 r r 31

Line Coding (1) PCM, DPCM and DM are different strategies for source encoding, which converts an analog signal into digital form Once a binary sequence of 1s and 0s is produced, the sequence is transformed into electrical pulses or waveforms for transmission over a channel and this is known as line coding Multi-level line coding is possible Or NRZ-L Various line coding (binary) methods: Or RZ-AMI (0 means transition) (f) Split-phase or Manchester 32

Line Coding (2) Polar NRZ / Book: Digital Communications: Fundamentals and Applications - Bernard Sklar Applications: Polar NRZ / NRZ-L: Digital logic circuits NRZ-M/NRZ-S: Magnetic tap recording RZ line codes: Base band transmission and magnetic recording (e.g., Bipolar RZ / RZ-AMI is used for telephone system) Manchester Coding: Magnetic recording, optical communications and satellite telemetry 33

Line Coding (3) Desired properties (i.e., design criteria) for line coding: Transmission bandwidth: should be as small as possible Noise immunity: should be immune to noise Power efficiency: for a given bandwidth and given error probability, transmission power requirement should be as small as possible Error detection and correction capability: should be possible to detect and correct errors Favorable power spectral density (PSD): should have zero PSD at zero (i.e., DC) frequency, otherwise the ac coupling and the transformers used in communication systems would block the DC component Adequate timing information / self-clocking: should carry the timing or clock information which can be used for self-synchronization Transparency: should be possible to transmit a digital signal correctly regardless of the patterns of 1 s and 0 s (by preventing long string of 0s and 1s) 34