Top Banner
EE334: Communication Systems BE-VI LECTURE 4 LECTURE 4 11 th Feb,2014
59

CS Lec4,5 11feb

May 15, 2017

Download

Documents

cuami
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: CS Lec4,5 11feb

EE334: Communication SystemsBE-VI

LECTURE 4LECTURE 4

11th Feb,2014

Page 2: CS Lec4,5 11feb

review

Signals

Complex Waves and HarmonicsSine Wave

Square Wave

Saw tooth Wave

Conversion/Signal Formatting

Character Coding

2

Page 3: CS Lec4,5 11feb

3

Page 4: CS Lec4,5 11feb

Formatting

• Character coding

• Sampling

• Quantization

• Pulse Code Modulation(PCM)• Pulse Code Modulation(PCM)

4

Page 5: CS Lec4,5 11feb

Formatting and Transmission of

baseband signal

5

Page 6: CS Lec4,5 11feb

Input Signal

1. Textual

2. Digital

3. Analog

6

Page 7: CS Lec4,5 11feb

Different Conversion Scheme

Page 8: CS Lec4,5 11feb

1. Digital to Digital conversion

• done

Page 9: CS Lec4,5 11feb

2. Analog to Digital Conversion (Codec)

First Step: Pulse Amplitude Modulation (PAM)

• According to Nyquist theorem, the sampling rate must be at least two times the frequency to ensure the accurate reproduction of the original signal.

K. Salah

First Step: Pulse Amplitude Modulation (PAM)

Page 10: CS Lec4,5 11feb

Second step: Quantized PAM Signal

K. Salah

Quantizing Using Sign and Magnitude

Page 11: CS Lec4,5 11feb

Third Step: Pulse Code Modulation

(PCM)

K. Salah

Out of each sample, Telephone companies only uses the upper 7 bits. The lower bit (bit 0) is always assumed to be 0. For example, sampling values:

+024 � +024, +038 � +038,

+025 � +024, +039 � +038

This is not affecting sampling values much.

In transmission, the most significant bit is used for control purposes, as we will see later.

Remember this

Page 12: CS Lec4,5 11feb

From Analog to PCM digital signal

K. Salah

Page 13: CS Lec4,5 11feb

Sample Theorem

Need for sampling:

In analog signal, distortion is produced, and it

is difficult to recover the signal, However it is

easy to do so in digital signal.easy to do so in digital signal.

13

Page 14: CS Lec4,5 11feb

Sampling Theorem(contd.)

14

Page 15: CS Lec4,5 11feb

Sampling(contd.)

15

Page 16: CS Lec4,5 11feb

Impulse Sampling

Use of Impulse:

At a particular point, we get a sample.

When any function is multiplied by impulse When any function is multiplied by impulse function at t=xsec, we get a sample of that function at x sec.

If we want to recover complete signal we have to multiply by impulse train.

16

Page 17: CS Lec4,5 11feb

Impulse sampling(contd.)

17

Page 18: CS Lec4,5 11feb

Impulse sampling : Using convolution

property

18

Page 19: CS Lec4,5 11feb

19

Page 20: CS Lec4,5 11feb

20

Page 21: CS Lec4,5 11feb

21

Page 22: CS Lec4,5 11feb

Natural Sampling

22

Page 23: CS Lec4,5 11feb

23

Page 24: CS Lec4,5 11feb

Sampling Theorem using frequency

shifting property of Fourier Transform

24

Page 25: CS Lec4,5 11feb

25

Page 26: CS Lec4,5 11feb

Under and over sampling

26

Page 27: CS Lec4,5 11feb

Over and under sampling

27

Page 28: CS Lec4,5 11feb

Aliasing

Aliasing refers to an effect that causes different

signals to become indistinguishable (or aliases

of one another) when sampled. It also refers to

the distortion that results when the signalthe distortion that results when the signal

reconstructed from samples is different from the

original continuous signal.

28

Page 29: CS Lec4,5 11feb

