4.1 4-1 DIGITAL-TO-DIGITAL CONVERSION In this section, we see how we can represent digital data by...

23
4.1 4-1 DIGITAL-TO-DIGITAL CONVERSION 4-1 DIGITAL-TO-DIGITAL CONVERSION In this section, we see how we can represent In this section, we see how we can represent digital data by using digital signals. The digital data by using digital signals. The conversion involves three techniques: conversion involves three techniques: line line coding coding , , block coding block coding , and , and scrambling scrambling . Line . Line coding is always needed; block coding and coding is always needed; block coding and scrambling may or may not be needed. scrambling may or may not be needed. Line Coding Line Coding characteristics Line Coding Schemes or Methods Topics discussed in this section: Topics discussed in this section:

Transcript of 4.1 4-1 DIGITAL-TO-DIGITAL CONVERSION In this section, we see how we can represent digital data by...

Page 1: 4.1 4-1 DIGITAL-TO-DIGITAL CONVERSION In this section, we see how we can represent digital data by using digital signals. The conversion involves three.

4.1

4-1 DIGITAL-TO-DIGITAL CONVERSION4-1 DIGITAL-TO-DIGITAL CONVERSION

In this section, we see how we can represent digital In this section, we see how we can represent digital data by using digital signals. The conversion involves data by using digital signals. The conversion involves three techniques: three techniques: line codingline coding, , block codingblock coding, and , and scramblingscrambling. Line coding is always needed; block . Line coding is always needed; block coding and scrambling may or may not be needed.coding and scrambling may or may not be needed.

Line CodingLine Coding characteristicsLine Coding Schemes or Methods

Topics discussed in this section:Topics discussed in this section:

Page 2: 4.1 4-1 DIGITAL-TO-DIGITAL CONVERSION In this section, we see how we can represent digital data by using digital signals. The conversion involves three.

LINE CODING

Line coding and decoding

Page 3: 4.1 4-1 DIGITAL-TO-DIGITAL CONVERSION In this section, we see how we can represent digital data by using digital signals. The conversion involves three.

4.3

•Signal element Vs data element•Pulse rate Vs bit rate•lack of synchronization•DC Component

Line Coding characteristics

Page 4: 4.1 4-1 DIGITAL-TO-DIGITAL CONVERSION In this section, we see how we can represent digital data by using digital signals. The conversion involves three.

4.4

Figure 4.2 Signal element versus data element

Page 5: 4.1 4-1 DIGITAL-TO-DIGITAL CONVERSION In this section, we see how we can represent digital data by using digital signals. The conversion involves three.

Example 1Example 1

A signal has two data levels with a pulse duration of 1 ms. We calculate the pulse rate and bit rate

as follows:

Pulse Rate = 1/ 10Pulse Rate = 1/ 10-3-3

= 1000 pulses/s= 1000 pulses/s

Bit Rate = Pulse Rate x logBit Rate = Pulse Rate x log22 L = 1000 x log L = 1000 x log22 2 = 1000 bps 2 = 1000 bps

Page 6: 4.1 4-1 DIGITAL-TO-DIGITAL CONVERSION In this section, we see how we can represent digital data by using digital signals. The conversion involves three.

4.6

In synchronous transmission, we send bits one after another without start or

stop bits or gaps. It is the responsibility of the receiver to group the bits.

Note

Synchronous

Page 7: 4.1 4-1 DIGITAL-TO-DIGITAL CONVERSION In this section, we see how we can represent digital data by using digital signals. The conversion involves three.

4.7

Figure 4.35 Synchronous transmission

In synchronous transmission, we send bits one after another without start or stop bits or gaps.

It is the responsibility of the receiver to group the bits.

Page 8: 4.1 4-1 DIGITAL-TO-DIGITAL CONVERSION In this section, we see how we can represent digital data by using digital signals. The conversion involves three.

4.8

Figure 4.3 Effect of lack of synchronization

Page 9: 4.1 4-1 DIGITAL-TO-DIGITAL CONVERSION In this section, we see how we can represent digital data by using digital signals. The conversion involves three.

4.9

Figure 4.4 Line coding schemes

Page 10: 4.1 4-1 DIGITAL-TO-DIGITAL CONVERSION In this section, we see how we can represent digital data by using digital signals. The conversion involves three.

4.10

Unipolar NZ

•Pulse polarity is used to indicate either it is +ve or –ve

•uses only one polarity.so it is called as unipolar.•it has 2 states 1 and 0.•0-is used to indicate the zero voltage.

Page 11: 4.1 4-1 DIGITAL-TO-DIGITAL CONVERSION In this section, we see how we can represent digital data by using digital signals. The conversion involves three.

4.11

Figure 4.5 Unipolar NZ scheme

