SlideShare uma empresa Scribd logo
1 de 55
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
Example 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/ 10 -3 = 1000 pulses/s Bit Rate = Pulse Rate x log 2  L = 1000 x log 2  2 = 1000 bps
Example 2 A signal has four data levels with a pulse duration of 1 ms. We calculate the pulse rate and bit rate as follows: Pulse Rate =  = 1000 pulses/s Bit Rate = PulseRate x log 2  L = 1000 x log 2  4 = 2000 bps
Figure 4.4   Lack of synchronization
Example 3 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 1 Kbps? How many if the data rate is 1 Mbps?  Solution At 1 Kbps: 1000 bits sent   1001 bits received  1 extra bps At 1 Mbps:   1,000,000 bits sent   1,001,000 bits received  1000 extra bps
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
Figure 4.15   Block coding
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.17   Example of 8B/6T encoding
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

Mais conteúdo relacionado

Mais procurados

A_law_and_Microlaw_companding
A_law_and_Microlaw_compandingA_law_and_Microlaw_companding
A_law_and_Microlaw_companding
Akshay Sharma
 
Convolution codes and turbo codes
Convolution codes and turbo codesConvolution codes and turbo codes
Convolution codes and turbo codes
Manish Srivastava
 
Operating System Concepts - Ch05
Operating System Concepts - Ch05Operating System Concepts - Ch05
Operating System Concepts - Ch05
Wayne Jones Jnr
 

Mais procurados (20)

TWO STAGE NETWORKS
TWO STAGE NETWORKSTWO STAGE NETWORKS
TWO STAGE NETWORKS
 
Icmp
IcmpIcmp
Icmp
 
A_law_and_Microlaw_companding
A_law_and_Microlaw_compandingA_law_and_Microlaw_companding
A_law_and_Microlaw_companding
 
Convolution codes and turbo codes
Convolution codes and turbo codesConvolution codes and turbo codes
Convolution codes and turbo codes
 
M ary psk modulation
M ary psk modulationM ary psk modulation
M ary psk modulation
 
time hopping spread spectrum term paper
time hopping spread spectrum term papertime hopping spread spectrum term paper
time hopping spread spectrum term paper
 
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
 
Nyquist criterion for distortion less baseband binary channel
Nyquist criterion for distortion less baseband binary channelNyquist criterion for distortion less baseband binary channel
Nyquist criterion for distortion less baseband binary channel
 
Turbo Codes
Turbo CodesTurbo Codes
Turbo Codes
 
IPv6 header
IPv6 headerIPv6 header
IPv6 header
 
Lecture 11
Lecture 11Lecture 11
Lecture 11
 
Signal encoding techniques
Signal encoding techniquesSignal encoding techniques
Signal encoding techniques
 
Ch 06
Ch 06Ch 06
Ch 06
 
ASK, FSK, PSK Modulation Techniques in Detail
ASK, FSK, PSK Modulation Techniques in DetailASK, FSK, PSK Modulation Techniques in Detail
ASK, FSK, PSK Modulation Techniques in Detail
 
2. data and signals
2. data and signals2. data and signals
2. data and signals
 
Pn sequence
Pn sequencePn sequence
Pn sequence
 
Wireless Channels Capacity
Wireless Channels CapacityWireless Channels Capacity
Wireless Channels Capacity
 
Frequency modulation
Frequency modulationFrequency modulation
Frequency modulation
 
Operating System Concepts - Ch05
Operating System Concepts - Ch05Operating System Concepts - Ch05
Operating System Concepts - Ch05
 

Destaque

Digital data transmission,line coding and pulse shaping
Digital data transmission,line coding and pulse shapingDigital data transmission,line coding and pulse shaping
Digital data transmission,line coding and pulse shaping
Aayush Kumar
 

Destaque (20)

Chapter 4 - Digital Transmission
Chapter 4 - Digital TransmissionChapter 4 - Digital Transmission
Chapter 4 - Digital Transmission
 
Chapter 3 - Data and Signals
Chapter 3 - Data and SignalsChapter 3 - Data and Signals
Chapter 3 - Data and Signals
 
Ch 28
Ch 28Ch 28
Ch 28
 
Ch 14
Ch 14Ch 14
Ch 14
 
Ch 30
Ch 30Ch 30
Ch 30
 
Chap4
Chap4Chap4
Chap4
 
Digital data transmission,line coding and pulse shaping
Digital data transmission,line coding and pulse shapingDigital data transmission,line coding and pulse shaping
Digital data transmission,line coding and pulse shaping
 
Lecture 3 : (Physic Layer) Outline
Lecture 3 : (Physic Layer) OutlineLecture 3 : (Physic Layer) Outline
Lecture 3 : (Physic Layer) Outline
 
Lecture 09
Lecture 09Lecture 09
Lecture 09
 
