SlideShare a Scribd company logo
DATA COMMUNICATIONS &
          NETWORKING
           LECTURE-08

         Course Instructor : Sehrish Rafiq
         Department Of Computer Science
                  University Of Peshawar
LECTURE OVERVIEW
   Conversion methods
   Line coding
   Characteristics of line coding
   Signal level & Data Level
   Pulse Rate & Bit Rate
   DC Component
   Self Synchronization
   Line coding Schemes
   Unipolar
   Polar
   NRZ
   RZ
   Manchester and Differential Manchester
   Bipolar
CONVERSION METHODS OR ENCODING &
          MODULATION
   How information is transformed depends on its original format and
    on the format used by the communication hardware.
   Conversion methods
   Digital-to-digital conversion or Line coding
   Analog-to-digital conversion or Sampling
   Digital -to- analog modulation
   Analog -to -analog modulation
LINE CODING
 Line coding is the process of converting binary data, a
  sequence of bits to a digital signal.
 In other words, line coding converts a sequence of bits to
  a digital signal.
 At the sender, digital data are encoded in to digital
  signal.
 At the receiver, the digital data are recreated by decoding
  the digital signal back in to digital data.
LINE CODING & DECODING
SIGNAL LEVEL & DATA LEVEL
   The number of values allowed in a particular signal is known
    as the number of signal levels.
   The number of values used to represent data is known as the
    number of data levels.
DATA ELEMENT VERSUS SIGNAL
             ELEMENT
 A data Element is the smallest entity that can
  represent a piece of information this is the bit.
 A signal element is the shortest unit time wise of
  a digital signal.
 In other words data elements are what we need
  to send.
 Signal elements are what we can send.

 Data elements are being carried, signal elements
  are the carriers.
 r is defined as the ratio which is the number of
  data elements carried by each signal element.
DATA ELEMENT VERSUS SIGNAL
         ELEMENT
DATA RATE VERSUS SIGNAL
             RATE
 The data rate is defined as the number of data elements
  sent in one second usually expressed in bps.
 Data rate is also called Bit rate.

 The signal rate is defined as the number of signal
  elements sent in one second.
 A signal rate is also called a pulse rate.

 A signal element is also called a symbol or pulse.

 One pulse or signal element can carry more than one bit.

 When a pulse or signal element carry only one bit then
  the bit rate and pulse rate/signal rate are same.
 The signal rate is sometimes called modulation rate or
  baud rate.
FORMULA FOR BIT RATE



Bit Rate=Pulse Rate x log2 L
Where L is the number of data Levels.
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:

Solution
Pulse Rate = 1/ 10-3= 1000 pulses/s
Bit Rate = Pulse Rate x log2 L = 1000 x log2 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:
 Solution
Pulse Rate = = 1000 pulses/s
Bit Rate = Pulse Rate x log2 L = 1000 x log2 4 = 2000 bps
DC COMPONENT
 When the voltage level is constant for a while very low
  frequencies are often created.
 These frequencies around zero are called DC or Direct
  Current components.
 This component is undesirable for two reasons.

 First if a signal has to pass through a system (e.g. a
    telephone line which does not allow frequencies below 200 Hz)
  which does not allow low frequencies to pass the signal
  is distorted and may create errors in the output.
 Second this component is extra energy residing on the
  line and is useless.
DC COMPONENT
SELF-SYNCHRONIZATION
 To correctly interpret the signals received from the
  sender, the receiver’s bit intervals must correspond
  exactly to the sender’s bit intervals.
 If the receiver’s clock is faster or slower, the bit intervals
  are not matched and the receiver might interpret the
  signals differently then the sender intended.
 A self synchronizing digital signal includes timing
  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.
 If the receiver clock is out of synchronization, these
  alerting points can reset the clock.
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
LINE CODING SCHEMES
UNIPOLAR SCHEME
 Digital transmission systems work by sending voltage
  pulses along a medium link, usually a wire or cable.
 In many types of encoding, one voltage level stands for
  binary 0,another level stands for binary 1.
 The polarity of a pulse refers to whether it is positive or
  negative.
 Unipolar encoding is so named because it uses only one
  polarity.
 The polarity is assigned to one of the two binary states,
  usually the 1.
 The other state usually 0 is represented by zero voltage.