Aliasing

29

Page 30: CS Lec4,5 11feb

30

Page 31: CS Lec4,5 11feb

Use of Filters

31

Page 32: CS Lec4,5 11feb

Use of Filters

32

Page 33: CS Lec4,5 11feb

Converting bit into samples

• Quantizing

• Similar concept to pixelization.

• Breaks wave into pieces, assigns a value in a

particular rangeparticular range

• 8-bit range allows for 256 possible sample

levels

• More bits means greater detail, fewer bits

means less detail

Page 34: CS Lec4,5 11feb

Quantization/Digitizing/PCM

Uniform Quantization

Non uniform Quantization

34

Page 35: CS Lec4,5 11feb

Analog to Digital Conversion

(Sampling)

35

Page 36: CS Lec4,5 11feb

36

Page 37: CS Lec4,5 11feb

37

Page 38: CS Lec4,5 11feb

38

Page 39: CS Lec4,5 11feb

PCM

Page 40: CS Lec4,5 11feb

PCM

Page 41: CS Lec4,5 11feb

PCM

Page 42: CS Lec4,5 11feb

42

Page 43: CS Lec4,5 11feb

43

Page 44: CS Lec4,5 11feb

Non-Uniform Uniform

44

Page 45: CS Lec4,5 11feb

Non Uniform Quantization

45

Page 46: CS Lec4,5 11feb

46

Page 47: CS Lec4,5 11feb

Companding

47

Page 48: CS Lec4,5 11feb

Quantization Levels

48

Page 49: CS Lec4,5 11feb

PCM

PCM uses a sampling rate of 8000 samples per

second.

Each sample is an 8 bit sample resulting in a Each sample is an 8 bit sample resulting in a

digital rate of 64,000 bps (8 x 8000).

Page 50: CS Lec4,5 11feb

• n=number of pulses(bit)

• L=M=number of levels=2^n

• Step size= 2A/M

• s0=m^2(t)• s0=m^2(t)

50

Page 51: CS Lec4,5 11feb

Quantization Error

• Analog voice data must be translated into a series of binary digits before they can be transmitted.

• With Pulse Code Modulation (PCM), the amplitude of the sound wave is sampled at amplitude of the sound wave is sampled at regular intervals and translated into a binary number.

• The difference between the original analog signal and the translated digital signal is called quantizing error.

Page 52: CS Lec4,5 11feb

3. Digital to Analog Modulation

(Modem)

K. Salah

Page 53: CS Lec4,5 11feb

4. Analog to analog Conversion

Page 54: CS Lec4,5 11feb

Amplitude Modulation

K. Salah

Page 55: CS Lec4,5 11feb

Frequency Modulation

K. Salah

Page 56: CS Lec4,5 11feb

Structure of Telephone System

• End office, known also as local central office

• Local loops (twisted pairs, analog signaling)

• Trunks (fiber optics or microwave, mostly digital)

• Intermediate switches

K. Salah

Page 57: CS Lec4,5 11feb

Need for A/D and D/A conversions

• Modem converts D/A signals

• Codec converts A/D signals

K. Salah

Page 58: CS Lec4,5 11feb

Question of Lecture

• What is the difference between time and frequency domain?

• Any complex waveform is composed of?

• A square wave is composed of?

• A saw tooth wave is composed of?

• Prove that sine wave is composed of main frequency and all • Prove that sine wave is composed of main frequency and all harmonics using Fourier series?

• Prove that square wave is composed of main frequency and all odd harmonics using Fourier series?

• Read what is ASCII coding?

• What is M-ary pulse modulation

58

Page 59: CS Lec4,5 11feb

Asssignment#1

Due Date: 21Feb, 2014

1. Prove through Fourier series that sine waveform is a fundamental waveform?is a fundamental waveform?

2. What is the harmonic composition of a square wave?

3. Draw and explain the basic communication system taking PSTN as an exemplary network?

4. What is m-ary pulse modulation?

59