Pulse Code Modulation (PCM)

Slides:



Advertisements
Similar presentations
Signal Encoding Techniques
Advertisements

Analogue to Digital Conversion (PCM and DM)
Time division multiplexing TDM
Physical Layer – Part 2 Data Encoding Techniques
CHAPTER 4 DIGITAL MODULATION Part 1.
4.2 Digital Transmission Pulse Modulation (Part 2.1)
Quantization Prof. Siripong Potisuk.
4.2 Digital Transmission Pulse Modulation (Part 2.1)
8/16/20021 Digital Transmission Key Learning Points Fundamentals of Voice Digitization Pulse Code Modulation Quantification Noise Multiplexed Digital Lines.
Networks: Data Encoding1 Data Encoding Techniques.
Physical Layer – Part 2 Data Encoding Techniques
Communication Systems
Data Encoding Techniques
Pulse Modulation CHAPTER 4 Part 3
EKT343-Principles of Communication Engineering
Chapter 4 Digital Transmission
331: STUDY DATA COMMUNICATIONS AND NETWORKS.  1. Discuss computer networks (5 hrs)  2. Discuss data communications (15 hrs)
Digital Transmission.
Digital Communication Techniques
1/21 Chapter 5 – Signal Encoding and Modulation Techniques.
Pulse Modulation 1. Introduction In Continuous Modulation C.M. a parameter in the sinusoidal signal is proportional to m(t) In Pulse Modulation P.M. a.
Formatting and Baseband Modulation
Formatting and Baseband Modulation
Fundamentals of Digital Communication
McGraw-Hill©The McGraw-Hill Companies, Inc., 2001 Data Transmission Techniques Data to be transmitted is of two types 1.Analog data 2.Digital data Therefore,
Digital Communications Chapter 2 Formatting and Baseband Modulation Signal Processing Lab.
Chapter Seven: Digital Communication
DIGITAL VOICE NETWORKS ECE 421E Tuesday, October 02, 2012.
Computer Networks Digitization. Spring 2006Computer Networks2 Transfer of an Analog Signal  When analog data (voice, pictures, video) are transformed.
Digital multiplexers In TDM a group of analog signals are sampled sequentially in time at a common sampling rate and then multiplexed for transmission.
ECE 4371, Fall, 2014 Introduction to Telecommunication Engineering/Telecommunication Laboratory Zhu Han Department of Electrical and Computer Engineering.
Modulation Continuous wave (CW) modulation AM Angle modulation FM PM Pulse Modulation Analog Pulse Modulation PAMPPMPDM Digital Pulse Modulation DMPCM.
Data Communications Chapter 5 Data Encoding.
COMMUNICATION SYSTEM EEEB453 Chapter 5 (Part IV) DIGITAL TRANSMISSION.
10/6/2015 3:12 AM1 Data Encoding ─ Analog Data, Digital Signals (5.3) CSE 3213 Fall 2011.
Signal Encoding Techniques. Lecture Learning Outcomes Be able to understand, appreciate and differentiate the different signal encoding criteria available.
PULSE CODE MODULATION (PCM)
Chapter #5 Pulse Modulation
Pulse Code Modulation Pulse Code Modulation (PCM) : method for conversion from analog to digital waveform Instantaneous samples of analog waveform represented.
Digital Transmission Outlines:- Multiplexing FDM TDM WDM
Basic Encoding Techniques
Pulse Code Modulation PCM is a method of converting an analog signal into a digital signal. (A/D conversion) The amplitude of Analog signal can take any.
4.3 Multiplexing FDM TDM. Introduction Definition 1. The transmission of information from one or more source to one or more destination over the same.
ECE 4371, 2009 Class 9 Zhu Han Department of Electrical and Computer Engineering Class 9 Sep. 22 nd, 2009.
Topics discussed in this section:
4.2 Digital Transmission Pulse Modulation Pulse Code Modulation
Differentially Encoding
4.2 Digital Transmission Pulse Modulation Pulse Code Modulation
4.2 Digital Transmission Pulse Modulation Pulse Code Modulation
COMMUNICATION SYSTEM EEEB453 Chapter 5 (Part III) DIGITAL TRANSMISSION Intan Shafinaz Mustafa Dept of Electrical Engineering Universiti Tenaga Nasional.
Meghe Group of Institutions
1 st semester 1436 / Modulation Continuous wave (CW) modulation AM Angle modulation FM PM Pulse Modulation Analog Pulse Modulation PAMPPMPDM Digital.
4.2 Digital Transmission Pulse Modulation Pulse Code Modulation
Outlines Pulse Modulation Pulse Code Modulation Line Codes
4.2 Digital Transmission Pulse Modulation (Part 2.1)
Principios de Comunicaciones EL4005
Analog to digital conversion
Topics discussed in this section:
UNIT – III I: Digital Transmission.
DIGITIAL COMMUNICATION
4.1 Chapter 4 Digital Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Physical Layer (Part 2) Data Encoding Techniques
Physical Layer – Part 2 Data Encoding Techniques
4.2 Digital Transmission Pulse Modulation (Part 2.1)
Chapter 3: Pulse Code Modulation
Signal Encoding Techniques
Digital Control Systems Waseem Gulsher
4.2 Digital Transmission Pulse Modulation Pulse Code Modulation
Sampling and Quantization
Physical Layer – Part 2 Data Encoding Techniques
Presentation transcript:

Pulse Code Modulation (PCM) PART 2

Pulse Code Modulation (PCM) The most common technique for using digital signals to encode analog data is PCM. Example: To transfer analog voice signals off a local loop to digital end office within the phone system, one uses a codec. Because voice data limited to frequencies below 4000 HZ, a codec makes 8000 samples/sec. (i.e., 125 microsecond/sample). If a signal is sampled at regular intervals at a rate higher than twice the highest signal frequency, the samples contain all the information of the original signal.