UNIPOLAR SCHEME
PROBLEMS USING UNI POLAR
             SCHEME
   DC Component
   The average amplitude of a unipolar encoded signal is non
    zero.
   This creates a DC component.

   Lack of synchronization
   If the data contain a long sequence of 0’s and 1’s there is no
    change in the signal during this duration that can alert the
    receiver to potential synchronization problems.
POLAR ENCODING SCHEMES
 Polar encoding uses two voltage levels, one positive and
  one negative.
 By using the two Levels, in most polar encoding
  methods the average voltage level on the line is reduced
  and the dc component problem seen in unipolar encoding
  is alleviated.
NRZ(NON RETURN TO ZERO)
           SCHEMES
 In NRZ encoding the value of the signal is always
  positive or negative.
 Two popular forms of NRZ are:

 NRZ-L(Non Return to Zero-Level)

 In NRZ-L the level of the signal depends on the type of
  bit that it represent.
 The positive voltage usually means a 0 while a negative
  voltage means the bit is a 1.
 Problem: Long stream of 0’s or 1’s may create
  synchronization problem.
NRZ(NON RETURN TO ZERO)
              SCHEMES
   NRZ-I(NRZ-Invert)
   In NRZ-I ,an inversion of the voltage level represents a 1 bit.
   It is the transition between a positive and negative voltage, not the
    voltage itself, that represents a 1 bit.
   A 0 bit is represented by no change.
   NRZ-I is superior to NRZ-L due to the synchronization provided by
    the signal change each time a 1 bit is encountered.
   The existence of 1’s in the data stream allows the receiver to
    synchronize its timer to the actual arrival of transmission.
   A string of 0’s can still cause problems but because they are not as
    Likely,they are less of a problem.
NRZ(NON RETURN TO ZERO)
       SCHEMES
THANKS!!   !

More Related Content

PPT
Lecture 07
PDF
Data Communication & Computer Networks: Multi level, multi transition & block...
PPTX
Line Coding.pptx
PPTX
Digital Data to Digital Signal Conversion
PPT
Ch4 1 v1
PPTX
Digital & analog transmission
PPTX
3. line coding( bipolar, multilevel, multitransition)
PDF
Data Communication & Computer network: Channel capacity
Lecture 07
Data Communication & Computer Networks: Multi level, multi transition & block...
Line Coding.pptx
Digital Data to Digital Signal Conversion
Ch4 1 v1
Digital & analog transmission
3. line coding( bipolar, multilevel, multitransition)
Data Communication & Computer network: Channel capacity

What's hot (20)

PDF
Manchester & Differential Manchester encoding scheme
PPT
Lecture 09
PDF
Digital Data, Digital Signal | Scrambling Techniques
PPT
Error detection correction (CRC)
PPTX
Data Communication Unit 1
PPTX
Chapter 10
PPTX
Vertical redundancy check in Computer Network
PPTX
Hamming code system
PPT
Time Division Multiplexing
PPT
signal encoding techniques
PPTX
Connecting devices
PDF
Line codes
PPT
Digital Communication: Channel Coding
PPTX
Power delay profile,delay spread and doppler spread
PPT
Error Correction And Hamming Code Ibrar
PPTX
Serial vs Parallel communication & Synchronous and Asynchronous transmission
PDF
Baseline Wandering
PPTX
Transmission impairments
PPTX
Handoff in Mobile Communication
Manchester & Differential Manchester encoding scheme
Lecture 09
Digital Data, Digital Signal | Scrambling Techniques
Error detection correction (CRC)
Data Communication Unit 1
Chapter 10
Vertical redundancy check in Computer Network
Hamming code system
Time Division Multiplexing
signal encoding techniques
Connecting devices
Line codes
Digital Communication: Channel Coding
Power delay profile,delay spread and doppler spread
Error Correction And Hamming Code Ibrar
Serial vs Parallel communication & Synchronous and Asynchronous transmission
Baseline Wandering
Transmission impairments
Handoff in Mobile Communication
Ad

