Professional Documents
Culture Documents
BS Electronics Engineering
•It converts the input i.e. symbol sequence into a binary sequence of 0’s and 1’s by
assigning code words to the symbols in the input sequence.
•The important parameters of a source encoder are block size, code word
lengths, average data rate and the efficiency of the coder
Source Coding
Conversion Mehod
-Digital-to-digital conversion
(encoding digital data into digital signal)
-Analog-to-digital conversion
(digitizing analog signal)
-Digital-to-analog conversion
(modulating a digital signal)
-Analog-to-analog conversion
(modulating analog signal)
Line Coding
the process of converting binary data to a digital
signal.
•Transmitter - inserting clocks into data
according to a selected coding scheme
•Receiver - separating clocks and data from the
incoming embedded stream.
•Systems that use coding are synchronous
systems .
•
Characteristics of Line Coding
• DC Component
-if all the positive voltages are cancelled by a
negative voltages then DC component is zero
- In line coding, the signal with non zero DC
component is treated as distorted one and it
can create errors in received signal
Characteristics of Line Coding
Characteristics of Line Coding
• Synchronization
-the receiver bit interval corresponds exactly to
the sender bit interval
- The clock frequency of the transmitter and
receiver should be the same
Characteristics of Line Coding
Digital to Digital Encoding
•The binary signals created by your computer (DTE) are translated
into a sequence of voltage pulses that can be sent through the
transmission medium.
•Binary signals have two basic parameters: amplitude and duration.
•As the number of bits sent per unit of time increases, the bit
duration decreases.
•The three most common methods of encoding used are: unipolar ,
polar , and bipolar .
Unipolar
1 low-to-high transition
0 high-to-low transition
Manchester Encoding
Manchester Encoding
• Code is self-clocking
• Transition for every bit in the middle of the bit cell
• TrUsed in Token Ring or IEEE 802.5-compliant LANs.
1 1 0 0 1 0 1
Line Coding
V means the same polarity as the polarity of previous non zero pulse
B means the polarity opposite to the polarity of previous non zero pulse
HDB3
B8ZS
1. 2B/1Q
2. 8B/6T
3. 4D PAM5
4. MLT-3
5. HDB3
6. B8ZS
Block Coding
• 4B/5B Table
• 3 steps
• Division, Substitution, Combination
4B/5B
• 1000/0100/0000/0011/0100/0010/1110/0001
• 10010/01010/11110/10101/01010/10100/111
00/01001
• 10010010101111010101010101110001001
8B/10B
• 10000100/00000011/01000010/11100001
• 001010 1101/ 110001 0100/ 010010 0101/
1000101110
• 001010110111000101000100100101
1000101110
8B/10B
• Activity 5
• Given Data Stream, assume RD is negative,
Find 1) 4B/5B – NRZ-I 2) 8B/10B – NRZ-I
• 0100010010010100000101001110101001010
1011010101000001111110011000010001011
1110000001001011000001000001011111101
0001111000101110100000011111111101100
0001000000011000000110100001001111101
0110010000000001010100011111111