CS307 Data Communication

Similar documents
College of information Technology Department of Information Networks Telecommunication & Networking I Chapter DATA AND SIGNALS 1 من 42

Introduction to Telecommunications and Computer Engineering Unit 3: Communications Systems & Signals

Lecture 3: Data Transmission

Lecture Fundamentals of Data and signals

Data and Computer Communications Chapter 3 Data Transmission

EC 554 Data Communications

Data Communication. Chapter 3 Data Transmission

Introduction to Communications Part Two: Physical Layer Ch3: Data & Signals

Terminology (1) Chapter 3. Terminology (3) Terminology (2) Transmitter Receiver Medium. Data Transmission. Simplex. Direct link.

Lecture 2 Physical Layer - Data Transmission

Terminology (1) Chapter 3. Terminology (3) Terminology (2) Transmitter Receiver Medium. Data Transmission. Direct link. Point-to-point.

Chapter 3 Data and Signals

Data Communications and Networks

DATA COMMUNICATION. Channel and Noise

Chapter 3 Data and Signals 3.1

Data and Computer Communications. Chapter 3 Data Transmission

Chapter 3. Data Transmission

Data Communications & Computer Networks

Chapter 2. Physical Layer

Data Transmission (II)

COMP211 Physical Layer

Review of Lecture 2. Data and Signals - Theoretical Concepts. Review of Lecture 2. Review of Lecture 2. Review of Lecture 2. Review of Lecture 2

Data com ch#3 (part 2)

Part II Data Communications

Contents. Telecom Service Chae Y. Lee. Data Signal Transmission Transmission Impairments Channel Capacity

Data Transmission. ITS323: Introduction to Data Communications. Sirindhorn International Institute of Technology Thammasat University ITS323

Chapter 3 Data Transmission

Computer Networks. Practice Set I. Dr. Hussein Al-Bahadili

Lecture 2: SIGNALS. 1 st semester By: Elham Sunbu

E-716-A Mobile Communications Systems. Lecture #2 Basic Concepts of Wireless Transmission (p1) Instructor: Dr. Ahmad El-Banna

Announcements : Wireless Networks Lecture 3: Physical Layer. Bird s Eye View. Outline. Page 1

Data Concept Analog and Digital Signal Periodic and Non-Periodic Signal Sine Wave Wave length Time and Frequency Domain Composite Signal Bandwidth

1. What is the bandwidth of a signal that ranges from 40 KHz to 4 MHz? a MHz (4M -40K) b. 36 MHz c. 360 KHz d. 396 KHz

Outline / Wireless Networks and Applications Lecture 3: Physical Layer Signals, Modulation, Multiplexing. Cartoon View 1 A Wave of Energy

CPSC Network Programming. How do computers really communicate?

Announcement : Wireless Networks Lecture 3: Physical Layer. A Reminder about Prerequisites. Outline. Page 1

PRINCIPLES OF COMMUNICATION SYSTEMS. Lecture 1- Introduction Elements, Modulation, Demodulation, Frequency Spectrum

Transmission Impairments

Signal Characteristics

DATA TRANSMISSION. ermtiong. ermtiong

Physical Layer. Networks: Physical Layer 1

The quality of the transmission signal The characteristics of the transmission medium. Some type of transmission medium is required for transmission:

Basic Concepts in Data Transmission

Chapter 3 Data Transmission COSC 3213 Summer 2003

Overview. Lecture 3. Terminology. Terminology. Background. Background. Transmission basics. Transmission basics. Two signal types

Course 2: Channels 1 1

Chapter Two. Fundamentals of Data and Signals. Data Communications and Computer Networks: A Business User's Approach Seventh Edition

Fundamentals of Data and Signals

L(f) = = (f) G(f) L2(f) Transmission Impairments: Attenuation (cont.)

Some key functions implemented in the transmitter are modulation, filtering, encoding, and signal transmitting (to be elaborated)

