1 / 20

Data Communication and Networking

Data Communication and Networking. Digital Transmission Chapter 4. Digital Transmission . What is Digital Transmission? A computer network is designed to send information from one point to another.

oya
Download Presentation

Data Communication and Networking

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Data Communication and Networking Digital Transmission Chapter 4

  2. Digital Transmission • What is Digital Transmission? • A computer network is designed to send information from one point to another. • This information needs to be converted either to digital signal or analog signal for transmission. • In this section we will discuss the first choice conversion to digital signals and after this section once we jump to chapter 5 we will discuss the conversion of information to analog signals. • Why Digital Signals are better than Analog Signals?

  3. Digital to Digital Conversion • In previous lectures you have come to know what is the difference between a data and signal. • We said that data can be either digital or analog. • Here we will see how we can represent digital data by using digital signals. • The conversion involves three techniques: Line Coding, Block Coding and Scrambling. • Line Coding is always needed, Block Coding and scrambling may not be needed.

  4. Line Coding • Line Coding is the process of converting Digital Data to Digital Signals. • We assume data can be in the form of text, numbers, graphical images, audio or video are stored in the computer memory as sequences of bits. • You know computer is a Digital Device so data is always in the form of binary (0,1) • Line Coding converts a sequence of bits to a Digital Signal. • At the Sender Digital data are encoded into a Digital Signal. So at the receiver you need to decode the signal to retrieve the digital data.

  5. Characteristics • Before discussing different line coding schemes, we will address their common characteristic and their common characteristic will be?

  6. Signal Element Versus Data Element • Let us distinguish between a signal element and a data element. • In data communications, our goal is to send data elements. • A data element is the smallest entity that can represent a piece of information: this is the bit. • In digital data communications, a signal element carries data elements. • A signal element is the shortest unit (time wise) of a digital signal.

  7. Signal Element Versus Data Element (Continued) • 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 carrier. • We define a ratio r which is the number of data elements carried by each signal element. Figure on the next page will highlight several situations with different values of r.

  8. Signal Element Verses Data Element

  9. Explanation • In part a of the figure, one data element is carried by one signal element so r=1. • In part b of the figure, we need 2 signal elements to carry each data element (r=1/2). • We will see later why extra signal element is needed to guarantee synchronization. • In part c of the figure a signal element carries 2 data elements so r=2 and finally r= 4/3. • For every line coding schemes we discuss, will give the value of r.

  10. Explanation (Continued) • An analogy may help here. Suppose each data element is a person who need to be carried from one place to another. • We can think of a signal element as a vehicle that can carry people. • When r=1 means each person is driving a vehicle. Where r>1 means that more persons are traveling in the vehicle. • Do you have a clear understanding now? It is not difficult. Easiest way to tackle it is keep things simple and straightforward.

  11. Data Rate Versus Signal Rate • The data rate defines the number of data elements (bits) sent in 1 second. • The unit is bits per second (bps) • The signal rate is the number of signal elements sent in 1 second. The unit is baud. • The data rate is sometimes called the bit rate, and the signal rate is sometimes called a pulse rate, the modulation rate or the baud rate. • Our goal in data communication is to increase the data rate while decreasing the signal rate. Increasing the data rate will increase the speed of transmission, decreasing the signal rate decreases the bandwidth requirement.

  12. Discussion (Continued) • We now need to consider the relationship between the data rate and signal rate. • The relationship, of course depends on the value of r. • It also depends on the data pattern. • If we have the pattern of all 1’s and 0’s the signal rate may be different from a data pattern of alternating 0’s and 1’s. • To establish a mathematical formula we need to define three cases. The worst, best and average. • The worst case is when we need max signal rate and the best case is when we need the minimum.

  13. Relationship between data rate and signal rate • The formula is s= c x N x 1/ r • Where N is the data rate, bps c is the case factor that varies for each case, s is the number of signal elements, and r is the previously defined factor. Example: • A signal is carrying data in which one data element is encoded as one signal element. If the bit rate is 100kbps, what is the average value of the baud rate if c is between 0 and 1.

  14. Bandwidth • The digital signal is non periodic. The bandwidth of a non periodic signal is continuous with an infinite range. • To find the minimum bandwidth the formula is b= c x N x 1/r • We can solve the maximum data rate if the bandwidth of the channel is given N = 1/c x B x r • Example: the maximum data rate of a channel is N max= 2 x B x Log 2 L. does this agree with the previous formula for N max? (find the answers)

  15. Line Coding Schemes • We can roughly divide the line coding schemes into 5 broad categories.

  16. Unipolar Scheme • In a unipolar scheme, all the signal levels are on one side of the time axis, either above or below. • NRZ (Non-Return-to-Zero) Traditionally a unipolar scheme was designed as non return to zero scheme in which the positive voltages define bit 1 and the zero voltages define bit 0. • It is called NRZ because the signal doesn’t return to zero at the middle of the bit.

  17. Polar Schemes • In polar schemes the voltages are on both sides of the time axis. For example the voltage level for 0 can be positive and the voltage level for 1 can be negative. • NRZ, In polar NRZ we use two level of voltage amplitude. • We can have 2 versions of polar NRZ: NRZ-L and NRZ-I

  18. Polar Schemes (Figure)

  19. Return to Zero • It describes a line code used in telecommunication signals in which the signal drops (returns to zero) between each pulse. • This takes place even a number of consecutive 0’s and 1’s occurs in a signal. • The signal is self clocking. This means that a separate clock doesn’t needed to be sent along side the signal, but suffers from twice the bandwidth to achieve the same data rate as compared to NRZ Format.

  20. RZ (Figure)

More Related