SlideShare a Scribd company logo
1 of 60
Chapter 4 Digital Transmission
4.1  Line Coding Some Characteristics Line Coding Schemes Some Other Schemes
Figure 4.1   Line coding
Figure 4.2   Signal level versus data level
Figure 4.3   DC component
Figure 4.4   Lack of synchronization
Figure 4.5   Line coding schemes
Unipolar encoding uses only one voltage level. Note:
Figure 4.6   Unipolar encoding
Polar encoding uses two voltage levels (positive and negative). Note:
Figure 4.7   Types of polar encoding
In NRZ-L the level of the signal is dependent upon the state of the bit. Note:
In NRZ-I the signal is inverted if a 1 is encountered. Note:
Figure 4.8   NRZ-L and NRZ-I encoding
Figure 4.9   RZ encoding
A good encoded digital signal must contain a provision for synchronization. Note:
Figure 4.10   Manchester encoding
In Manchester encoding, the transition at the middle of the bit is used for both synchronization and bit representation. Note:
Figure 4.11   Differential Manchester encoding
In differential Manchester encoding, the transition at the middle of the bit is used only for synchronization.  The bit representation is defined by the inversion or noninversion at the beginning of the bit. Note:
In bipolar encoding, we use three levels: positive, zero,  and negative. Note:
Figure 4.12   Bipolar AMI encoding
Figure 4.13   2B1Q
Figure 4.14   MLT-3 signal
4.2  Block Coding Steps in Transformation Some Common Block Codes
Block Coding ,[object Object],[object Object],[object Object],[object Object]
Figure 4.15   Block coding
[object Object],[object Object],11101 1111 F 11100 1110 E 11011 1101 D ... ... ... 10100 0010 2 01001 0001 1 11110 0000 0 4B5B Code (Binary)‏ Data (Hex)‏ 4B5B Encoding Table
Figure 4.16   Substitution in block coding
Table 4.1  4B/5B encoding 11010 1100 01010 0100 11011 1101 01011 0101 11100 1110 01110 0110 11101 1111 01111 0111 10111 1011 10101 0011 10100 01001 11110 Code 10110 1010 0010 10011 1001 0001 10010 1000  0000 Code Data Data
Table 4.1  4B/5B encoding (Continued)‏ 10001 K (start delimiter)‏ 01101 T (end delimiter)‏ 11001 S (Set)‏ 00111 R (Reset)‏ 11000 J (start delimiter)‏ 00100 11111 00000 Code H (Halt)  I (Idle)  Q (Quiet)‏ Data
Figure 4.15  Using block coding 4B/5B with NRZ-I line coding scheme
Portion of 8B6T Code Table
Figure 4.17   Example of 8B/6T encoding
Scrambling ,[object Object],[object Object],[object Object],[object Object]
B8ZS Bipolar with 8 zero substitution4 Eight consecutive zero level voltages are replaced by the sequence 000VB0VB: V stands for voilation breaks AMI rule. Oppsite polarity from the previous.  B denotes bipolar. Whch is in accordance with AMI rule.
Figure 4.19  Two cases of B8ZS scrambling technique B8ZS substitutes eight consecutive zeros with 000VB0VB
Figure 4.20  Different situations in HDB3 scrambling technique HDB3 substitutes four consecutive zeros with 000V or B00V depending on the number of nonzero pulses after the last substitution.
4.3  Sampling Pulse Amplitude Modulation Pulse Code Modulation Sampling Rate: Nyquist Theorem How Many Bits per Sample? Bit Rate
Figure 4.18   PAM
Pulse amplitude modulation has some applications, but it is not used by itself in data communication. However, it is the first step in another very popular conversion method called  pulse code modulation. Note:
Figure 4.19   Quantized PAM signal
Figure 4.20   Quantizing by using sign and magnitude
Figure 4.21   PCM
Figure 4.22   From analog signal to PCM digital code
According to the Nyquist theorem, the sampling rate must be at least 2 times the highest frequency. Note:
Figure 4.23   Nyquist theorem
Example 4 What sampling rate is needed for a signal with a bandwidth of 10,000 Hz (1000 to 11,000 Hz)?  Solution The sampling rate must be twice the highest frequency in the signal: Sampling rate = 2 x (11,000) = 22,000 samples/s
Example 5 A signal is sampled. Each sample requires at least 12 levels of precision (+0 to +5 and -0 to -5). How many bits should be sent for each sample? Solution We need 4 bits; 1 bit for the sign and 3 bits for the value. A 3-bit value can represent 2 3  = 8 levels (000 to 111), which is more than what we need. A 2-bit value is not enough since 2 2  = 4. A 4-bit value is too much because 2 4  = 16.
Example 6 We want to digitize the human voice. What is the bit rate, assuming 8 bits per sample? Solution The human voice normally contains frequencies from 0 to 4000 Hz.  Sampling rate = 4000 x 2 = 8000 samples/s Bit rate = sampling rate x number of bits per sample  = 8000 x 8 = 64,000 bps = 64 Kbps
Note that we can always change a band-pass signal to a low-pass signal before sampling. In this case, the sampling rate is twice the bandwidth. Note:
4.4  Transmission Mode Parallel Transmission Serial Transmission
Figure 4.24   Data transmission
Figure 4.25   Parallel transmission
Figure 4.26   Serial transmission
In asynchronous transmission, we send 1 start bit (0) at the beginning and 1 or more stop bits (1s) at the end of each byte. There may be a gap between each byte. Note:
Asynchronous here means “asynchronous at the byte level,” but the bits are still synchronized; their durations are the same. Note:
Figure 4.27   Asynchronous transmission
In synchronous transmission,  we send bits one after another without start/stop bits or gaps.  It is the responsibility of the receiver to group the bits. Note:
Figure 4.28   Synchronous transmission