Digital and Analog Communication (EE-217-F)

BSc (Hons) Computer Science with Network Security, BEng (Hons) Electronic Engineering. Cohorts: BCNS/17A/FT & BEE/16B/FT

Lecture 5 Transmission

Chapter 3 Digital Transmission Fundamentals

Information theory II. Fisica dell Energia - a.a. 2017/2018

two computers. 2- Providing a channel between them for transmitting and receiving the signals through it.

Physical Layer: Outline

Data Communications and Networks

CSE 461 Bits and Links. David Wetherall

Introduction to LAN/WAN. Physical Layer

Lecture 5 Transmission. Physical and Datalink Layers: 3 Lectures

CS311: Data Communication Transmission Impairments and Channel Capacity. Assistant Professor Dept. of CSE IIT Jodhpur

CS601 Data Communication Solved Objective For Midterm Exam Preparation

The Physical Layer Outline

SOME PHYSICAL LAYER ISSUES. Lecture Notes 2A

CSEP 561 Bits and Links. David Wetherall

Antennas and Propagation

Chapter 2: Fundamentals of Data and Signals

Chapter 3 Digital Transmission Fundamentals

Chapter 3 Digital Transmission Fundamentals

Unbounded Transmission Media

Media. Twisted pair db/km at 1MHz 2 km. Coaxial cable 7 db/km at 10 MHz 1 9 km. Optical fibre 0.2 db/km 100 km

Qiz 1. 3.discrete time signals can be obtained by a continuous-time signal. a. sampling b. digitizing c.defined d.

In this lecture. System Model Power Penalty Analog transmission Digital transmission

TE 302 DISCRETE SIGNALS AND SYSTEMS. Chapter 1: INTRODUCTION

Chapter-15. Communication systems -1 mark Questions

Mobile and Wireless Networks Course Instructor: Dr. Safdar Ali

Cable Testing TELECOMMUNICATIONS AND NETWORKING

Figure 4-1. Figure 4-2 Classes of Transmission Media

2. By convention, the minimum and maximum values of analog data and signals are presented as voltages.

CSE 561 Bits and Links. David Wetherall

Data Communication (CS601)

CS601-Data Communication Latest Solved Mcqs from Midterm Papers

Last Time. Transferring Information. Today (& Tomorrow (& Tmrw)) Application Layer Example Protocols ftp http Performance.

i) Physical, ii) Data-link, iii) Network, iv) Transport, v) Session, vi) Presentation, and vii) Application

MODULE I. Simplex, Half duplex and Full Duplex Transmission Modes

Physical Layer. Transfers bits through signals overs links Wires etc. carry analog signals We want to send digital bits. Signal

COMMUNICATION SYSTEMS -I

Chapter 6 Bandwidth Utilization: Multiplexing and Spreading 6.1

SAMPLE. UEENEEH046B Solve fundamental problems in electronic communications systems. Learner Workbook. UEE07 Electrotechnology Training Package

Lecture (01) Data Transmission (I)

Antennas and Propagation

Antennas and Propagation. Chapter 5

Multiplexing Module W.tra.2

Antennas and Propagation. Chapter 5

6. has units of bits/second. a. Throughput b. Propagation speed c. Propagation time d. (b)or(c)

Fundamentals of Digital Communication

Data Transmission Definition Data Transmission Analog Transmission Digital Transmission

EIE339 Digital Transmission and Switching Systems

Lecture Progression. Followed by more detail on: Quality of service, Security (VPN, SSL) Computer Networks 2

Transcription:

CS307 Data Communication Course Objectives Build an understanding of the fundamental concepts of data transmission. Familiarize the student with the basics of encoding of analog and digital data Preparing the student for understanding advanced courses in computer networking

Expected Outcome After the successful completion of the course students will be able to Explain Data Communications concepts and its components. Identify the different types of Transmission media and their functions within a network. Independently understand encoding, decoding, error correction and error detection in data communication To understand switching principles and basics of wireless communication