datatransmission digital and analoge
 datatransmission digital and analoge datatransmission digital and analoge
datatransmission digital and analoge
 
Ch 07
Ch 07Ch 07
Ch 07
 
Ch 16
Ch 16Ch 16
Ch 16
 
Ch 27
Ch 27Ch 27
Ch 27
 
Ch 31
Ch 31Ch 31
Ch 31
 
Ch 12
Ch 12Ch 12
Ch 12
 
Ch 29
Ch 29Ch 29
Ch 29
 
Ch 24
Ch 24Ch 24
Ch 24
 
Ch 18
Ch 18Ch 18
Ch 18
 
Ch 23
Ch 23Ch 23
Ch 23
 
Lecture 08
Lecture 08Lecture 08
Lecture 08
 

Semelhante a Ch 04

1432.encoding concepts
1432.encoding concepts1432.encoding concepts
1432.encoding concepts
techbed
 
Ch04
Ch04Ch04
Ch04
H K
 
Data Communication and Networking
Data Communication and NetworkingData Communication and Networking
Data Communication and Networking
Edlynne Ogena
 
Digital Transmission
Digital TransmissionDigital Transmission
Digital Transmission
TechiNerd
 
4. Analog to digital conversation (1).ppt
4. Analog to digital conversation (1).ppt4. Analog to digital conversation (1).ppt
4. Analog to digital conversation (1).ppt
test22333
 
Lecture7 encodingmodulation
Lecture7 encodingmodulationLecture7 encodingmodulation
Lecture7 encodingmodulation
H K
 

Semelhante a Ch 04 (20)

1432.encoding concepts
1432.encoding concepts1432.encoding concepts
1432.encoding concepts
 
Ch04
Ch04Ch04
Ch04
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
 
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
 
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
 
Data Communication and Networking
Data Communication and NetworkingData Communication and Networking
Data Communication and Networking
 
04 Digital Transmission
04 Digital Transmission04 Digital Transmission
04 Digital Transmission
 
Digital Transmission
Digital TransmissionDigital Transmission
Digital Transmission
 
Ch04
Ch04Ch04
Ch04
 
Ch04
Ch04Ch04
Ch04
 
DIGITAL TRANSMISSION
DIGITAL TRANSMISSIONDIGITAL TRANSMISSION
DIGITAL TRANSMISSION
 
Ch4 2 v1
Ch4 2 v1Ch4 2 v1
Ch4 2 v1
 
ch04-digital-transmission.ppt
ch04-digital-transmission.pptch04-digital-transmission.ppt
ch04-digital-transmission.ppt
 
Multi level multi transition
Multi level multi transitionMulti level multi transition
Multi level multi transition
 
Ch4 1 Data communication and networking by neha g. kurale
Ch4 1 Data communication and networking by neha g. kuraleCh4 1 Data communication and networking by neha g. kurale
Ch4 1 Data communication and networking by neha g. kurale
 
4. Analog to digital conversation (1).ppt
4. Analog to digital conversation (1).ppt4. Analog to digital conversation (1).ppt
4. Analog to digital conversation (1).ppt
 
ch4_2_v1.ppt
ch4_2_v1.pptch4_2_v1.ppt
ch4_2_v1.ppt
 
Lecture7 encodingmodulation
Lecture7 encodingmodulationLecture7 encodingmodulation
Lecture7 encodingmodulation
 

Mais de soumya ranjan mohanty (16)

Ch 26
Ch 26Ch 26
Ch 26
 
Ch 25
Ch 25Ch 25
Ch 25
 
Ch 22
Ch 22Ch 22
Ch 22
 
Ch 21
Ch 21Ch 21
Ch 21
 
Ch 20
Ch 20Ch 20
Ch 20
 
Ch 17
Ch 17Ch 17
Ch 17
 
Ch 19
Ch 19Ch 19
Ch 19
 
Ch 13
Ch 13Ch 13
Ch 13
 
Ch 15
Ch 15Ch 15
Ch 15
 
Ch 10
Ch 10Ch 10
Ch 10
 
Ch 11
Ch 11Ch 11
Ch 11
 
Ch 09
Ch 09Ch 09
Ch 09
 
Ch 08
Ch 08Ch 08
Ch 08
 
Ch 03
Ch 03Ch 03
Ch 03
 
Ch 02
Ch 02Ch 02
Ch 02
 
Ch 1
Ch 1Ch 1
Ch 1
 

Último

+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
Asli Kala jadu, Black magic specialist in Pakistan Or Kala jadu expert in Egy...
Asli Kala jadu, Black magic specialist in Pakistan Or Kala jadu expert in Egy...Asli Kala jadu, Black magic specialist in Pakistan Or Kala jadu expert in Egy...
Asli Kala jadu, Black magic specialist in Pakistan Or Kala jadu expert in Egy...
baharayali
 