More Related Content

What's hot (20)

Analog to Digital Converters
Analog to Digital ConvertersAnalog to Digital Converters
Analog to Digital Converters
 
Ch 04
Ch 04Ch 04
Ch 04
 
Framing Protocols
Framing ProtocolsFraming Protocols
Framing Protocols
 
Pentinum 2
Pentinum 2Pentinum 2
Pentinum 2
 
What is Gray Code?
What is Gray Code? What is Gray Code?
What is Gray Code?
 
Binary codes
Binary codesBinary codes
Binary codes
 
Turbo codes
Turbo codesTurbo codes
Turbo codes
 
Digital modulation techniques
Digital modulation techniquesDigital modulation techniques
Digital modulation techniques
 
Convolution Codes
Convolution CodesConvolution Codes
Convolution Codes
 
Multiple access techniques for wireless communications
Multiple access techniques for wireless communicationsMultiple access techniques for wireless communications
Multiple access techniques for wireless communications
 
Pcm
PcmPcm
Pcm
 
Error detection and correction
Error detection and correctionError detection and correction
Error detection and correction
 
Data Encoding
Data EncodingData Encoding
Data Encoding
 
Pn sequence
Pn sequencePn sequence
Pn sequence
 
Digital communication systems
Digital communication systemsDigital communication systems
Digital communication systems
 
Floating point arithmetic
Floating point arithmeticFloating point arithmetic
Floating point arithmetic
 
Line coding
Line codingLine coding
Line coding
 
Data Communication & Computer Networks: Multi level, multi transition & block...
Data Communication & Computer Networks: Multi level, multi transition & block...Data Communication & Computer Networks: Multi level, multi transition & block...
Data Communication & Computer Networks: Multi level, multi transition & block...
 
Line coding
Line codingLine coding
Line coding
 
8251 USART
8251 USART8251 USART
8251 USART
 

Similar to 1432.encoding concepts

Chapter 4 - Digital Transmission
Chapter 4 - Digital TransmissionChapter 4 - Digital Transmission
Chapter 4 - Digital TransmissionWayne Jones Jnr
 
Ch04
Ch04Ch04
Ch04H K
 