Viewers also liked (20)

PDF
05 signal encoding
PPT
Line coding
PPT
Lecture 05
PPTX
Line coding
PPT
Chapter 4 - Digital Transmission
DOC
Chap 5
PPT
Lecture 02
PPT
Lecture 04
PPTX
line coding | Communication Systems
PPTX
Line Coding in OFC
PPT
Lecture 10
PPT
3.3. line coding (encoding)
PPTX
Encoding Techniques
DOCX
EEP306: Line coding
PPTX
Line coding
PPTX
Digital data transmission,line coding and pulse shaping
PPT
Media Access Methods
PDF
Line coding
PPSX
Amplitude shift keying (ask)
05 signal encoding
Line coding
Lecture 05
Line coding
Chapter 4 - Digital Transmission
Chap 5
Lecture 02
Lecture 04
line coding | Communication Systems
Line Coding in OFC
Lecture 10
3.3. line coding (encoding)
Encoding Techniques
EEP306: Line coding
Line coding
Digital data transmission,line coding and pulse shaping
Media Access Methods
Line coding
Amplitude shift keying (ask)
Ad

Similar to Lecture 08 (20)

PPT
Lecture notes eng - Line Coding New.ppt
PDF
Components of data communication
PPT
CCN
PPTX
Lecture 08
PPT
Ch3 Digital Transmission.ppt
PPT
unit 2 intr to phy layer part 1.pptcvcvcv
PPTX
lec5_13.pptx
PPTX
Unit-2-04-digitatoDogitalconversion.pptx
PPT
line coding techniques, block coding and all type of coding
PPTX
DC MODULE 3 PPT from the data communicatiobs
PPT
Unit 4
PPTX
Lec-12-DCN.pptx about digital transmission and conversions
PPT
ch04-digital-transmission.ppt
PPT
ch4_1_v1edit-1.pptjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjkkkkkkkkkkkkkkkkkk
PPT
ch4_1_v1edit-1.ppt digital transmission from pl
PPT
Chap4 d t-d conversion
PPT
ch4_1_v1.pptwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
PPT
Data Communication And Networking - DIGITAL TRANSMISSION
PPT
Signal encoding techniques
Lecture notes eng - Line Coding New.ppt
Components of data communication
CCN
Lecture 08
Ch3 Digital Transmission.ppt
unit 2 intr to phy layer part 1.pptcvcvcv
lec5_13.pptx
Unit-2-04-digitatoDogitalconversion.pptx
line coding techniques, block coding and all type of coding
DC MODULE 3 PPT from the data communicatiobs
Unit 4
Lec-12-DCN.pptx about digital transmission and conversions
ch04-digital-transmission.ppt
ch4_1_v1edit-1.pptjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjkkkkkkkkkkkkkkkkkk
ch4_1_v1edit-1.ppt digital transmission from pl
Chap4 d t-d conversion
ch4_1_v1.pptwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
Data Communication And Networking - DIGITAL TRANSMISSION
Signal encoding techniques

More from Sehrish Rafiq (20)