Último (20)

2k Shots ≽ 9205541914 ≼ Call Girls In Sheikh Sarai (Delhi)
2k Shots ≽ 9205541914 ≼ Call Girls In Sheikh Sarai (Delhi)2k Shots ≽ 9205541914 ≼ Call Girls In Sheikh Sarai (Delhi)
2k Shots ≽ 9205541914 ≼ Call Girls In Sheikh Sarai (Delhi)
 
European Football Icons that Missed Opportunities at UEFA Euro 2024.docx
European Football Icons that Missed Opportunities at UEFA Euro 2024.docxEuropean Football Icons that Missed Opportunities at UEFA Euro 2024.docx
European Football Icons that Missed Opportunities at UEFA Euro 2024.docx
 
Muzaffarpur Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Muzaffarpur Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMuzaffarpur Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Muzaffarpur Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
WhatsApp Chat: 📞 8617697112 Birbhum Call Girl available for hotel room package
WhatsApp Chat: 📞 8617697112 Birbhum  Call Girl available for hotel room packageWhatsApp Chat: 📞 8617697112 Birbhum  Call Girl available for hotel room package
WhatsApp Chat: 📞 8617697112 Birbhum Call Girl available for hotel room package
 
Unveiling the Mystery of Main Bazar Chart
Unveiling the Mystery of Main Bazar ChartUnveiling the Mystery of Main Bazar Chart
Unveiling the Mystery of Main Bazar Chart
 
UEFA Euro 2024 Squad Check-in Which team is Top favorite.docx
UEFA Euro 2024 Squad Check-in Which team is Top favorite.docxUEFA Euro 2024 Squad Check-in Which team is Top favorite.docx
UEFA Euro 2024 Squad Check-in Which team is Top favorite.docx
 
Asli Kala jadu, Black magic specialist in Pakistan Or Kala jadu expert in Egy...
Asli Kala jadu, Black magic specialist in Pakistan Or Kala jadu expert in Egy...Asli Kala jadu, Black magic specialist in Pakistan Or Kala jadu expert in Egy...
Asli Kala jadu, Black magic specialist in Pakistan Or Kala jadu expert in Egy...
 
Croatia vs Italy Euro Cup 2024 Three pitfalls for Spalletti’s Italy in Group ...
Croatia vs Italy Euro Cup 2024 Three pitfalls for Spalletti’s Italy in Group ...Croatia vs Italy Euro Cup 2024 Three pitfalls for Spalletti’s Italy in Group ...
Croatia vs Italy Euro Cup 2024 Three pitfalls for Spalletti’s Italy in Group ...
 
Italy vs Albania Italy Euro 2024 squad Luciano Spalletti's full team ahead of...
Italy vs Albania Italy Euro 2024 squad Luciano Spalletti's full team ahead of...Italy vs Albania Italy Euro 2024 squad Luciano Spalletti's full team ahead of...
Italy vs Albania Italy Euro 2024 squad Luciano Spalletti's full team ahead of...
 
JORNADA 6 LIGA MURO 2024TUXTEPECOAXACA.pdf
JORNADA 6 LIGA MURO 2024TUXTEPECOAXACA.pdfJORNADA 6 LIGA MURO 2024TUXTEPECOAXACA.pdf
JORNADA 6 LIGA MURO 2024TUXTEPECOAXACA.pdf
 
UEFA Euro 2024 Squad Check-in Who is Most Favorite.docx
UEFA Euro 2024 Squad Check-in Who is Most Favorite.docxUEFA Euro 2024 Squad Check-in Who is Most Favorite.docx
UEFA Euro 2024 Squad Check-in Who is Most Favorite.docx
 
Sector 62, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 62, Noida Call girls :8448380779 Model Escorts | 100% verifiedSector 62, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 62, Noida Call girls :8448380779 Model Escorts | 100% verified
 
Netherlands Players expected to miss UEFA Euro 2024 due to injury.docx
Netherlands Players expected to miss UEFA Euro 2024 due to injury.docxNetherlands Players expected to miss UEFA Euro 2024 due to injury.docx
Netherlands Players expected to miss UEFA Euro 2024 due to injury.docx
 
Spain Vs Albania- Spain at risk of being thrown out of Euro 2024 with Tournam...
Spain Vs Albania- Spain at risk of being thrown out of Euro 2024 with Tournam...Spain Vs Albania- Spain at risk of being thrown out of Euro 2024 with Tournam...
Spain Vs Albania- Spain at risk of being thrown out of Euro 2024 with Tournam...
 
Albania Vs Spain South American coaches lead Albania to Euro 2024 spot.docx
Albania Vs Spain South American coaches lead Albania to Euro 2024 spot.docxAlbania Vs Spain South American coaches lead Albania to Euro 2024 spot.docx
Albania Vs Spain South American coaches lead Albania to Euro 2024 spot.docx
 