04 digital transmission
04 digital transmission04 digital transmission
04 digital transmissionMeenakshi Paul
 
Chapter 4 digital transmission computer_network
Chapter 4 digital transmission  computer_networkChapter 4 digital transmission  computer_network
Chapter 4 digital transmission computer_networkDhairya Joshi
 
04 Digital Transmission
04 Digital Transmission04 Digital Transmission
04 Digital TransmissionAhmar Hashmi
 
Digital Transmission
Digital TransmissionDigital Transmission
Digital TransmissionTechiNerd
 
Data Communication and Networking
Data Communication and NetworkingData Communication and Networking
Data Communication and NetworkingEdlynne Ogena
 
Line_Coding.ppt for engineering students for ug and pg
Line_Coding.ppt for engineering students for ug and pgLine_Coding.ppt for engineering students for ug and pg
Line_Coding.ppt for engineering students for ug and pgHasanujJaman11
 
line coding techniques, block coding and all type of coding
line coding techniques, block coding and all type of codingline coding techniques, block coding and all type of coding
line coding techniques, block coding and all type of codingDrZMaryLivinsaProfEC
 
Ch3 Digital Transmission.ppt
Ch3 Digital Transmission.pptCh3 Digital Transmission.ppt
Ch3 Digital Transmission.pptfatinHumaira14
 
Data Communication And Networking - DIGITAL TRANSMISSION
Data Communication And Networking - DIGITAL TRANSMISSIONData Communication And Networking - DIGITAL TRANSMISSION
Data Communication And Networking - DIGITAL TRANSMISSIONAvijeet Negel
 
Line coding Tec hniques.pptx
Line coding Tec                 hniques.pptxLine coding Tec                 hniques.pptx
Line coding Tec hniques.pptxnaveen088888
 

Similar to 1432.encoding concepts (20)

Chapter 4 - Digital Transmission
Chapter 4 - Digital TransmissionChapter 4 - Digital Transmission
Chapter 4 - Digital Transmission
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
 
Ch04
Ch04Ch04
Ch04
 
04 digital transmission
04 digital transmission04 digital transmission
04 digital transmission
 
LECTURE-4 (Data Communication) ~www.fida.com.bd
LECTURE-4 (Data Communication) ~www.fida.com.bdLECTURE-4 (Data Communication) ~www.fida.com.bd
LECTURE-4 (Data Communication) ~www.fida.com.bd
 
Lecture 3.ppt
Lecture 3.pptLecture 3.ppt
Lecture 3.ppt
 
Chapter 4 digital transmission computer_network
Chapter 4 digital transmission  computer_networkChapter 4 digital transmission  computer_network
Chapter 4 digital transmission computer_network
 
04 Digital Transmission
04 Digital Transmission04 Digital Transmission
04 Digital Transmission
 
Digital Transmission
Digital TransmissionDigital Transmission
Digital Transmission
 
Ch04
Ch04Ch04
Ch04
 
Data Communication and Networking
Data Communication and NetworkingData Communication and Networking
Data Communication and Networking
 
Line_Coding.ppt for engineering students for ug and pg
Line_Coding.ppt for engineering students for ug and pgLine_Coding.ppt for engineering students for ug and pg
Line_Coding.ppt for engineering students for ug and pg
 
line coding techniques, block coding and all type of coding
line coding techniques, block coding and all type of codingline coding techniques, block coding and all type of coding
line coding techniques, block coding and all type of coding
 
Ch04
Ch04Ch04
Ch04
 
Ch3 Digital Transmission.ppt
Ch3 Digital Transmission.pptCh3 Digital Transmission.ppt
Ch3 Digital Transmission.ppt
 
Ch4 1 v1
Ch4 1 v1Ch4 1 v1
Ch4 1 v1
 
Data Communication And Networking - DIGITAL TRANSMISSION
Data Communication And Networking - DIGITAL TRANSMISSIONData Communication And Networking - DIGITAL TRANSMISSION
Data Communication And Networking - DIGITAL TRANSMISSION
 