Module 1

Module 1 Communication model Simplex, half duplex and full duplex transmission. Time Domain and Frequency Domain concepts - Analog & Digital data and signals - Transmission Impairments - Attenuation, Delay distortion, Noise - Different types of noise Channel capacity -Shannon's Theorem - Transmission media- twisted pair, Coaxial cable, optical fiber, terrestrial microwave, satellite microwave.

DATA COMMUNICATIONS When we communicate, we are sharing information(data). The term telecommunication, which includes telephony, telegraphy, and television, means communication at a distance (tele is Greek for "far"). Data communications are the exchange of data between two devices via some form of transmission medium such as a wire cable.

The effectiveness of a data communications system depends on four fundamental characteristics: delivery, accuracy, timeliness, and jitter. Delivery: The system must deliver data to the correct destination. Data must be received by the intended device or user and only by that device or user. Accuracy: The system must deliver the data accurately. Data that have been altered in transmission and left uncorrected are unusable. Timeliness: The system must deliver data in a timely manner. Data delivered late are useless. In the case of video and audio, timely delivery means delivering data as they are produced, in the same order that they are produced, and without significant delay. This kind of delivery is called realtime transmission. Jitter: Jitter refers to the variation in the packet arrival time. It is the uneven delay in the delivery of audio or video packets. For example, let us assume that video packets are sent every 3D ms. If some of the packets arrive with 3D-ms delay and others with 4D-ms delay, an uneven quality in the video is the result.

Five components of data communication

Five components of data communication Message: The message is the information (data) to be communicated. Popular forms of information include text, numbers, pictures, audio, and video. Sender: The sender is the device that sends the data message. It can be a computer, workstation, telephone handset, video camera, and so on. Receiver: The receiver is the device that receives the message. It can be a computer, workstation, telephone handset, television Transmission medium: The transmission medium is the physical path by which a message travels from sender to receiver. Some examples of transmission media include twisted-pair wire, coaxial cable, fiber-optic cable, and radio waves. Protocol: A protocol is a set of rules that govern data communications. It represents an agreement between the communicating devices. Without a protocol, two devices may be connected but not communicating, just as a person speaking French cannot be understood by a person who speaks only Japanese.

Data Representation Information today comes in different forms such as text, numbers, images, audio, and video.

Data Flow (simplex, half-duplex, andfull-duplex)

Simplex In simplex mode, the communication is unidirectional, as on a one-way street. Only one of the two devices on a link can transmit; the other can only receive Keyboards and traditional monitors are examples of simplex devices. The keyboard can only introduce input; the monitor can only accept output. The simplex mode can use the entire capacity of the channel to send data in one direction.

Half-Duplex In half-duplex mode, each station can both transmit and receive, but not at the same time. When one device is sending, the other can only receive, and vice versa The half-duplex mode is like a one-lane road with traffic allowed in both directions. When cars are traveling in one direction, cars going the other way must wait. In a half-duplex transmission, the entire capacity of a channel is taken over by whichever of the two devices is transmitting at the time. Walkie-talkies and CB (citizens band) radios are both halfduplex systems. The half-duplex mode is used in cases where there is no need for communication in both directions at the same time; the entire capacity of the channel can be utilized for each direction.

full-duplex In full-duplex m.,lle (also called duplex), both stations can transmit and receive simultaneously One common example of full-duplex communication is the telephone network. When two people are communicating by a telephone line, both can talk and listen at the same time. The full-duplex mode is used when communication in both directions is required all the time. The capacity of the channel, however, must be divided between the two directions.

Data and Signals To be transmitted, data must be transformed to electromagnetic signals.

ANALOG AND DIGITAL Analog data, such as the sounds made by a human voice, take on continuous values. When someone speaks, an analog wave is created in the air. This can be captured by a microphone and converted to an analog signal or sampled and converted to a digital signal. Digital data take on discrete values. For example, data are stored in computer memory in the form of 0s and 1s. They can be converted to a digital signal or modulated into an analog signal for transmission across a medium.