Hire 💕 8617697112 Kasauli Call Girls Service Call Girls Agency
Hire 💕 8617697112 Kasauli Call Girls Service Call Girls AgencyHire 💕 8617697112 Kasauli Call Girls Service Call Girls Agency
Hire 💕 8617697112 Kasauli Call Girls Service Call Girls Agency
 
Who Is Emmanuel Katto Uganda? His Career, personal life etc.
Who Is Emmanuel Katto Uganda? His Career, personal life etc.Who Is Emmanuel Katto Uganda? His Career, personal life etc.
Who Is Emmanuel Katto Uganda? His Career, personal life etc.
 
Spain Vs Italy Spain to be banned from participating in Euro 2024.docx
Spain Vs Italy Spain to be banned from participating in Euro 2024.docxSpain Vs Italy Spain to be banned from participating in Euro 2024.docx
Spain Vs Italy Spain to be banned from participating in Euro 2024.docx
 
Technical Data | Sig Sauer Easy6 BDX 1-6x24 | Optics Trade
Technical Data | Sig Sauer Easy6 BDX 1-6x24 | Optics TradeTechnical Data | Sig Sauer Easy6 BDX 1-6x24 | Optics Trade
Technical Data | Sig Sauer Easy6 BDX 1-6x24 | Optics Trade
 

Ch 04

  • 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. Example 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/ 10 -3 = 1000 pulses/s Bit Rate = Pulse Rate x log 2 L = 1000 x log 2 2 = 1000 bps
  • 7. Example 2 A signal has four data levels with a pulse duration of 1 ms. We calculate the pulse rate and bit rate as follows: Pulse Rate = = 1000 pulses/s Bit Rate = PulseRate x log 2 L = 1000 x log 2 4 = 2000 bps
  • 8. Figure 4.4 Lack of synchronization
  • 9. Example 3 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 1 Kbps? How many if the data rate is 1 Mbps? Solution At 1 Kbps: 1000 bits sent  1001 bits received  1 extra bps At 1 Mbps: 1,000,000 bits sent  1,001,000 bits received  1000 extra bps
  • 10. Figure 4.5 Line coding schemes
  • 11. Unipolar encoding uses only one voltage level. Note:
  • 12. Figure 4.6 Unipolar encoding
  • 13. Polar encoding uses two voltage levels (positive and negative). Note:
  • 14. Figure 4.7 Types of polar encoding
  • 15. In NRZ-L the level of the signal is dependent upon the state of the bit. Note:
  • 16. In NRZ-I the signal is inverted if a 1 is encountered. Note:
  • 17. Figure 4.8 NRZ-L and NRZ-I encoding
  • 18. Figure 4.9 RZ encoding
  • 19. A good encoded digital signal must contain a provision for synchronization. Note:
  • 20. Figure 4.10 Manchester encoding
  • 21. In Manchester encoding, the transition at the middle of the bit is used for both synchronization and bit representation. Note:
  • 22. Figure 4.11 Differential Manchester encoding
  • 23. 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:
  • 24. In bipolar encoding, we use three levels: positive, zero, and negative. Note:
  • 25. Figure 4.12 Bipolar AMI encoding
  • 26. Figure 4.13 2B1Q
  • 27. Figure 4.14 MLT-3 signal
  • 28. 4.2 Block Coding Steps in Transformation Some Common Block Codes
  • 29. Figure 4.15 Block coding
  • 30. Figure 4.16 Substitution in block coding
  • 31. 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
  • 32. 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
  • 33. Figure 4.17 Example of 8B/6T encoding
  • 34. 4.3 Sampling Pulse Amplitude Modulation Pulse Code Modulation Sampling Rate: Nyquist Theorem How Many Bits per Sample? Bit Rate
  • 35. Figure 4.18 PAM
  • 36. 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:
  • 37. Figure 4.19 Quantized PAM signal
  • 38. Figure 4.20 Quantizing by using sign and magnitude
  • 39. Figure 4.21 PCM
  • 40. Figure 4.22 From analog signal to PCM digital code
  • 41. According to the Nyquist theorem, the sampling rate must be at least 2 times the highest frequency. Note:
  • 42. Figure 4.23 Nyquist theorem
  • 43. 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
  • 44. 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.
  • 45. 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
  • 46. 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:
  • 47. 4.4 Transmission Mode Parallel Transmission Serial Transmission
  • 48. Figure 4.24 Data transmission
  • 49. Figure 4.25 Parallel transmission
  • 50. Figure 4.26 Serial transmission
  • 51. 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:
  • 52. Asynchronous here means “asynchronous at the byte level,” but the bits are still synchronized; their durations are the same. Note:
  • 53. Figure 4.27 Asynchronous transmission
  • 54. 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:
  • 55. Figure 4.28 Synchronous transmission