an3_derivat.ro_retele-locale_rc ca curs 02 2 digital transmission manchester ami

31
7/30/2019 An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI http://slidepdf.com/reader/full/an3derivatroretele-localerc-ca-curs-02-2-digital-transmission-manchester 1/31  Digital Transmission

Upload: george-datcu

Post on 14-Apr-2018

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

7/30/2019 An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

http://slidepdf.com/reader/full/an3derivatroretele-localerc-ca-curs-02-2-digital-transmission-manchester 1/31

 Digital 

Transmission

Page 2: An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

7/30/2019 An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

http://slidepdf.com/reader/full/an3derivatroretele-localerc-ca-curs-02-2-digital-transmission-manchester 2/31

Line Coding

Some Characteristics

 Line Coding Schemes

Some Other Schemes

Page 3: An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

7/30/2019 An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

http://slidepdf.com/reader/full/an3derivatroretele-localerc-ca-curs-02-2-digital-transmission-manchester 3/31

 Line coding

Page 4: An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

7/30/2019 An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

http://slidepdf.com/reader/full/an3derivatroretele-localerc-ca-curs-02-2-digital-transmission-manchester 4/31

Signal level versus data level 

Page 5: An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

7/30/2019 An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

http://slidepdf.com/reader/full/an3derivatroretele-localerc-ca-curs-02-2-digital-transmission-manchester 5/31

 DC component

Page 6: An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

7/30/2019 An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

http://slidepdf.com/reader/full/an3derivatroretele-localerc-ca-curs-02-2-digital-transmission-manchester 6/31

A signal has two data levels with a pulse duration of 1ms.

We calculate the pulse rate and bit rate as follows:

Pulse Rate = 1/ 10Pulse Rate = 1/ 10--33= 1000 pulses/s= 1000 pulses/s

Bit Rate = Pulse Rate x logBit Rate = Pulse Rate x log22 L = 1000 x logL = 1000 x log22 2 = 1000 bps2 = 1000 bps

Pulse Rate versus Bit RateBit Rate = Pulse Rate x Log2 L

where L= number of data levels of signals

A signal has four data levels with a pulse duration of 1ms.

We calculate the pulse rate and bit rate as follows:

Pulse Rate = 1/Pulse Rate = 1/ 1010--33 = 1000 pulses/s= 1000 pulses/s

Bit Rate =Bit Rate = PulseRatePulseRate x logx log22 L = 1000 x logL = 1000 x log22 4 = 2000 bps4 = 2000 bps

Page 7: An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

7/30/2019 An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

http://slidepdf.com/reader/full/an3derivatroretele-localerc-ca-curs-02-2-digital-transmission-manchester 7/31

 Lack of synchronization

Page 8: An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

7/30/2019 An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

http://slidepdf.com/reader/full/an3derivatroretele-localerc-ca-curs-02-2-digital-transmission-manchester 8/31

In a digital transmission, the receiver clock is 0.1 percent

faster than the sender clock. How many extra bits per 

second does the receiver receive if the data rate is 1Kbps? How many if the data rate is 100Mbps? 1 GBps ?

At 1 Kbps:

1000 bits sent1001 bits received 1 extra bpsAt 100Mbps:

100,000,000 bits sent100,0100,000 bits received 100,000 extra bps

At 1 Gbps:

1000,000,000 bits sent1,001,000,000 bits received 1,000,000 extra bps

Page 9: An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

7/30/2019 An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

http://slidepdf.com/reader/full/an3derivatroretele-localerc-ca-curs-02-2-digital-transmission-manchester 9/31

Self Synchronization

A self synchronization digital signal includestiming information in the data being transmitted.

This can be achieved if there are transitions in

the signal that alert the receiver to the

•beginning,

•middle or 

•end of the pulse.

Page 10: An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

7/30/2019 An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

http://slidepdf.com/reader/full/an3derivatroretele-localerc-ca-curs-02-2-digital-transmission-manchester 10/31

 Line coding schemes

Page 11: An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

7/30/2019 An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

http://slidepdf.com/reader/full/an3derivatroretele-localerc-ca-curs-02-2-digital-transmission-manchester 11/31

Unipolar encoding uses only one

voltage level.

Page 12: An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

7/30/2019 An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

http://slidepdf.com/reader/full/an3derivatroretele-localerc-ca-curs-02-2-digital-transmission-manchester 12/31

 Polar encoding uses two voltage levels Polar encoding uses two voltage levels

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