Unit 4
Unit 4Unit 4
Unit 4
 
Multi level,multi transition
Multi level,multi transitionMulti level,multi transition
Multi level,multi transition
 
Line coding Tec hniques.pptx
Line coding Tec                 hniques.pptxLine coding Tec                 hniques.pptx
Line coding Tec hniques.pptx
 

More from techbed

1456.base boot
1456.base boot1456.base boot
1456.base boottechbed
 
1455.ata atapi standards - 1-7
1455.ata atapi standards - 1-71455.ata atapi standards - 1-7
1455.ata atapi standards - 1-7techbed
 
1454.ata features
1454.ata features1454.ata features
1454.ata featurestechbed
 
Flash cs4 tutorials_2009
Flash cs4 tutorials_2009Flash cs4 tutorials_2009
Flash cs4 tutorials_2009techbed
 
Photoshop tut
Photoshop tutPhotoshop tut
Photoshop tuttechbed
 
Part 6 debugging and testing java applications
Part 6 debugging and testing java applicationsPart 6 debugging and testing java applications
Part 6 debugging and testing java applicationstechbed
 
Lab 7b) test a web application
Lab 7b) test a web applicationLab 7b) test a web application
Lab 7b) test a web applicationtechbed
 
Lab 7a) debug a web application
Lab 7a) debug a web applicationLab 7a) debug a web application
Lab 7a) debug a web applicationtechbed
 
What is struts_en
What is struts_enWhat is struts_en
What is struts_entechbed
 
Part 7 packaging and deployment
Part 7 packaging and deploymentPart 7 packaging and deployment
Part 7 packaging and deploymenttechbed
 
Lab 6) package and deploy a j2 ee application
Lab 6) package and deploy a j2 ee applicationLab 6) package and deploy a j2 ee application
Lab 6) package and deploy a j2 ee applicationtechbed
 
Lab 5b) create a java server faces application
Lab 5b) create a java server faces applicationLab 5b) create a java server faces application
Lab 5b) create a java server faces applicationtechbed
 
Lab 5a) create a struts application
Lab 5a) create a struts applicationLab 5a) create a struts application
Lab 5a) create a struts applicationtechbed
 
First java-server-faces-tutorial-en
First java-server-faces-tutorial-enFirst java-server-faces-tutorial-en
First java-server-faces-tutorial-entechbed
 
Part 5 running java applications
Part 5 running java applicationsPart 5 running java applications
Part 5 running java applicationstechbed
 
Part 4 working with databases
Part 4 working with databasesPart 4 working with databases
Part 4 working with databasestechbed
 
Part 3 web development
Part 3 web developmentPart 3 web development
Part 3 web developmenttechbed
 
Lab 4) working with databases
Lab 4) working with databasesLab 4) working with databases
Lab 4) working with databasestechbed
 
Lab 3) create a web application
Lab 3) create a web applicationLab 3) create a web application
Lab 3) create a web applicationtechbed
 
Part 2 java development
Part 2 java developmentPart 2 java development
Part 2 java developmenttechbed
 

More from techbed (20)

1456.base boot
1456.base boot1456.base boot
1456.base boot
 
1455.ata atapi standards - 1-7
1455.ata atapi standards - 1-71455.ata atapi standards - 1-7
1455.ata atapi standards - 1-7
 
1454.ata features
1454.ata features1454.ata features
1454.ata features
 
Flash cs4 tutorials_2009
Flash cs4 tutorials_2009Flash cs4 tutorials_2009
Flash cs4 tutorials_2009
 
Photoshop tut
Photoshop tutPhotoshop tut
Photoshop tut
 
Part 6 debugging and testing java applications
Part 6 debugging and testing java applicationsPart 6 debugging and testing java applications
Part 6 debugging and testing java applications
 
Lab 7b) test a web application
Lab 7b) test a web applicationLab 7b) test a web application
Lab 7b) test a web application
 
Lab 7a) debug a web application
Lab 7a) debug a web applicationLab 7a) debug a web application
Lab 7a) debug a web application
 
