Pulse Code Modulation (PCM)

Slides:



Advertisements
Similar presentations
Summary of Sampling, Line Codes and PCM
Advertisements

Analogue to Digital Conversion (PCM and DM)
1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission Waleed Ejaz
Time division multiplexing TDM
Physical Layer – Part 2 Data Encoding Techniques
EE 4272Spring, 2003 Chapter 5 Data Encoding Data Transmission Digital data, digital signal Analog data, digital signal: e.g., voice, and video are often.
4.2 Digital Transmission Pulse Modulation (Part 2.1)
4.2 Digital Transmission Pulse Modulation (Part 2.1)
Networks: Data Encoding1 Data Encoding Techniques.
Physical Layer – Part 2 Data Encoding Techniques
Communication Systems
Data Encoding Techniques
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 4 Digital Transmission.
Pulse Modulation CHAPTER 4 Part 3
Pulse Code Modulation (PCM) 1 EE322 A. Al-Sanie. Encode Transmit Pulse modulate SampleQuantize Demodulate/ Detect Channel Receive Low-pass filter Decode.
 Transmitting two or more signals simultaneously can be accomplished by setting up one transmitter- receiver pair for each channel, but this is an expensive.
Analog and Digital Transmission Interfaces and Multiplexing (Physical Layer) Lita Lidyawati 2012.
1/21 Chapter 5 – Signal Encoding and Modulation Techniques.
Base-Band Digital Data Transmission Prepared By: Amit Degada. Electronics Engineering Department, Sardar Vallabhbhai National Institute of Technology,
Chapter Seven: Digital Communication
COSC 3213 – Computer Networks I Summer 2003 Topics: 1. Line Coding (Digital Data, Digital Signals) 2. Digital Modulation (Digital Data, Analog Signals)
Introduction to Communication Systems
EE 3220: Digital Communication Dr. Hassan Yousif Ahmed Department of Electrical Engineering College of Engineering at Wadi Aldwasser Slman bin Abdulaziz.
Digital Baseband Transmission S Transmission Methods in Telecommunication Systems (5 cr)
Data Communications Chapter 5 Data Encoding.
Pulse Code Modulation (PCM)
ELECTRONIC COMMUNICATIONS A SYSTEMS APPROACH CHAPTER Copyright © 2014 by Pearson Education, Inc. All Rights Reserved Electronic Communications: A Systems.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Digital Encoding.
1 Time division multiplexing TDM m(t) TsTs 2T s 3T s 4T s 5T s 6T s 7T s.
Pulse Code Modulation Pulse Code Modulation (PCM) : method for conversion from analog to digital waveform Instantaneous samples of analog waveform represented.
Chapter 5. Pulse Modulation
: Data Communication and Computer Networks
British Computer Society (BCS)
Digital Communications
9/12/ Digital Transmisison - Lin 1 CPET/ECET Digital Transmission Data Communications and Networking Fall 2004 Professor Paul I-Hai Lin Electrical.
A digital signal is a sequence of discrete discontinuous voltage pulses. Each pulse is a signal element (symbol). Binary data are transmitted by encoding.
Digital Transmission & Analog Transmission. 4.#2 1. DIGITAL-TO-DIGITAL CONVERSION Digital Data -> Digital Signal Three techniques: 1.line coding (always.
Chapter 4 Digital Transmission. 4.#2 4-1 DIGITAL-TO-DIGITAL CONVERSION line coding, block coding, and scrambling. Line coding is always needed; block.
ECE 4710: Lecture #12 1 Normalized A =  2 Unipolar NRZ Advantages: 1) Easy to generate for TTL (0, +5V) 2) Single supply voltage 3) Best FNBW Disadvantages:
ECE 4710: Lecture #13 1 Bit Synchronization  Synchronization signals are clock-like signals necessary in Rx (or repeater) for detection (or regeneration)
ECE 4710: Lecture #11 1 Binary vs. Multi-Level Bit Message: t 5 V T s = 1 msec T 0 = 8 T s = 8 msec R = (8/8 ms) = 1 kbps FNBW.
DATA ENCODING Digital-to-digital conversion - Encode digital data into a digital signal - Sending computer data Analog-to-Digital conversion - Digitizing.
Chapter 4 Digital Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Topics discussed in this section:
Chapter 7 Fundamentals of Digital Transmission. Baseband Transmission (Line codes) ON-OFF or Unipolar (NRZ) Non-Return-to-Zero Polar (NRZ)
CSCI 465 Data Communications and Networks Lecture 8 Martin van Bommel CSCI 465 Data Communications and Networks 1.
1 st semester 1436 / Modulation Continuous wave (CW) modulation AM Angle modulation FM PM Pulse Modulation Analog Pulse Modulation PAMPPMPDM Digital.
What is Line Coding? Mapping of binary information sequence into the digital signal that enters the channel Ex. “1” maps to +A square pulse; “0” to –A.
Chapter 4. Digital Transmission
4.2 Digital Transmission Pulse Modulation (Part 2.1)
Principios de Comunicaciones EL4005
DIGITAL TRANSMISSION PART C
Subject Name: Digital Communication Subject Code:10EC61
Physical Layer (Part 2) Data Encoding Techniques
Physical Layer – Part 2 Data Encoding Techniques
CT1303 LAN Rehab AlFallaj.
Line Codes and Their Spectra
Line Codes and Their Spectra
Chapter 10. Digital Signals
NET301 Lecture 5 10/18/2015 Lect5 NET301.
NET301 Lecture 5 10/18/2015 Lect5 NET301.
Chapter 4 Digital Transmission
Pulse Amplitude Modulation and Pulse Code Modulation
Chapter 5. Data Encoding Digital Data, Digital Signals
S Transmission Methods in Telecommunication Systems (5 cr)
Physical Layer – Part 2 Data Encoding Techniques
Pulse Amplitude Modulation dan Pulse Code Modulation
Disadvantages of Analog Transmission
CS433 - Data Communication and Computer Networks
Presentation transcript:

Pulse Code Modulation (PCM)

Example

Solution In the previous example we have 8-quantization levels (to encode with 3-bits) from code number 0 to 7 (from binary code 000 to 111) Sample value: 2.8 3.2 2.7 1.1 Nearest level: 3 3 2.5 1 Code number: 6 6 5 2 Binary code: 110 110 101 010

PCM Transmitter Block Diagram r=nfs

n:

PCM transmitter n

PCM transmission path

The most important feature of PCM systems is the ability to control the effects of distortion and noise. A PCM signal may be reconstructed from the distorted and noisy input by means of regenerative repeaters placed sufficiently close to each other along the transmission route

Transmission Bandwidth of a PCM Wave Each encoded message sample is represented by a n-digit code word. Consequently, the signal bit rate (r) becomes r = n fs fs ≥ 2 W, Where: W= The message B.W. , fs= Sampling rate The transmission bandwidth (BT) required by the PCM wave is:

Main feature of pulse-code modulation If the regenerators are well placed then they cancel the effect of channel distortion and noise. In this case the only source of distortion and noise is the quantization error

Time-Division Multiplexing (TDM)

We multiplex two signals g1(t), and g2(t) For example We multiplex two signals g1(t), and g2(t) Ts Tx

TDM: - Multiple data streams are sent in different time in single data link/medium - Data rate of the link must be larger than a sum of the multiple streams - Data streams take turn to transmit in a short interval - widely used in digital communication networks A B C M U X D E … A1 B1 C1 A2 B2 C2 …

TDM: Concept of Framing and Synchronization

Define Ts = sampling interval (period) fs = sampling frequency (rate) Tx = time spacing between adjacent samples in the TDM signal waveform Consider two cases: Equally sampled ( N of input signals ) Tx = Ts / N N : number of samples Non equally sampled Signals have non equal bandwidths

Minimum Bandwidth The resultant signal could be considered as a new one sampled with fx . To get the B.W. of the TDM-PAM signal: The used system must have a minimum B.W. equals to fx / 2 in order to pass the TDM-PAM signal. The B.W = K fx (½) < K < 1

