EXPERIMENT 4 PULSE CODE MODULATION

Similar documents
CHAPTER 4. PULSE MODULATION Part 2

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

Pulse Code Modulation

Class 4 ((Communication and Computer Networks))

Communications IB Paper 6 Handout 3: Digitisation and Digital Signals

SEN366 Computer Networks

Data Encoding g(p (part 2)


Principles of Communications ECS 332

Communications I (ELCN 306)

Introduction to Discrete-Time Control Systems

Digital Communication System

Communication Theory II

Digital Communication System

Fundamentals of Digital Communication

QUESTION BANK SUBJECT: DIGITAL COMMUNICATION (15EC61)

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

SIGNALS AND SYSTEMS LABORATORY 13: Digital Communication

YEDITEPE UNIVERSITY ENGINEERING FACULTY COMMUNICATION SYSTEMS LABORATORY EE 354 COMMUNICATION SYSTEMS

TELECOMMUNICATION SYSTEMS

DIGITAL COMMUNICATION

1 Analog and Digital Communication Lab

EEE 309 Communication Theory

Pulse Code Modulation (PCM)

INTRODUCTION TO COMMUNICATION SYSTEMS LABORATORY IV. Binary Pulse Amplitude Modulation and Pulse Code Modulation


Amplitude modulator trainer kit diagram

CSCD 433 Network Programming Fall Lecture 5 Physical Layer Continued

Sampling and Pulse Code Modulation Chapter 6

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

CHAPTER 2. Instructor: Mr. Abhijit Parmar Course: Mobile Computing and Wireless Communication ( )

Signal Encoding Techniques

PULSE CODE MODULATION (PCM)

DEPARTMENT OF CSE QUESTION BANK

CSCD 433 Network Programming Fall Lecture 5 Physical Layer Continued

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

Digital Audio. Lecture-6

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

Ch 5 Hardware Components for Automation

Basic Concepts in Data Transmission

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

EEE 309 Communication Theory

Annex. 1.3 Measuring information

Chapter-3 Waveform Coding Techniques

Communications and Signals Processing

Communication Systems Lab

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

Chapter 3 Digital Transmission Fundamentals

Experiment # (3) PCM Modulator

CS601_MIDTERM_SOLVE_PAPER ( COMPOSED BY SADIA ALI SADII

UNIT TEST I Digital Communication

Basic Communications Theory Chapter 2

ANALOGUE AND DIGITAL COMMUNICATION

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

DIGITAL COMMUNICATIONS LAB

Multiplexing Concepts and Introduction to BISDN. Professor Richard Harris

ECT-215 Homework #1 Solution Set Chapter 14 Problems 1-29

Chapter 6: Introduction to Digital Communication

Chapter 2: Fundamentals of Data and Signals

Pulse Code Modulation

6.450: Principles of Digital Communication 1

ITM 1010 Computer and Communication Technologies

UNIT I Source Coding Systems

Outline. EECS 3213 Fall Sebastian Magierowski York University. Review Passband Modulation. Constellations ASK, FSK, PSK.

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

CS441 Mobile & Wireless Computing Communication Basics

BLOCK DIAGRAM: PULSE CODE MODULATION: FUNCTION GENERATOR CHECKER CIRCUIT DEMODULATED O/P TIMING

STUFF HAPPENS. A Naive/Ideal Communication System Flat Fading What if... idealized system. 9: Stuff Happens

Chapter 4 Digital Transmission 4.1

Chapter 3 Data Transmission COSC 3213 Summer 2003

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

TE 302 DISCRETE SIGNALS AND SYSTEMS. Chapter 1: INTRODUCTION

EE 210 Lab Exercise #4 D/A & A/D Converters

Digital Communication (650533) CH 3 Pulse Modulation

Data Encoding. Two devices are used for producing the signals: CODECs produce DIGITAL signals MODEMs produce ANALOGUE signals

MTI 7602 PCM Modulation and Demodulation

Theory of Telecommunications Networks

CS601 Data Communication Solved Objective For Midterm Exam Preparation

II Year (04 Semester) EE6403 Discrete Time Systems and Signal Processing

Downloaded from 1

Chapter 4 Digital Transmission 4.1

QUESTION BANK. Sandeep Kumar Bansal. Electronics & Communication Department

Multiplexing Module W.tra.2

EIE 441 Advanced Digital communications

Simulation Scenario For Digital Conversion And Line Encoding Of Data Transmission

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

Department of Electronics and Communication Engineering 1

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

Signal Characteristics

(Refer Slide Time: 3:11)

Principles of Baseband Digital Data Transmission

COMPUTER COMMUNICATION AND NETWORKS ENCODING TECHNIQUES

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

CS601-Data Communication Latest Solved Mcqs from Midterm Papers

CT111 Introduction to Communication Systems Lecture 9: Digital Communications

10 Speech and Audio Signals

FFT Analyzer. Gianfranco Miele, Ph.D

IMPLEMENTATION OF SIMULATION-BASED LABORATORY EXPERIMENT USING MATLAB SIMULINK TOOL FOR PULSE CODE MODULATION (PCM) IN DIGITAL COMMUNICATION COURSE

DigiPoints Volume 1 SINE WAVES VA 3.1 SCTE

Transcription:

EXPERIMENT 4 PULSE CODE MODULATION 1.0 OBJECTIVES 1.1 To generate sampled signal using SCILAB software. 1.2 To perform Pulse Code Modulation system using SCILAB. 2.0 EQUIPMENT/APPARATUS SCILAB Software 3.0 THEORY 3.1 Pulse Code Modulation Pulse Code Modulation (PCM) is the digitally encoded modulation technique that is commonly used for digital transmission. With PCM, the pulses are of fixed length and fixed amplitude. PCM is a binary system where a pulse or lack of pulse within a prescribed time slot represents either a logic 1 or a logic 0 condition. 3.2 PCM Block Diagram Figure 1 shows a simplified block diagram of a single-channel, simplex (one-way only) PCM system. The low-pass filter band-limited the frequency of the analog input signal to the maximum frequency in accordance with the sampling theorem. It is then sampled and converted those samples to a multilevel PAM signal. The sampled pulses (PAM samples) are rounded off to the nearest pre-determined level (quantized level) in the quantizer. Then the quantized samples are converted into groups according to the binary code in the encoder. These coded pulses are then modulated digitally in the modulator (modem) before being transmitted through the channel. 1

Digital Signal TRANSMITTER Analog Signal (i/p) Low Pass Filter (LPF) Sampler Quantizer Coder Digital Modulator Channel Analog Signal (i/p) Low Pass Filter (LPF) Expandor Decoder Demodulator Digital Signal RECEIVER Figure 1 : Simplified block diagram of a single-channel, simplex PCM transmission system. 3.2.1 Sampling Sampling is the process of taking samples of the analog input signal at a rate of Nyquist sampling frequency. The function of a sampling circuit in a PCM transmitter is to periodically sample the continually changing analog input voltage and convert those samples to a series of constant-amplitude pulses that can more easily be converted to binary PCM code. 3.2.2 Quantization Quantization is the process of converting an infinite number of amplitude possibilities (analog signal samples) to a finite number of conditions (predetermined discrete levels). The number of quantization levels, L, deps on the number of bits per sample, n, used to code the analog signal where L = 2 n (1) The magnitude of the stepsize of the quantization levels is called resolution, ΔV. The resolution deps on the maximum voltage, V max, and the minimum voltage, V min, of the information signal, where V V max V min L 1 (2) 2

3.2.3 Encoding Encoding is a process where each quantized sample is digitally encoded into n-bits codeword, where n log 2 L (4.5) where n = number of bits/sample L = number of quantization levels 3

EXAMPLE : Consider a signal x(t) = sin 2π5t is to be quantized into 8 levels. The number of samples is 1000. Write a command using Scilab to plot the following signal : (i) Original signal (ii) Quantized signal Determine the encoding bit for each sample. SOLUTION : clc; close; t = 0:0.001:1; x = sin(2*%pi*5*t); L = 8; //quantization xmax = max(abs(x)); xq = x/xmax; en_code = xq; d = 2/L; q = d*[0:l-1]; q = q-((l-1)/2)*d; for i = 1:L xq(find(((q(i)-d/2)<= xq)&(xq<=(q(i)+d/2))))=q(i).*ones(1,length(find(((q(i)- d/2)<=xq)&(xq<=(q(i)+d/2))))); en_code(find(xq == q(i)))= (i-1).*ones(1,length(find(xq == q(i)))); xq = xq*xmax; plot2d2(t*2*%pi,x); plot2d2(t*2*%pi,xq,5); (iii) Encoding n = log2(l); c = zeros(length(x),n); for i = 1:length(x) for j = n:-1:0 if(fix(en_code(i)/(2^j))==1) c(i,(n-j)) =1; en_code(i) = en_code(i)-2^j; disp(c) 4

EXERCISE 1) A sinusoidal input signal, m(t) having an amplitude of 1V is sampled at 1000 samples and the samples are quantized to 16 evenly spaced levels. (a) Use Scilab to plot the following signal : (i) (ii) Original signal Quantizing signal. (b) Determine the PCM code using SCILAB. 2) A sinusoidal input signal, m(t) having an amplitude of 1V is sampled at 100 samples and the samples are quantized to 8 evenly spaced levels. Use Scilab to plot the following signal : (a) Use Scilab to plot the following signal : (iii) Original signal (iv) Quantizing signal. (b) Determine the PCM code using SCILAB. (c) Determine the voltage of input signal that represented by 010, 011, and 110. 1. Report *Your report should include: Result, Discussion, Conclusion, Appix. 5