What is struts_en
What is struts_enWhat is struts_en
What is struts_en
 
Part 7 packaging and deployment
Part 7 packaging and deploymentPart 7 packaging and deployment
Part 7 packaging and deployment
 
Lab 6) package and deploy a j2 ee application
Lab 6) package and deploy a j2 ee applicationLab 6) package and deploy a j2 ee application
Lab 6) package and deploy a j2 ee application
 
Lab 5b) create a java server faces application
Lab 5b) create a java server faces applicationLab 5b) create a java server faces application
Lab 5b) create a java server faces application
 
Lab 5a) create a struts application
Lab 5a) create a struts applicationLab 5a) create a struts application
Lab 5a) create a struts application
 
First java-server-faces-tutorial-en
First java-server-faces-tutorial-enFirst java-server-faces-tutorial-en
First java-server-faces-tutorial-en
 
Part 5 running java applications
Part 5 running java applicationsPart 5 running java applications
Part 5 running java applications
 
Part 4 working with databases
Part 4 working with databasesPart 4 working with databases
Part 4 working with databases
 
Part 3 web development
Part 3 web developmentPart 3 web development
Part 3 web development
 
Lab 4) working with databases
Lab 4) working with databasesLab 4) working with databases
Lab 4) working with databases
 
Lab 3) create a web application
Lab 3) create a web applicationLab 3) create a web application
Lab 3) create a web application
 
Part 2 java development
Part 2 java developmentPart 2 java development
Part 2 java development
 

Recently uploaded

4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...JojoEDelaCruz
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptxiammrhaywood
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataBabyAnnMotar
 
Millenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptxMillenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptxJanEmmanBrigoli
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 

Recently uploaded (20)

4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped data
 
Millenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptxMillenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptx
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 