Page 13: An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

7/30/2019 An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

http://slidepdf.com/reader/full/an3derivatroretele-localerc-ca-curs-02-2-digital-transmission-manchester 13/31

 NRZ-L (Non Return to zero- Level) and 

 NRZ-I (Non Return to zero –Invert encoding

 In NRZ In NRZ-- I the signal is inverted if a 1 is encountered. I the signal is inverted if a 1 is encountered.

 In NRZ In NRZ-- L the level of the signal is dependent upon the state of the bit L the level of the signal is dependent upon the state of the bit . .

 If the original data has a string of consecutive 0 the receiver If the original data has a string of consecutive 0 the receiver

 can lose its place and cannot do the can lose its place and cannot do the “ “  galvanic separation galvanic separation” ” 

0 = positive signal

1 = negative signal

0 = no transition

1 = transition

Page 14: An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

7/30/2019 An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

http://slidepdf.com/reader/full/an3derivatroretele-localerc-ca-curs-02-2-digital-transmission-manchester 14/31

Nonreturn to Zero-Level (NRZ-L)

Two different voltages for 0 and 1 bits

 Voltage constant during bit interval

no transition I.e. no return to zero voltage

e.g. Absence of voltage for zero, constantpositive voltage for one

More often, negative voltage for one value

and positive for the other This is NRZ-L

Page 15: An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

7/30/2019 An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

http://slidepdf.com/reader/full/an3derivatroretele-localerc-ca-curs-02-2-digital-transmission-manchester 15/31

Nonreturn to Zero Inverted

Nonreturn to zero inverted on ones

Constant voltage pulse for duration of bit

Data encoded as presence or absence of 

signal transition at beginning of bit time

Transition (low to high or high to low)denotes a binary 1

No transition denotes binary 0

Page 16: An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

7/30/2019 An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

http://slidepdf.com/reader/full/an3derivatroretele-localerc-ca-curs-02-2-digital-transmission-manchester 16/31

NRZ pros and cons

Pros

Easy to engineer

Make good use of bandwidth

Cons dc component

Lack of synchronization capability

Used for magnetic recording Not often used for signal transmission

Page 17: An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

7/30/2019 An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

http://slidepdf.com/reader/full/an3derivatroretele-localerc-ca-curs-02-2-digital-transmission-manchester 17/31

 RZ (Return to zero) encoding

RZ uses three values :positive; negative and zero.

The signal changes during each bit.Halfway each bit interval the signal return to zero

1 = transition from positive to zero

0 = transition from negative to zero

Page 18: An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

7/30/2019 An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

http://slidepdf.com/reader/full/an3derivatroretele-localerc-ca-curs-02-2-digital-transmission-manchester 18/31

 A good encoded digital signal must A good encoded digital signal must

 contain a provision for contain a provision for synchronization. synchronization.

• Manchester encoding

• Differential Manchester encoding

• Bipolar AMI (Alternate mark inversion) encoding

• 2B1Q Two binary one quaternary)

• MLT-3 signal Multi-line transmission, three level 

Page 19: An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

7/30/2019 An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

http://slidepdf.com/reader/full/an3derivatroretele-localerc-ca-curs-02-2-digital-transmission-manchester 19/31

Biphase

Manchester

Transition in middle of each bit period

Transition serves as clock and data

Low to high represents one

High to low represents zero Used by IEEE 802.3

Differential Manchester

Midbit transition is clocking only

Transition at start of a bit period represents zero

No transition at start of a bit period represents one Note: this is a differential encoding scheme

Used by IEEE 802.5

Page 20: An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

7/30/2019 An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

http://slidepdf.com/reader/full/an3derivatroretele-localerc-ca-curs-02-2-digital-transmission-manchester 20/31

 Manchester encoding

 In Manchester encoding, the In Manchester encoding, the

 transition at the middle of the bit is transition at the middle of the bit isused for both synchronization and bitused for both synchronization and bit

 representation. representation.

Page 21: An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

7/30/2019 An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

http://slidepdf.com/reader/full/an3derivatroretele-localerc-ca-curs-02-2-digital-transmission-manchester 21/31

 Differential Manchester encoding

 In differential Manchester encoding, the transition at the In differential Manchester encoding, the transition at the

 middle of the bit is used only for synchronization. middle of the bit is used only for synchronization.The bit representation is defined by the inversionThe bit representation is defined by the inversion “ “  bit 0 bit 0” ” 

 or or noninversion noninversion “ “  bit 1 bit 1” ”  at the beginning of the bit. at the beginning of the bit.