PPTX
Introduction to Computers Lecture # 14
PPTX
Introduction to Computers Lecture # 13
PPTX
Introduction to Computers Lecture # 12
PPTX
Introduction to Computers Lecture # 11
PPTX
Introduction to Computers Lecture # 10
PPTX
Introduction to Computers Lecture # 9
PPTX
Introduction to Computers Lecture # 8
PPTX
Introduction to Computers Lecture # 7
PPTX
Introduction to computers Lecture # 4
PPTX
Introduction to Computers Lecture # 5
PPTX
Introduction to Computers Lecture # 3
PPTX
Introduction to Computers Lecture # 2
PPTX
Introduction to Computers Lecture # 1
PPT
Data Communications and Networking Lecture 16
PPT
Lecture 24
PPT
Lecture 18
PPT
Lecture 21
PPT
Lecture 13
PPT
Lecture 12
PPT
Lecture 11
Introduction to Computers Lecture # 14
Introduction to Computers Lecture # 13
Introduction to Computers Lecture # 12
Introduction to Computers Lecture # 11
Introduction to Computers Lecture # 10
Introduction to Computers Lecture # 9
Introduction to Computers Lecture # 8
Introduction to Computers Lecture # 7
Introduction to computers Lecture # 4
Introduction to Computers Lecture # 5
Introduction to Computers Lecture # 3
Introduction to Computers Lecture # 2
Introduction to Computers Lecture # 1
Data Communications and Networking Lecture 16
Lecture 24
Lecture 18
Lecture 21
Lecture 13
Lecture 12
Lecture 11

Recently uploaded (20)

PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Empathic Computing: Creating Shared Understanding
PDF
Electronic commerce courselecture one. Pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPT
Teaching material agriculture food technology
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Machine learning based COVID-19 study performance prediction
PDF
cuic standard and advanced reporting.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Empathic Computing: Creating Shared Understanding
Electronic commerce courselecture one. Pdf
Advanced methodologies resolving dimensionality complications for autism neur...
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Review of recent advances in non-invasive hemoglobin estimation
Teaching material agriculture food technology
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Network Security Unit 5.pdf for BCA BBA.
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Unlocking AI with Model Context Protocol (MCP)
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
CIFDAQ's Market Insight: SEC Turns Pro Crypto
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Machine learning based COVID-19 study performance prediction
cuic standard and advanced reporting.pdf