1432.encoding concepts

  • 1. Chapter 4 Digital Transmission
  • 2. 4.1 Line Coding Some Characteristics Line Coding Schemes Some Other Schemes
  • 3. Figure 4.1 Line coding
  • 4. Figure 4.2 Signal level versus data level
  • 5. Figure 4.3 DC component
  • 6. Figure 4.4 Lack of synchronization
  • 7. Figure 4.5 Line coding schemes
  • 8. Unipolar encoding uses only one voltage level. Note:
  • 9. Figure 4.6 Unipolar encoding
  • 10. Polar encoding uses two voltage levels (positive and negative). Note:
  • 11. Figure 4.7 Types of polar encoding
  • 12. In NRZ-L the level of the signal is dependent upon the state of the bit. Note:
  • 13. In NRZ-I the signal is inverted if a 1 is encountered. Note:
  • 14. Figure 4.8 NRZ-L and NRZ-I encoding
  • 15. Figure 4.9 RZ encoding
  • 16. A good encoded digital signal must contain a provision for synchronization. Note:
  • 17. Figure 4.10 Manchester encoding
  • 18. In Manchester encoding, the transition at the middle of the bit is used for both synchronization and bit representation. Note:
  • 19. Figure 4.11 Differential Manchester encoding
  • 20. In differential Manchester encoding, the transition at the middle of the bit is used only for synchronization. The bit representation is defined by the inversion or noninversion at the beginning of the bit. Note:
  • 21. In bipolar encoding, we use three levels: positive, zero, and negative. Note:
  • 22. Figure 4.12 Bipolar AMI encoding
  • 23. Figure 4.13 2B1Q
  • 24. Figure 4.14 MLT-3 signal
  • 25. 4.2 Block Coding Steps in Transformation Some Common Block Codes
  • 26.
  • 27. Figure 4.15 Block coding
  • 28.
  • 29. Figure 4.16 Substitution in block coding
  • 30. Table 4.1 4B/5B encoding 11010 1100 01010 0100 11011 1101 01011 0101 11100 1110 01110 0110 11101 1111 01111 0111 10111 1011 10101 0011 10100 01001 11110 Code 10110 1010 0010 10011 1001 0001 10010 1000 0000 Code Data Data
  • 31. Table 4.1 4B/5B encoding (Continued)‏ 10001 K (start delimiter)‏ 01101 T (end delimiter)‏ 11001 S (Set)‏ 00111 R (Reset)‏ 11000 J (start delimiter)‏ 00100 11111 00000 Code H (Halt) I (Idle) Q (Quiet)‏ Data
  • 32. Figure 4.15 Using block coding 4B/5B with NRZ-I line coding scheme
  • 33. Portion of 8B6T Code Table
  • 34. Figure 4.17 Example of 8B/6T encoding
  • 35.
  • 36. B8ZS Bipolar with 8 zero substitution4 Eight consecutive zero level voltages are replaced by the sequence 000VB0VB: V stands for voilation breaks AMI rule. Oppsite polarity from the previous. B denotes bipolar. Whch is in accordance with AMI rule.
  • 37. Figure 4.19 Two cases of B8ZS scrambling technique B8ZS substitutes eight consecutive zeros with 000VB0VB
  • 38. Figure 4.20 Different situations in HDB3 scrambling technique HDB3 substitutes four consecutive zeros with 000V or B00V depending on the number of nonzero pulses after the last substitution.
  • 39. 4.3 Sampling Pulse Amplitude Modulation Pulse Code Modulation Sampling Rate: Nyquist Theorem How Many Bits per Sample? Bit Rate
  • 40. Figure 4.18 PAM
  • 41. Pulse amplitude modulation has some applications, but it is not used by itself in data communication. However, it is the first step in another very popular conversion method called pulse code modulation. Note:
  • 42. Figure 4.19 Quantized PAM signal
  • 43. Figure 4.20 Quantizing by using sign and magnitude
  • 44. Figure 4.21 PCM
  • 45. Figure 4.22 From analog signal to PCM digital code
  • 46. According to the Nyquist theorem, the sampling rate must be at least 2 times the highest frequency. Note:
  • 47. Figure 4.23 Nyquist theorem
  • 48. Example 4 What sampling rate is needed for a signal with a bandwidth of 10,000 Hz (1000 to 11,000 Hz)? Solution The sampling rate must be twice the highest frequency in the signal: Sampling rate = 2 x (11,000) = 22,000 samples/s
  • 49. Example 5 A signal is sampled. Each sample requires at least 12 levels of precision (+0 to +5 and -0 to -5). How many bits should be sent for each sample? Solution We need 4 bits; 1 bit for the sign and 3 bits for the value. A 3-bit value can represent 2 3 = 8 levels (000 to 111), which is more than what we need. A 2-bit value is not enough since 2 2 = 4. A 4-bit value is too much because 2 4 = 16.
  • 50. Example 6 We want to digitize the human voice. What is the bit rate, assuming 8 bits per sample? Solution The human voice normally contains frequencies from 0 to 4000 Hz. Sampling rate = 4000 x 2 = 8000 samples/s Bit rate = sampling rate x number of bits per sample = 8000 x 8 = 64,000 bps = 64 Kbps
  • 51. Note that we can always change a band-pass signal to a low-pass signal before sampling. In this case, the sampling rate is twice the bandwidth. Note:
  • 52. 4.4 Transmission Mode Parallel Transmission Serial Transmission
  • 53. Figure 4.24 Data transmission
  • 54. Figure 4.25 Parallel transmission
  • 55. Figure 4.26 Serial transmission
  • 56. In asynchronous transmission, we send 1 start bit (0) at the beginning and 1 or more stop bits (1s) at the end of each byte. There may be a gap between each byte. Note:
  • 57. Asynchronous here means “asynchronous at the byte level,” but the bits are still synchronized; their durations are the same. Note:
  • 58. Figure 4.27 Asynchronous transmission
  • 59. In synchronous transmission, we send bits one after another without start/stop bits or gaps. It is the responsibility of the receiver to group the bits. Note:
  • 60. Figure 4.28 Synchronous transmission