24
DIGITAL-TO-DIGITAL CONVERSION 1 Line Coding Line Coding Schemes Block Coding Scrambling

DIGITAL-TO-DIGITAL CONVERSION 1 Line Coding Line Coding Schemes Block Coding Scrambling

Embed Size (px)

Citation preview

Page 1: DIGITAL-TO-DIGITAL CONVERSION 1 Line Coding Line Coding Schemes Block Coding Scrambling

DIGITAL-TO-DIGITAL CONVERSION

1

Line CodingLine Coding SchemesBlock CodingScrambling

Page 2: DIGITAL-TO-DIGITAL CONVERSION 1 Line Coding Line Coding Schemes Block Coding Scrambling

Signal Encoding Techniques

2

Page 3: DIGITAL-TO-DIGITAL CONVERSION 1 Line Coding Line Coding Schemes Block Coding Scrambling

Digital Data, Digital Signal

digital signal discrete, discontinuous voltage pulses each pulse is a signal element binary data encoded into signal elements

3

Page 4: DIGITAL-TO-DIGITAL CONVERSION 1 Line Coding Line Coding Schemes Block Coding Scrambling

Terminology unipolar – all signal elements have the same sign polar – one logic state represented by positive voltage

and the other by negative voltage Bipolar -- A binary 0 is encoded as zero volts as in

unipolar encoding. A binary 1 is encoded alternately as a positive voltage and a negative voltage.

data rate – rate of data ( R ) transmission in bits per second

duration or length of a bit – time taken for transmitter to emit the bit (1/R)

modulation rate – rate at which the signal level changes, measured in baud = signal elements per second.

mark and space – binary 1 and binary 04

Page 5: DIGITAL-TO-DIGITAL CONVERSION 1 Line Coding Line Coding Schemes Block Coding Scrambling

Line coding schemes

5

Page 6: DIGITAL-TO-DIGITAL CONVERSION 1 Line Coding Line Coding Schemes Block Coding Scrambling

Digital Signal Encoding Formats

6

Page 7: DIGITAL-TO-DIGITAL CONVERSION 1 Line Coding Line Coding Schemes Block Coding Scrambling

Nonreturn to Zero-Level (NRZ-L) easiest way to transmit digital signals is to use two

different voltages for 0 and 1 bits voltage constant during bit interval

no transition (no return to zero voltage)absence of voltage for 0, constant positive voltage

for 1more often, a negative voltage represents one

value and a positive voltage represents the other(NRZ-L)

7

Page 8: DIGITAL-TO-DIGITAL CONVERSION 1 Line Coding Line Coding Schemes Block Coding Scrambling

Non-return to Zero Inverted (NRZI)

Non-return to zero, invert on ones constant voltage pulse for duration of bit data encoded as presence or absence of

signal transition at beginning of bit timetransition (low to high or high to low) denotes

binary 1no transition denotes binary 0

8

Page 9: DIGITAL-TO-DIGITAL CONVERSION 1 Line Coding Line Coding Schemes Block Coding Scrambling

NRZ Pros & Cons

lack of synchronization capability

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

used for magnetic recording

not often used for signal transmission

Pros• easy to

engineer• make efficient

use of bandwidth

Cons• presence of a

dc component• lack of

synchronization capability

9

Page 10: DIGITAL-TO-DIGITAL CONVERSION 1 Line Coding Line Coding Schemes Block Coding Scrambling

Binary Bipolar-AMI

use more than two signal levels Bipolar-AMI

binary 0 represented by no line signalbinary 1 represented by positive or negative

pulsebinary 1 pulses alternate in polarityno loss of sync if a long string of ‘1’s occursno net dc component lower bandwidtheasy error detection

10

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

Page 11: DIGITAL-TO-DIGITAL CONVERSION 1 Line Coding Line Coding Schemes Block Coding Scrambling

11

AMI encoding

Page 12: DIGITAL-TO-DIGITAL CONVERSION 1 Line Coding Line Coding Schemes Block Coding Scrambling

Multilevel Binary Pseudoternary

binary 1 represented by absence of line signal binary 0 represented by alternating positive and

negative pulses no advantage or disadvantage over bipolar-AMI

and each is the basis of some applications

12

Page 13: DIGITAL-TO-DIGITAL CONVERSION 1 Line Coding Line Coding Schemes Block Coding Scrambling

Theoretical Bit Error Rate

13

The multilevel binary signal requires approximately 3 dB more signal power than a two-valued signal for the same probability of bit error.

Page 14: DIGITAL-TO-DIGITAL CONVERSION 1 Line Coding Line Coding Schemes Block Coding Scrambling

Polar biphase: Manchester Encoding transition in middle of each bit period midbit transition serves as clock and data low to high transition represents a 1 high to low transition represents a 0 used by IEEE 802.3

14

Page 15: DIGITAL-TO-DIGITAL CONVERSION 1 Line Coding Line Coding Schemes Block Coding Scrambling

Polar biphase: Manchester and differential Manchester schemes

15

Page 16: DIGITAL-TO-DIGITAL CONVERSION 1 Line Coding Line Coding Schemes Block Coding Scrambling

Differential Manchester Encoding midbit transition is only used for clocking transition at start of bit period representing

0 no transition at start of bit period

representing 1this is a differential encoding scheme

used by IEEE 802.5

16

Page 17: DIGITAL-TO-DIGITAL CONVERSION 1 Line Coding Line Coding Schemes Block Coding Scrambling

Biphase Pros and Cons

Cons• at least one transition per

bit time and may have two• maximum modulation rate

is twice NRZ• requires more bandwidth

Pros• synchronization on midbit

transition (self clocking)• has no dc component• has error detection

17

Page 18: DIGITAL-TO-DIGITAL CONVERSION 1 Line Coding Line Coding Schemes Block Coding Scrambling

Spectral Density of Various Signal Encoding Schemes

18

Page 19: DIGITAL-TO-DIGITAL CONVERSION 1 Line Coding Line Coding Schemes Block Coding Scrambling

Normalized Signal Transition Rate of Various Digital Signal Encoding Schemes

Table 5.3  

19

Page 20: DIGITAL-TO-DIGITAL CONVERSION 1 Line Coding Line Coding Schemes Block Coding Scrambling

AMI used with scrambling

20

Page 21: DIGITAL-TO-DIGITAL CONVERSION 1 Line Coding Line Coding Schemes Block Coding Scrambling

B8ZS (Bipolar with 8-zero substitution) scrambling technique (USA)

21

a. Proceeding pulse is positive; 8 zero are coded as 000+-0-+;b. Proceeding pulse is negative; 8 zero are coded as 000-+0+-;

Page 22: DIGITAL-TO-DIGITAL CONVERSION 1 Line Coding Line Coding Schemes Block Coding Scrambling

HDB3 Substitution Rules (Europe)

22

Page 23: DIGITAL-TO-DIGITAL CONVERSION 1 Line Coding Line Coding Schemes Block Coding Scrambling

In Multilevel (mBnL) schemes, a pattern of m data elements is encoded as a

pattern of n signal elements in which 2m ≤ Ln.

Note

23

Multilevel schemes: increase the number of bits per baud.

Page 24: DIGITAL-TO-DIGITAL CONVERSION 1 Line Coding Line Coding Schemes Block Coding Scrambling

Multilevel: 2B1Q (2 binary, 1 quaternary) scheme, used in DSL

24