Comparison of analog and digital signals Signals can be analog or digital. Analog signals can have an infinite number of values in a range; digital signals can have only a limited number of values.

Periodic and Nonperiodic Signals A periodic signal completes a pattern within a measurable time frame, called a period, and repeats that pattern over subsequent identical periods. The completion of one full pattern is called a cycle. A nonperiodic signal changes without exhibiting a pattern or cycle that repeats over time. Both analog and digital signals can be periodic or non periodic. In data communications, we commonly use periodic analog signals (because they need less bandwidth,

Sine Wave The sine wave is the most fundamental form of a periodic analog signal. When we visualize it as a simple oscillating curve, its change over the course of a cycle is smooth and consistent, a continuous, rolling flow.

Peak Amplitude The peak amplitude of a signal is the absolute value of its highest intensity, proportional to the energy it carries. For electric signals, peak amplitude is normally measured in volts. Two signals with the same phase and frequency, but different amplitudes

Period and Frequency Period refers to the amount of time, in seconds, a signal needs to complete 1 cycle. Frequency refers to the number of periods in 1sec. Frequency is the rate of change with respect to time. Change in a short span of time means high frequency. Change over a long span of time means low frequency. Frequency and period are the inverse of each other. f = 1/t t =1/f Period is formally expressed in seconds. Frequency is formally expressed in Hertz (Hz), which is cycle per second.

The power we use at home has a frequency of 60 Hz (50 Hz in Europe). The period of this sine wave T =1/ f =1/60 = 0.0166 s = 0.0166 x 10 3 ms =16.6 ms This means that the period of the power for our lights at home is 0.0116 s, or 16.6 ms. Our eyes are not sensitive enough to distinguish these rapid changes in amplitude.

Two signals with the same amplitude and phase, but different frequencies

Phase The term phase describes the position of the waveform relative to time 0. Phase is measured in degrees or radians A phase shift of 360 corresponds to a shift of a complete period; a phase shift of 180 corresponds to a shift of one-half of a period; and a phase shift of 90 corresponds to a shift of one-quarter of a period

Three sine waves with the same amplitude and frequency, but different phases

1. A sine wave with a phase of 0 is not shifted. 2. A sine wave with a phase of 90 is shifted to the left by 1/4 cycle. However, note that the signal does not really exist before time 0. 3. A sine wave with a phase of 180 is shifted to the left by 1/2 cycle. However, note that the signal does not really exist before time 0.

Wavelength The wavelength is the distance a simple signal can travel in one period. the wavelength depends on both the frequency and the medium. if we represent wavelength by A, propagation speed by c (speed of light), and frequency by f, we get Wavelength = propagation speed x period = propagation speed / frequency

Wavelength Light is propagated with a speed of 3 x 10 8 m/s. That speed is lower in air and even lower in cable. The wavelength is normally measured in micrometers (microns) instead of meters. For example, the wavelength of red light (frequency =4 x 10 14 ) in air is c/f = 3x10 8 / 4x 10 14 =ג =0.75 x 10-6 m =0.75µm In a coaxial or fiber-optic cable, however, the wavelength is shorter (0.5 µm) because the propagation speed in the cable is decreased.

Time and Frequency Domains

Time and Frequency Domains The time-domain plot shows changes in signal amplitude with respect to time (it is an amplitude-versus-time plot). A frequency-domain plot is concerned with only the peak value and the frequency. Changes of amplitude during one period are not shown. A complete sine wave in the time domain can be represented by one single spike in the frequency domain.

The time-domain and frequency-domain plots of a sine wave

The time domain and frequency domain of three sine waves

Composite Signals If we had only one single sine wave to convey a conversation over the phone, it would make no sense and carry no information. We would just hear a buzz. A single a frequency sine wave is not useful in data communications; we need to send a composite signal, a signal made of many simple sine waves. According to Fourier analysis, any composite signal is a combination of simple sine waves with different frequencies, amplitudes, and phases.

A composite periodic signal

Decomposition ofa composite periodic signal in the time and frequency domains

Composite Signals

Bandwidth The bandwidth of a composite signal is the difference between the highest and the lowest frequencies contained in that signal.

If a periodic signal is decomposed into five sine waves with frequencies of 100, 300, 500, 700, and 900 Hz, what is its bandwidth? Draw the spectrum, assuming all components have a maximum amplitude of 10 V. Let fh be the highest frequency, fl the lowest frequency, and B the bandwidth. Then B =fh - fl = 900-100 =800 Hz

A nonperiodic composite signal has a bandwidth of 200 khz, with a middle frequency of 140 khz and peak amplitude of 20 V. The two extreme frequencies have an amplitude of 0. Draw the frequency domain of the signal.

The lowest frequency must be at 40 khz and the highest at 240 khz.

ANALOG AND DIGITAL TRANSMISSION

Data Common Terminologies entities that convey meaning Signals electric or electromagnetic representations of data. Signalling physically propagates along medium Transmission communication of data by propagation and processing of signals

ANALOG AND DIGITAL DATA

Acoustic Spectrum (Analog)

Analog Data - Speech Analog data take on continuous values in some interval, Audio, which, in the form of acoustic sound waves, can be perceived directly by human beings. Frequency components of typical speech may be found between approximately 100 Hz and 7 khz. Frequencies below 600 or 700 HZ add very little to intelligibility of speech to human ear. Speech has a dynamic range of about 25 db (a shout is approx 300 times louder than whisper).

Analog Data - Video In video, electron beam scans across the surface of the screen from left to right and top to bottom. To achieve adequate resolution, the beam produces a total of 483 horizontal lines at a rate of 30 complete scans of the screen per second. Tests have shown that this rate will produce a sensation of flicker rather than smooth motion. To provide a flicker-free image without increasing the bandwidth requirement, a technique known as interlacing is used. The odd numbered scan lines and the even numbered scan lines are scanned separately, with odd and even fields alternating on successive scans. The odd field is the scan from A to B and the even field is the scan from C to D. The beam reaches the middle of the screen s lowest line after 241.5 lines. At this point, the beam is quickly repositioned at the top of the screen and recommences in the middle of the screen s topmost visible line to produce an additional 241.5 lines interlaced with the original set. Thus the screen is refreshed 60 times per second rather than 30, and flicker is avoided.

Analog Data - Video

ANALOG AND DIGITAL SIGNALS

Analog - Audio Signals Freq range 20Hz-20kHz (speech 100Hz-7kHz) Sound waves whose amplitude is measured in terms of loudness is easily converted into electromagnetic signals. And electromagnetic signals whose amplitude is measured in terms of volts. In transmission, we need to consider fidelity of the sound and cost of transmission. 100 Hz to 7 khz is standard spectrum for voice channel. But a much narrower frequency range/bandwidth of 300-3400Hz is only required to reproduce sound cost effectively.

Analog - Audio Signals

Analog - Video Signals As per USA standards - 483 lines per frame, at frames per sec have 525 lines but 42 lost during vertical retrace 525 lines x 30 scans = 15750 lines per sec 63.5µs per line 11µs for horizontal retrace, so 52.5 µs per video line To estimate the bandwidth needed use max frequency when lines alternate black & white. Then resolution is about 70% of 525-42 = 450 lines giving 225 cycles of wave in 52.5 µs Max frequency of 4.2MHz

Digital Data As generated by computers etc. Has two dc components Bandwidth depends on data rate

Advantages & Disadvantages of Digital Signals Cheaper Less susceptible to noise But greater attenuation Digital now preferred choice

Why Digital Transmission?

DATA AND SIGNALS

Analog Signals

Digital Signals

Analog and Digital Transmission

Two digital signals

Bit Rate Most digital signals are nonperiodic, and thus period and frequency are not appropriate characteristics. Another term-bit rate (instead of frequency)-is used to describe digital signals. The bit rate is the number of bits sent in 1s, expressed in bits per second (bps).

Bit Rate Assume we need to download text documents at the rate of 100 pages per minute. What is the required bit rate of the channel? A page is an average of 24 lines with 80 characters in each line. If we assume that one character requires 8 bits, the bit rate is 100 x 24 x 80 x 8 =1,636,000 bps =1.636 Mbps

Bit Length We discussed the concept of the wavelength for an analog signal: the distance one cycle occupies on the transmission medium. We can define something similar for a digital signal: the bit length. The bit length is the distance one bit occupies on the transmission medium. Bit length =propagation speed x bit duration

Baseband Transmission Baseband transmission means sending a digital signal over a channel without changing the digital signal to an analog signal.

TRANSMISSION IMPAIRMENT

TRANSMISSION IMPAIRMENT Signals travel through transmission media, which are not petfect. The impetfection causes signal impairment. This means that the signal at the beginning of the medium is not the same as the signal at the end of the medium. What is sent is not what is received. Three causes of impairment are attenuation, distortion, and noise

Attenuation Attenuation means a loss of energy. When a signal, simple or composite, travels through a medium, it loses some of its energy in overcoming the resistance of the medium. That is why a wire carrying electric signals gets warm, if not hot, after a while. Some of the electrical energy in the signal is converted to heat. To compensate for this loss, amplifiers are used to amplify the signal.

Attenuation

decibel (db) To show that a signal has lost or gained strength, engineers use the unit of the decibel. The decibel (db) measures the relative strengths of two signals or one signal at two different points. Note that the decibel is negative if a signal is attenuated and positive if a signal is amplified.

decibel (db) Variables PI and P2 are the powers of a signal at points 1 and 2, respectively. Note that some engineering books define the decibel in terms of voltage instead of power. In this case, because power is proportional to the square of the voltage, the formula is db = 20 log 10 (V2 / V1).

example A signal travels through an amplifier, and its power is increased 10 times. This means that P2= 10*P1 In this case, the amplification (gain of power) can be calculated as

The loss in a cable is usually defined in decibels per kilometer (db/km). If the signal at the beginning of a cable with -0.3 db/km has a power of 2 mw, what is the power of the signal at 5 km? The loss in the cable in decibels is 5 x (-0.3)= -1.5 db. We can calculate the power as

Distortion Distortion means that the signal changes its form or shape. Distortion can occur in a composite signal made of different frequencies. Each signal component has its own propagation speed through a medium and, therefore, its own delay in arriving at the final destination. Differences in delay may create a difference in phase if the delay is not exactly the same as the period duration. In other words, signal components at the receiver have phases different from what they had at the sender. The shape of the composite signal is therefore not the same.

Distortion

Noise Noise is another cause of impairment. Several types of noise, such as thermal noise, induced noise, crosstalk, and impulse noise, may corrupt the signal. Thermal noise is the random motion of electrons in a wire which creates an extra signal not originally sent by the transmitter. Induced noise comes from sources such as motors and appliances. These devices act as a sending antenna, and the transmission medium acts as the receiving antenna. Crosstalk is the effect of one wire on the other. One wire acts as a sending antenna and the other as the receiving antenna. Impulse noise is a spike (a signal with high energy in a very short time) that comes from power lines, lightning, and so on.

Noise

Signal-to-Noise Ratio (SNR) To find the theoretical bit rate limit, we need to know the ratio of the signal power to the noise power. The signal-to-noise ratio is defined as SNR=average signal power/average noise power SNR is actually the ratio of what is wanted (signal) to what is not wanted (noise). A high SNR means the signal is less corrupted by noise; a low SNR means the signal is more corrupted by noise. Because SNR is the ratio of two powers, it is often described in decibel units, SNR db = 10log 10 SNR

example The power of a signal is 10 mw and the power of the noise is 1 µw; what are the values of SNR and SNR db?

DATA RATE LIMITS A very important consideration in data communications is how fast we can send data, in bits per second over a channel. Data rate depends on three factors: 1. The bandwidth available 2. The level of the signals we use 3. The quality of the channel (the level of noise) Two theoretical formulas were developed to calculate the data rate: one by Nyquist for a noiseless channel. another by Shannon for a noisy channel.

Noiseless Channel: Nyquist Bit Rate For a noiseless channel, the Nyquist bit rate formula defines the theoretical maximum bit rate BitRate = 2 x bandwidth x log 2 L In this formula, bandwidth is the bandwidth of the channel, L is the number of signal levels used to represent data, and BitRate is the bit rate in bits per second.

Noiseless Channel: Nyquist Bit Rate According to the formula, we might think that, given a specific bandwidth, we can have any bit rate we want by increasing the number of signal levels. Although the idea is theoretically correct, practically there is a limit. When we increase the number of signal levels, we impose a burden on the receiver. If the number of levels in a signal is just 2, the receiver can easily distinguish between a 0 and a 1. If the level of a signal is 64, the receiver must be very sophisticated to distinguish between 64 different levels. In other words, increasing the levels of a signal reduces the reliability of the system.

example Consider a noiseless channel with a bandwidth of 3000 Hz transmitting a signal with two signal levels. The maximum bit rate can be calculated as BitRate =2 x 3000 x log 2 2 =6000 bps

Noisy Channel: Shannon Capacity In reality, we cannot have a noiseless channel; the channel is always noisy. In 1944, Claude Shannon introduced a formula, called the Shannon capacity, to determine the theoretical highest data rate for a noisy channel: Capacity =bandwidth * log 2 (1 +SNR) In this formula, bandwidth is the bandwidth of the channel, SNR is the signal-to noise ratio, and capacity is the capacity of the channel in bits per second.

Shannon Capacity Capacity =bandwidth X log 2 (1 +SNR) Note that in the Shannon formula there is no indication of the signal level, which means that no matter how many levels we have, we cannot achieve a data rate higher than the capacity of the channel. In other words, the formula defines a characteristic of the channel, not the method of transmission.

example We can calculate the theoretical highest bit rate of a regular telephone line. A telephone line normally has a bandwidth of 3000 Hz (300 to 3300 Hz) assigned for data communications. The signal- to-noise ratio is usually 3162. For this channel the capacity is calculated as C =B log 2 (1 + SNR) = 3000 log 2 (1 + 3162) =3000 log 2 3163 = 3000 x 11.62 = 34,860 bps This means that the highest bit rate for a telephone line is 34.860 kbps. If we want to send data faster than this, we can either increase the bandwidth of the line or improve the signal-to noise ratio.

example Consider an extremely noisy channel in which the value of the signal-to-noise ratio is almost zero. In other words, the noise is so strong that the signal is faint. For this channel the capacity C is calculated as C=B log 2 (1 + SNR) =B log 2 (1+ 0) =B log 2 1 = B x 0 =0 This means that the capacity of this channel is zero regardless of the bandwidth. In other words, we cannot receive any data through this channel.

example The signal-to-noise ratio is often given in decibels. Assume that SNR db = 36 and the channel bandwidth is 2 MHz. The theoretical channel capacity can be calculated as SNR db = 10 log 10 SNR SNR = 10 SNRdb/10 =10 36 =3981 C =B log 2 (1+ SNR) = 2 X 10 6 X log 2 3982 = 24 Mbps

For practical purposes, when the SNR is very high, we can assume that SNR + I is almost the same as SNR. In these cases, the theoretical channel capacity can be simplified to C=(B* SNR db )/ 3 we can calculate the theoretical capacity of the previous example as C= (2 MHz * 36) / 3 =24 Mbps