1 - indicate the +ve Edge

0 - indicate the 0th Edge

Dadvantage of Unipolar NZ scheme

•lack of synchronization•DC Component

Page 12: 4.1 4-1 DIGITAL-TO-DIGITAL CONVERSION In this section, we see how we can represent digital data by using digital signals. The conversion involves three.

4.12

Polar

RZ

NRZ

BiPhase

NRZ-L

NRZ - I

Manchester

Differential Manchester

Polar schemesPolar schemes

Page 13: 4.1 4-1 DIGITAL-TO-DIGITAL CONVERSION In this section, we see how we can represent digital data by using digital signals. The conversion involves three.

4.13

Figure 4.7 Polar RZ scheme

RZ RZ

0 Indicate 0 Indicate -ve Edge to 0-ve Edge to 0th th EdgeEdge

1 indicate +ve Edge to 01 indicate +ve Edge to 0th th EdgeEdge

Page 14: 4.1 4-1 DIGITAL-TO-DIGITAL CONVERSION In this section, we see how we can represent digital data by using digital signals. The conversion involves three.

Polar encoding uses two voltage levels (positive and negative).Polar encoding uses two voltage levels (positive and negative).

Figure 4.6 Polar NRZ-L and NRZ-I schemes

NRZ-L NRZ-L

0 0 IndicateIndicate +ve Edge +ve Edge

1 indicate –ve Edge1 indicate –ve Edge

NRZ-I NRZ-I

If next bit is 1 there is need of change in Pulse Rate If next bit is 1 there is need of change in Pulse Rate

alternatively.alternatively.

Page 15: 4.1 4-1 DIGITAL-TO-DIGITAL CONVERSION In this section, we see how we can represent digital data by using digital signals. The conversion involves three.

4.15

In NRZ-L the level of the voltage determines the value of the bit.

In NRZ-I the inversion or the lack of inversion determines the value of the bit.NRZ-L and NRZ-I both have an average signal rate of N/2 Bd.

NRZ-L and NRZ-I both have a DC component problem.

Polar NRZ-L and NRZ-I schemes

Page 16: 4.1 4-1 DIGITAL-TO-DIGITAL CONVERSION In this section, we see how we can represent digital data by using digital signals. The conversion involves three.

4.16

Figure 4.8 Polar biphase: Manchester and differential Manchester schemes

Page 17: 4.1 4-1 DIGITAL-TO-DIGITAL CONVERSION In this section, we see how we can represent digital data by using digital signals. The conversion involves three.

4.17

In Manchester and differential Manchester encoding, the transition at the middle of the bit is used for synchronization

The minimum bandwidth of Manchester and differential Manchester is 2 times that of NRZ.

In bipolar encoding, we use three levels: positive, zero, and negative.

Manchester and differential Manchester

Page 18: 4.1 4-1 DIGITAL-TO-DIGITAL CONVERSION In this section, we see how we can represent digital data by using digital signals. The conversion involves three.

4.18

Figure 4.9 Bipolar schemes: AMI and pseudoternary

AMI AMI

0 - always Indicate 0 - always Indicate 00th th EdgeEdge

1 – Whenever the occurrence of 1’s refers to the +ve Edge and -ve1 – Whenever the occurrence of 1’s refers to the +ve Edge and -ve Edge Edge

alternatively.alternatively.

PSEUDOTERNARY PSEUDOTERNARY - Alternatively +ve , Zero , -ve for all (0 and 1’s) - Alternatively +ve , Zero , -ve for all (0 and 1’s)

Page 19: 4.1 4-1 DIGITAL-TO-DIGITAL CONVERSION In this section, we see how we can represent digital data by using digital signals. The conversion involves three.

4.19

In mBnL schemes, a pattern of m data elements is encoded as a pattern of n

signal elements in which 2m ≤ Ln.

Note

Page 20: 4.1 4-1 DIGITAL-TO-DIGITAL CONVERSION In this section, we see how we can represent digital data by using digital signals. The conversion involves three.

4.20

Figure 4.10 Multilevel: 2B1Q scheme

Page 21: 4.1 4-1 DIGITAL-TO-DIGITAL CONVERSION In this section, we see how we can represent digital data by using digital signals. The conversion involves three.

4.21

Figure 4.11 Multilevel: 8B6T scheme

Page 22: 4.1 4-1 DIGITAL-TO-DIGITAL CONVERSION In this section, we see how we can represent digital data by using digital signals. The conversion involves three.

4.22

Figure 4.13 Multitransition: MLT-3 scheme

Page 23: 4.1 4-1 DIGITAL-TO-DIGITAL CONVERSION In this section, we see how we can represent digital data by using digital signals. The conversion involves three.

4.23

Table 4.1 Summary of line coding schemes