dccn - digital transmission

59
Data Communication and Computer Networks [EEE 314] Mubashir Husain Rehmani Assistant Professor Department of Electrical Engineering COMSATS Institute of Information Technology, Wah Cantt, Pakistan

Upload: taimoor-muzaffar-gondal

Post on 22-Jan-2018

61 views

Category:

Engineering


0 download

TRANSCRIPT

Page 1: Dccn - Digital Transmission

Data Communication and Computer Networks

[EEE 314]

Mubashir Husain RehmaniMubashir Husain Rehmani

Assistant Professor

Department of Electrical Engineering

COMSATS Institute of Information Technology,

Wah Cantt, Pakistan

Page 2: Dccn - Digital Transmission

Digital

Transmission

Page 3: Dccn - Digital Transmission

Conversion Methods

Page 4: Dccn - Digital Transmission

Digital

to

Digital Digital

Encoding

Page 5: Dccn - Digital Transmission

Line Line coding is the process of coding is the process of

converting digital data to digital converting digital data to digital

signalssignalssignalssignals

Page 6: Dccn - Digital Transmission

Line Coding

Page 7: Dccn - Digital Transmission

Signal Level vs Data Level

Page 8: Dccn - Digital Transmission

Lack of Synchronization

Page 9: Dccn - Digital Transmission

Line Coding

Page 10: Dccn - Digital Transmission

Unipolar encoding uses only one

voltage level.

In a unipolar scheme, all the

signal levels are on one side of

the time axis, either above

or below.

Page 11: Dccn - Digital Transmission

UniPolar Encoding

Page 12: Dccn - Digital Transmission

Polar encoding uses two voltage Polar encoding uses two voltage

levels (positive and negative).levels (positive and negative).

Page 13: Dccn - Digital Transmission

Types of Polar Encoding

Page 14: Dccn - Digital Transmission

� NRZ � Non Return to Zero

� NRZ-L � Non Return to Zero - Level

� NRZ-I � Non Return to Zero – Inverted

Page 15: Dccn - Digital Transmission

In NRZIn NRZ--L the level of the signal is L the level of the signal is

dependent upon the state of the dependent upon the state of the

bit.bit.bit.bit.

Page 16: Dccn - Digital Transmission

In NRZIn NRZ--I the signal is inverted if a I the signal is inverted if a

1 is encountered.1 is encountered.

Page 17: Dccn - Digital Transmission

NRZ-L and NRZ-I

Page 18: Dccn - Digital Transmission

RZ Encoding

Return-to-zero (RZ) scheme uses three values: positive,

negative, and zero. In RZ, the signal changes not

between bits but during the bit. The signal goes to 0 in the

middle of each bit. It remains there until the beginning of

the next bit.

Page 19: Dccn - Digital Transmission

Manchester Encoding

In Manchester encoding, the duration of the bit is divided into

two halves. The voltage remains at one level during the first

half and moves to the other level in the second half.

Page 20: Dccn - Digital Transmission

In Manchester encoding, the In Manchester encoding, the

transition at the middle of the bit transition at the middle of the bit

is used for both synchronization is used for both synchronization is used for both synchronization is used for both synchronization

and bit representation.and bit representation.

Page 21: Dccn - Digital Transmission

Differential Manchester

Encoding

Page 22: Dccn - Digital Transmission

In differential Manchester In differential Manchester

encoding, the transition at the encoding, the transition at the

middle of the bit is used only for middle of the bit is used only for

synchronization. synchronization. synchronization. synchronization.

The bit representation is defined The bit representation is defined

by the inversion or by the inversion or noninversionnoninversion

at the beginning of the bit.at the beginning of the bit.

Page 23: Dccn - Digital Transmission

In bipolar encoding, we use three In bipolar encoding, we use three

levels: positive, zero, levels: positive, zero,

and negative.and negative.and negative.and negative.

Page 24: Dccn - Digital Transmission

Types of Bipolar Encoding

Page 25: Dccn - Digital Transmission

BiPolar AMI Encoding

Page 26: Dccn - Digital Transmission

B8ZS Encoding

Page 27: Dccn - Digital Transmission

Analog

to

Digital Digital

Encoding

Page 28: Dccn - Digital Transmission

Analog to Digital Encoding

Page 29: Dccn - Digital Transmission

Pulse Code Modulation (PCM)

� The Analog signal is Sampled

� The Sampled signal is Quantized