Equally sampled signals Example-2 Two signals each band-limited to W = 3 KHz N = 2 signals Ts = 1 / ( 2W) = ( 6000)-1 = 166.7 μ sec. Tx = Ts / 2 = 83.3 μ sec. B ≥ ( 1 / 2Tx ) ≥ 6 KHz N.B. PAM is as efficient in conserving bandwidth as SSB when all the signals have the same bandwidth.

Example-3 If we have 20 signals each band-limited to 3.3 KHz sampled with rate 8 KHz and PAM-TDM is used. Find the min. clock freq. and min. B.W. Solution: Clock frequency fx=8K20=160 KHz Min. B.W.=fx/2 =80 KHz If PCM-TDM is used using 3-bits/sample: The bit rate = 8K 203 = 480 Kb/s

Non-equally sampled signals For signals having non equal bandwidths we do non equal sampling To conserve B.W. PAM time multiplexed systems usually group input signals of comparable bandwidths

fs Example three signals band limited to W , W and 2W Equally Sampled: fs = 4 W Ts = 1 / 4 W Tx = 1 / 12 W fx = 12 W B = fx/2 = 6 W > SSB B.W. 3 1 2 number Of samples fs B.W Signal 1 2W W S1 S2 4W S3

Non equally sampled Ts = 1 / 2W N = 4 Tx = 1/(8W) B = 4W = SSB B.W. 3 2 number of samples fs B.W Signal 1 2W W S1 S2 2 4W S3

Example of non equally sampling T1– Digital System PCM Mux 1 2 24 M12 4 6.312 Mb/s T2 M23 7 M34 6 274.176 Mb/s 1.544Mb/s T1 44.736 Mb/s T3 T4 Example of non equally sampling T1– Digital System North American Digital Hierarchy

Multiplexing PCM signals 24 – analog signals each band-limited to 3.3 K sampled at a rate of 8 K. Frame time=125 s At 6000 ft, repeaters are used Each sample is encoded by 8-bits No. of levels = 256 level No. of bits /frame = (24  8) + 1F bit = 193 bits Where: 1F is one frame synchronization bit Bit rate for T1 channel =(193  8K)=1.544 Mb/s

T1 TDM format for one frame.

Multiplexing T1-Lines 4-T1 lines are multiplexed to generate one T2 line. M12 multiplexer adds 17 bits for synch. Number of bits/frame = (193  4) + 17 = 789 bits/frame Bit rate for T2 =789  8K = 6.312 Mb/s

Multiplexing T2-Lines 7-T2 lines are multiplexed to generate one T3 line. M23 multiplexer adds 69 bits for synch. Number of bits/frame = (789  7) + 69 = 5592 bits/frame Bit rate for T3 = 5592  8K = 44.736 Mb/s

Multiplexing T3-Lines 6-T3 lines are multiplexed to generate one T4 line. M34 multiplexer adds 720 bits for synch. Number of bits/frame = (5592  6) + 720 = 34272 bits/frame Bit rate for T4 = 34272  8K = 274.176 Mb/s

Line Coding How to represent the ‘1’ and ‘0’ Each line code has its advantage and disadvantage A good line code should have the following requirements:

Requirements of line code: Transmission bandwidth : as small as possible Error detection and correction Avoid D.C. ( due to the A.C. coupling used at the repeaters Adequate timing content: It should be possible to extract timing or clock information from the signal (long sequence of zeroes could cause errors in timing extraction for certain line codes)

Line Codes 1 1 1 1

Examples On/Off (unipolar) Polar (bipolar) “1” send p(t), “0” nothing Return to zero (RZ) Non-Return to Zero (NRZ) Polar (bipolar) “1” send p(t), “0” send -p(t) Bipolar (RZ) Bipolar (NRZ) 1 1 1 0 0 1 1 1 1 1 0 0 1 1 1 1 1 0 0 1 1 1 1 1 0 0 1 1

Bipolar Alternate Mark Inversion (AMI): “0” has no pulse “1” changes the sign of the waveform p(t) 1 1 1 0 0 1 1

Bi-phase Codes (Manchester) More complex waveforms can “split” the phase of the two signals 1 1 1 0 0 1 1