Computer Networks

Computer Networks

Lecture 1 Line Encoding 2nd semester 1438-1439 1 Outline - Digital Signal Transmission - What is line coding?

- Line coding schemes. - Unipolar encoding; NRZ - Polar encoding; NRZ, NR, Manchester, Differential Manchester - Line coding examples. 2 Digital Transmission Digital transmission is the sending of information over a

.communications media in the form of digital signals .Digital signals are a sequence of voltage pulses .They can propagate analog and digital data

They offer better noise immunity, are cheaper to implement in hardware, more secure and also allow data compression, .thereby optimally utilizing the transmission link 3

4 Digital Data Transmitted as Digital Signals To convert digital data into digital signals. It can be done in . two ways, line coding and block coding For all communications, line coding is necessary whereas .block coding is optional

Here digital data is first encoded into a binary stream. These binary streams are then converted into digital signals .by line coding techniques

5 What is Line Coding? - is the process of converting binary data (a sequence of bits) to a digital signal. - Different line codes have different attributes. - Best line code has to be selected for a given application and channel condition.

6 Line Coding 7 8 Unipolar Encoding

- Unipolar encoding uses only single voltage level to represent data. - It is also called Unipolar-Non-return-to-zero, because there is no rest condition

- In this case, to represent binary 1, high voltage is transmitted and to represent 0, no voltage is transmitted 9 Polar Encoding -

Polar encoding uses two voltage levels (positive and negative). - Polar encodings is available in four types: 10

Polar Encoding 1.1- Polar NRZL (Non Return to Zero) Level - Bit 0 is mapped to a negative amplitude. -Bit 1 is mapped to a positive amplitude. 11

Polar Encoding 1.2- Polar NRZI (Non Return to Zero Inverted) - Bit 0 mapped to no signal level transition. - Bit 1 is mapped to signal level transition at the beginning of the bit interval. Assumption: - The signal level to the left of the bit is high Fig. A and Fig. C - The signal level to the left of the bit is low Fig. B and Fig. D

12 NRZ-L changes voltage level at when a different bit is encountered whereas NRZ-I changes voltage when a 1 is encountered. 13 Polar Encoding 2- Polar RZ (Return to Zero)

- Bit 0 is mapped to a negative amplitude - A for the first half of the symbol duration followed by a zero amplitude for the second half of the symbol duration. - Bit 1 is mapped to a positive amplitude +A for the first half of the bit duration followed by a zero amplitude for the second half of the bit duration. 14

15 Polar Encoding 3- Polar Manchester Coding - Bit 0 is sent by having a mid-bit transition from high to low. - Bit 1 is sent by having a mid-bit transition from low to high. 16

Polar Encoding 4- Polar Differential Manchester Coding - Bit 0 is mapped to signal level transition at the beginning of the bit interval. - Bit 1 is mapped to absence of signal level transition at the beginning of the bit interval. Assumption:

The signal level to the left of the bit is high Fig. A and Fig. C The signal level to the left of the bit is low Fig. B and Fig. D 17 18 Line Coding Examples 19

Bipolar Encoding Bipolar encoding uses three voltage levels, positive, negative and zero. Zero voltage represents binary 0 and bit 1 is represented by altering positive and negative voltages. 20

Recently Viewed Presentations

  • General Physics I - Department of Physics and Astronomy

    General Physics I - Department of Physics and Astronomy

    Magnetism Physics 114 Concepts Magnetic field Magnetic force Skills Determine the direction of magnetic field created by electric current Determine the direction of magnetic force on electric current Two right hand rules Magnets Magnets have magnetic poles - north and...
  • EOG Information for Parents

    EOG Information for Parents

    EOG Information for Parents Highcroft Drive Elementary School 2016 Test Plan June 17th - Reading Grades 3 and Science Grade 5 June 20th - Math Grades 3 and Reading Grade 5 June 21st - Math Grade 5 and Reading Grade...
  • 2nd Quarter FY 2013 - Pipeline Safety Trust

    2nd Quarter FY 2013 - Pipeline Safety Trust

    In liquid pipelines, fatigue crack growth occurs from pressure cycling. Current models may not predict failure - - Leak Detection Challenges. Small leaks may bedifficult to detect, especially in pipelines of: ... 2nd Quarter FY 2013 Last modified by:
  • MAP OF SERVICE MUKTA NADKAR, DTM Program Quality

    MAP OF SERVICE MUKTA NADKAR, DTM Program Quality

    A TOASTMASTER'S PROMISE. As a member of Toastmasters International and my club, I promise To attend club meetings regularly. To prepare all of my projects to the best of my ability, basing them on the Toastmasters education program
  • d2cax41o7ahm5l.cloudfront.net

    d2cax41o7ahm5l.cloudfront.net

    demandingness (Nancy 1999; Baumrind,1991). Indulgent parents (permissive, non-directiveand lenient) Statement of theproblem. Observation has shownthat: Parenting styles is a predictors of social andmoralbehavioursin children.
  • Suffix Trees and their applications - BGU

    Suffix Trees and their applications - BGU

    Trie and Compressed Trie. Suffix Tree. Trivial Construction Algorithm O(N^2) Exact string matching. Generalized suffix tree. Applications. Trie. A tree representing a set of strings.(Assume no string is a prefix of another) ... Suffix Trees and their applications
  • Case Study: How Microsoft IT leverages Azure BizTalk

    Case Study: How Microsoft IT leverages Azure BizTalk

    Provide B2B portal for partners. ... Dependency over PG This gets mitigated with Green Field / XSLT approach. For Green Field approach, supplier MABS readiness is important. Strategy assumes dependency on AIS capabilities and release cadence.
  • Figure Skating Program Name 1 The Basics  Sport

    Figure Skating Program Name 1 The Basics Sport

    Recommended Events for Appropriate Ability Levels Cont. Level IV skaters are invited to enter in Level IV Compulsory and Level IV Freestyle. **All athletes are eligible to enter the exhibition events, a special award will be given NOTE: Athletes who...