Page 22: An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

7/30/2019 An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

http://slidepdf.com/reader/full/an3derivatroretele-localerc-ca-curs-02-2-digital-transmission-manchester 22/31

Biphase Pros and Cons

Cons

 At least one transition per bit time and possibly two

Maximum modulation rate is twice NRZ

Requires more bandwidth

Pros

Synchronization on mid bit transition (self clocking)

No dc component

Error detection

 Absence of expected transition

Page 23: An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

7/30/2019 An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

http://slidepdf.com/reader/full/an3derivatroretele-localerc-ca-curs-02-2-digital-transmission-manchester 23/31

 Bipolar AMI (Alternate mark inversion) encoding

 In bipolar encoding, we use three levels: positive, In bipolar encoding, we use three levels: positive,

 zero and negative. zero and negative. A neutral voltage represents A neutral voltage represents “ “  bit 0 bit 0” ” 

“ “  Bit 1 Bit 1” ” is represented by alternating positive and is represented by alternating positive and 

 negative voltages. negative voltages.

Page 24: An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

7/30/2019 An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

http://slidepdf.com/reader/full/an3derivatroretele-localerc-ca-curs-02-2-digital-transmission-manchester 24/31

 2B1Q (Two binary one quaternary)

Uses four voltage levels. Each pulse can thenrepresent 2 bits, making each pulse more efficient.

Page 25: An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

7/30/2019 An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

http://slidepdf.com/reader/full/an3derivatroretele-localerc-ca-curs-02-2-digital-transmission-manchester 25/31

 MLT-3 signal Multi-line transmission, three level 

There is no transition at the beginning of 0 bit,he signal transitions from one level to the next at the beginning of a 1 bit

It is similar to NRZ-I but it uses three levels of signals (+1, 0 and -1)

Page 26: An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

7/30/2019 An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

http://slidepdf.com/reader/full/an3derivatroretele-localerc-ca-curs-02-2-digital-transmission-manchester 26/31

Block Coding

Steps in Transformation

Some Common Block Codes

Page 27: An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

7/30/2019 An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

http://slidepdf.com/reader/full/an3derivatroretele-localerc-ca-curs-02-2-digital-transmission-manchester 27/31

 Block coding

We need some kind of redundancy to ensure synchronization.

We need to include other redundant bits to detect errors.

Block coding can achieve these two goals.

Page 28: An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

7/30/2019 An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

http://slidepdf.com/reader/full/an3derivatroretele-localerc-ca-curs-02-2-digital-transmission-manchester 28/31

Substitution in block coding

Page 29: An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

7/30/2019 An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

http://slidepdf.com/reader/full/an3derivatroretele-localerc-ca-curs-02-2-digital-transmission-manchester 29/31

 4B/5B encoding 4B/5B encoding

1101011010110001010010100100

1101111011110101011010110101

1110011100111001110011100110

1110111101111101111011110111

1011110111101110101101010011

1010010100

0100101001

1111011110

Code

101101011010100010

100111001110010001

100101001010000000

CodeDataData

5 bit code

 No more than three consecutive 0s on sequence of data

Some codes are used for synchronization and error detection

Page 30: An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

7/30/2019 An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

http://slidepdf.com/reader/full/an3derivatroretele-localerc-ca-curs-02-2-digital-transmission-manchester 30/31

 4B/5B encoding (Continued) 4B/5B encoding (Continued)

1000110001K (start delimiter)

0110101101T (end delimiter)

1100111001S (Set)

0011100111R (Reset)

1100011000J (start delimiter)

0010000100

1111111111

0000000000

Code

H (Halt)

I (Idle)

Q (Quiet)

Data

Page 31: An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

7/30/2019 An3_derivat.ro_retele-locale_RC CA Curs 02 2 Digital Transmission Manchester AMI

http://slidepdf.com/reader/full/an3derivatroretele-localerc-ca-curs-02-2-digital-transmission-manchester 31/31

 Example of 8B/6T encoding

8B/6T encoding is design to substitute an 8-bit group with six symbol code

Each symbol is ternary, having one of three signal levels (+1,0,-1)

An 8-bit code can represent 256 possibilities (2^8)

A six symbol ternary signal can represent 729 possibilities ( 3^6)