� The Quantized values are encoded as stream

of bitsof bits

Page 30: Dccn - Digital Transmission

Sampling: PAM

Page 31: Dccn - Digital Transmission

Quantized PAM Signal

Page 32: Dccn - Digital Transmission

Digital

to

AnalogAnalog

Encoding

Page 33: Dccn - Digital Transmission

Digital to Analog Encoding

Page 34: Dccn - Digital Transmission
Page 35: Dccn - Digital Transmission

Bit rate is the number of bits per

second. Baud rate is the number of

signal units per second. Baud rate is signal units per second. Baud rate is

less than or equal to the bit rate.

Page 36: Dccn - Digital Transmission
Page 37: Dccn - Digital Transmission
Page 38: Dccn - Digital Transmission

ASK

In amplitude shift keying, the amplitude of the carrier signal is

varied to create signal elements. Both frequency and phase

remain constant while the amplitude changes.

Page 39: Dccn - Digital Transmission

FSK

In frequency shift keying, the frequency of the carrier

signal is varied to represent data.

Page 40: Dccn - Digital Transmission

PSK

In phase shift keying, the phase of the carrier is varied to

represent two or more different signal elements. Both peak

amplitude and frequency remain constant as the phase

changes.

Page 41: Dccn - Digital Transmission

PSK Consetllation

A constellation diagram can help us define the amplitude

and phase of a signal element

Page 42: Dccn - Digital Transmission

4-PSK Method

Page 43: Dccn - Digital Transmission

4-PSK Constellation

Page 44: Dccn - Digital Transmission

8-PSK

Page 45: Dccn - Digital Transmission

QAM

Quadrature amplitude modulation is a

combination of ASK and PSK so that a

maximum contrast between each signal maximum contrast between each signal

unit (bit, dibit, tribit, and so on) is

achieved.

Page 46: Dccn - Digital Transmission

Table 5.1 Bit and baud rate comparison

ModulationModulation UnitsUnits Bits/BaudBits/Baud Baud rateBaud rate Bit Rate

ASK, FSK, 2ASK, FSK, 2--PSKPSK Bit 1 N N

44--PSK, 4PSK, 4--QAMQAM Dibit 2 N 2N

88--PSK, 8PSK, 8--QAMQAM Tribit 3 N 3N

1616--QAMQAM Quadbit 4 N 4N

3232--QAMQAM Pentabit 5 N 5N

6464--QAMQAM Hexabit 6 N 6N

128128--QAMQAM Septabit 7 N 7N

256256--QAMQAM Octabit 8 N 8N

Page 47: Dccn - Digital Transmission

Transmission Mode

Page 48: Dccn - Digital Transmission

Parallel Transmission

Page 49: Dccn - Digital Transmission

Serial Transmission

Page 50: Dccn - Digital Transmission

In asynchronous transmission, In asynchronous transmission,

we send 1 start bit (0) at the we send 1 start bit (0) at the

beginning and 1 or more stop beginning and 1 or more stop beginning and 1 or more stop beginning and 1 or more stop

bits (1s) at the end of each byte. bits (1s) at the end of each byte.

There may be a gap between There may be a gap between

each byte.each byte.

Page 51: Dccn - Digital Transmission

Asynchronous here means Asynchronous here means

“asynchronous at the byte level,” “asynchronous at the byte level,”

but the bits are still but the bits are still but the bits are still but the bits are still

synchronized; their durations are synchronized; their durations are

the same.the same.

Page 52: Dccn - Digital Transmission

Asynchronous Tranmission

Page 53: Dccn - Digital Transmission

In synchronous transmission, In synchronous transmission,

we send bits one after another we send bits one after another

without start/stop bits or gaps. without start/stop bits or gaps. without start/stop bits or gaps. without start/stop bits or gaps.

It is the responsibility of the It is the responsibility of the

receiver to group the bits.receiver to group the bits.

Page 54: Dccn - Digital Transmission

Synchronous Tranmission

Page 55: Dccn - Digital Transmission

Modulation of Analog Signals

Amplitude Modulation (AM)

Frequency Modulation (FM)

Phase Modulation (PM)

Page 56: Dccn - Digital Transmission

Analog to Analog Modulation

Page 57: Dccn - Digital Transmission

Types of Analog Modulation

Page 58: Dccn - Digital Transmission

AM

Page 59: Dccn - Digital Transmission

FM