Lecture 08

  • 1. DATA COMMUNICATIONS & NETWORKING LECTURE-08 Course Instructor : Sehrish Rafiq Department Of Computer Science University Of Peshawar
  • 2. LECTURE OVERVIEW  Conversion methods  Line coding  Characteristics of line coding  Signal level & Data Level  Pulse Rate & Bit Rate  DC Component  Self Synchronization  Line coding Schemes  Unipolar  Polar  NRZ  RZ  Manchester and Differential Manchester  Bipolar
  • 3. CONVERSION METHODS OR ENCODING & MODULATION  How information is transformed depends on its original format and on the format used by the communication hardware.  Conversion methods  Digital-to-digital conversion or Line coding  Analog-to-digital conversion or Sampling  Digital -to- analog modulation  Analog -to -analog modulation
  • 4. LINE CODING  Line coding is the process of converting binary data, a sequence of bits to a digital signal.  In other words, line coding converts a sequence of bits to a digital signal.  At the sender, digital data are encoded in to digital signal.  At the receiver, the digital data are recreated by decoding the digital signal back in to digital data.
  • 5. LINE CODING & DECODING
  • 6. SIGNAL LEVEL & DATA LEVEL  The number of values allowed in a particular signal is known as the number of signal levels.  The number of values used to represent data is known as the number of data levels.
  • 7. DATA ELEMENT VERSUS SIGNAL ELEMENT  A data Element is the smallest entity that can represent a piece of information this is the bit.  A signal element is the shortest unit time wise of a digital signal.  In other words data elements are what we need to send.  Signal elements are what we can send.  Data elements are being carried, signal elements are the carriers.  r is defined as the ratio which is the number of data elements carried by each signal element.
  • 8. DATA ELEMENT VERSUS SIGNAL ELEMENT
  • 9. DATA RATE VERSUS SIGNAL RATE  The data rate is defined as the number of data elements sent in one second usually expressed in bps.  Data rate is also called Bit rate.  The signal rate is defined as the number of signal elements sent in one second.  A signal rate is also called a pulse rate.  A signal element is also called a symbol or pulse.  One pulse or signal element can carry more than one bit.  When a pulse or signal element carry only one bit then the bit rate and pulse rate/signal rate are same.  The signal rate is sometimes called modulation rate or baud rate.
  • 10. FORMULA FOR BIT RATE Bit Rate=Pulse Rate x log2 L Where L is the number of data Levels.
  • 11. 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: Solution Pulse Rate = 1/ 10-3= 1000 pulses/s Bit Rate = Pulse Rate x log2 L = 1000 x log2 2 = 1000 bps
  • 12. 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: Solution Pulse Rate = = 1000 pulses/s Bit Rate = Pulse Rate x log2 L = 1000 x log2 4 = 2000 bps
  • 13. DC COMPONENT  When the voltage level is constant for a while very low frequencies are often created.  These frequencies around zero are called DC or Direct Current components.  This component is undesirable for two reasons.  First if a signal has to pass through a system (e.g. a telephone line which does not allow frequencies below 200 Hz) which does not allow low frequencies to pass the signal is distorted and may create errors in the output.  Second this component is extra energy residing on the line and is useless.
  • 15. SELF-SYNCHRONIZATION  To correctly interpret the signals received from the sender, the receiver’s bit intervals must correspond exactly to the sender’s bit intervals.  If the receiver’s clock is faster or slower, the bit intervals are not matched and the receiver might interpret the signals differently then the sender intended.  A self synchronizing digital signal includes timing 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.  If the receiver clock is out of synchronization, these alerting points can reset the clock.
  • 17. 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
  • 19. UNIPOLAR SCHEME  Digital transmission systems work by sending voltage pulses along a medium link, usually a wire or cable.  In many types of encoding, one voltage level stands for binary 0,another level stands for binary 1.  The polarity of a pulse refers to whether it is positive or negative.  Unipolar encoding is so named because it uses only one polarity.  The polarity is assigned to one of the two binary states, usually the 1.  The other state usually 0 is represented by zero voltage.
  • 21. PROBLEMS USING UNI POLAR SCHEME  DC Component  The average amplitude of a unipolar encoded signal is non zero.  This creates a DC component.  Lack of synchronization  If the data contain a long sequence of 0’s and 1’s there is no change in the signal during this duration that can alert the receiver to potential synchronization problems.
  • 22. POLAR ENCODING SCHEMES  Polar encoding uses two voltage levels, one positive and one negative.  By using the two Levels, in most polar encoding methods the average voltage level on the line is reduced and the dc component problem seen in unipolar encoding is alleviated.
  • 23. NRZ(NON RETURN TO ZERO) SCHEMES  In NRZ encoding the value of the signal is always positive or negative.  Two popular forms of NRZ are:  NRZ-L(Non Return to Zero-Level)  In NRZ-L the level of the signal depends on the type of bit that it represent.  The positive voltage usually means a 0 while a negative voltage means the bit is a 1.  Problem: Long stream of 0’s or 1’s may create synchronization problem.
  • 24. NRZ(NON RETURN TO ZERO) SCHEMES  NRZ-I(NRZ-Invert)  In NRZ-I ,an inversion of the voltage level represents a 1 bit.  It is the transition between a positive and negative voltage, not the voltage itself, that represents a 1 bit.  A 0 bit is represented by no change.  NRZ-I is superior to NRZ-L due to the synchronization provided by the signal change each time a 1 bit is encountered.  The existence of 1’s in the data stream allows the receiver to synchronize its timer to the actual arrival of transmission.  A string of 0’s can still cause problems but because they are not as Likely,they are less of a problem.
  • 25. NRZ(NON RETURN TO ZERO) SCHEMES
  • 26. THANKS!! !