PCM Block Diagram Most common form of analog to digital modulation Four step process - Signal is sampled using PAM (sampled) - Integer values assigned to signal (PAM) - Values converted to binary (Quantized) - Signal is digitally encoded for transmission (Encoded)

Cont’d Analog signal is sampled. Converted to discrete-time continuous-amplitude signal (Pulse Amplitude Modulation) Pulses are quantized and assigned a digital value. A 7-bit sample allows 128 quantizing levels. PCM uses non-linear encoding, i.e., amplitude spacing of levels is non-linear There is a greater number of quantizing steps for low amplitude This reduces overall signal distortion. This introduces quantizing error (or noise). PCM pulses are then encoded into a digital bit stream. 8000 samples/sec x 7 bits/sample = 56 Kbps for a single voice channel.

PCM Example

Quantization a process of converting an infinite number of possibilities to a finite number of conditions (rounding off the amplitudes of flat-top samples to a manageable number of levels).

PCM code = (sample voltage/resolution) Cont’d The quantization interval @ quantum = the magnitude difference between adjacent steps. The resolution = the magnitude of a quantum = the voltage of the minimum step size. The quantization error = the quantization noise = ½quantum = (original sample voltage – quantize level) PCM code = (sample voltage/resolution)

QUANTIZATION ERROR

Types of Quantization Midtread Midrise

Types of Quantizer 1. Uniform type, the levels of the quantized amplitude are uniformly spaced. 2. Non-uniform type, the levels are not uniform.

Dynamic Range (DR) Largest possible magnitude/smallest possible magnitude Where DR = absolute value of dynamic range Vmax = the maximum voltage magnitude Vmin = the quantum value (resolution) n = number of bits in the PCM code

Signal to Quantization Noise Ratio (SQR) The worst-case voltage SQR SQR for a maximum input signal The signal power-to-quantizing noise power ratio R =resistance (ohm) v = rms signal voltage q = quantization interval

Effect of Non-Linear Coding

Nonlinear Encoding Quantization levels not evenly spaced Reduces overall signal distortion Can also be done by companding

Companding The process of compressing and then expanding.

Companding Functions

Method of Companding For the compression, two laws are adopted: the -law in US and Japan and the A-law in Europe. -law A-law The typical values used in practice are: =255 and A=87.6. After quantization the different quantized levels have to be represented in a form suitable for transmission. This is done via an encoding process. Vmax= Max uncompressed analog input voltage Vin= amplitude of the input signal at aparticular of instant time Vout= compressed output amplitude A, = parameter define the amount of compression

μ-law A-law

PCM Line Speed The data rate at which serial PCM bits are clocked out of the PCM encoder onto the transmission line. Where Line speed = the transmission rate in bits per second Sample/second = sample rate, fs Bits/sample = no of bits in the compressed PCM code

Virtues & Limitation of PCM The most important advantages of PCM are: Robustness to channel noise and interference. Efficient regeneration of the coded signal along the channel path. Efficient exchange between BT and SNR. Uniform format for different kind of base-band signals. Flexible TDM. Secure communication through the use of special modulation schemes of encryption. These advantages are obtained at the cost of more complexity and increased BT. With cost-effective implementations, the cost issue no longer a problem of concern. With the availability of wide-band communication channels and the use of sophisticated data compression techniques, the large bandwidth is not a serious problem.

Time-Division Multiplexing This technique combines time-domain samples from different message signals (sampled at the same rate) and transmits them together across the same channel. The multiplexing is performed using a commutator (switch). At the receiver a decommutator (switch) is used in synchronism with the commutator to demultiplex the data. TDM system is very sensitive to symbol dispersion, that is, to variation of amplitude with frequency or lack of proportionality of phase with frequency. This problem may be solved through equalization of both magnitude and phase. One of the methods used to synchronize the operations of multiplexing and demultiplexing is to organize the mutiplexed stream of data as frames with a special pattern. The pattern is known to the receiver and can be detected very easily.

Block diagram of TDM-PCM communication system

Delta Modulation Basic principle of Delta Modulation Advantages of Delta Modulation over PCM system. Limitation of Delta Modulation. Concept of Adaptive Delta Modulation (ADM)

Delta Modulation A single-bit PCM code to achieve digital transmission of analog. Logic ‘0’ is transmitted if current sample is smaller than the previous sample Logic ‘1’ is transmitted if current sample is larger than the previous sample

Operation of Delta Modulation

Delta Modulation (DM) Analog input is approximated by a staircase function Move up or down one level () at each sample interval (by one quantization level at each sampling time)  output of DM is a single bit. Binary behavior Function moves up or down at each sample interval In DM the quantization levels are represented by two symbols: 0 for - and 1 for +. In fact the coding process is performed on eq. The main advantage of DM is its simplicity

The transmitter of a DM System

The receiver of a DM system

Delta Modulation - example

Slope overload distortion is due to the fact that the staircase approximation mq(t) can't follow closely the actual curve of the message signal m(t ). In contrast to slope-overload distortion, granular noise occurs when  is too large relative to the local slope characteristics of m(t). granular noise is similar to quantization noise in PCM. It seems that a large  is needed for rapid variations of m(t) to reduce the slope-overload distortion and a small  is needed for slowly varying m(t) to reduce the granular noise. The optimum  can only be a compromise between the two cases. To satisfy both cases, an adaptive DM is needed, where the step size  can be adjusted in accordance with the input signal m(t).

DM Performance Good voice reproduction PCM - 128 levels (7 bit) Voice bandwidth 4khz Should be 8000 x 7 = 56kbps for PCM Data compression can improve on this e.g. Interframe coding techniques for video