Unit V - Data Communications and Computer Network
Unit V - Data Communications and Computer Network
• Transmission media is a communication channel that carries the information from the
sender to the receiver. Data is transmitted through the electromagnetic signals.
• The main functionality of the transmission media is to carry the information in the
form of bits through LAN(Local Area Network).
• It is a physical path between transmitter and receiver in data communication.
• In a copper-based network, the bits in the form of electrical signals.
• In a fibre based network, the bits in the form of light pulses.
• In OSI(Open System Interconnection) phase, transmission media supports the Layer
1.Therefore, it is considered to be as a Layer 1 component.
• The electrical signals can be sent through the copper wire, fibre optics, atmosphere,
water, and vacuum.
DATA TRANSMISSION MEDIA
• Attenuation: Attenuation means the loss of energy, i.e., the strength of the signal decreases
with increasing the distance which causes the loss of energy.
• Distortion: Distortion occurs when there is a change in the shape of the signal. This type of
distortion is examined from different signals having different frequencies. Each frequency
component has its own propagation speed, so they reach at a different time which leads to
the delay distortion.
• Noise: When data is travelled over a transmission medium, some unwanted signal is added
to it which creates the noise.
CLASSIFICATION OF
TRANSMISSION MEDIA
CLASSIFICATION OF TRANSMISSION MEDIA
• Guided Media
• It is defined as the physical medium through which the signals are transmitted. It is also known as
Bounded media.
Types Of Guided media:
• Twisted pair:
Twisted pair is a physical media made up of a pair of cables twisted with each other. A twisted pair
cable is cheap as compared to other transmission media. Installation of the twisted pair cable is easy,
and it is a lightweight cable. The frequency range for twisted pair cable is from 0 to 3.5KHz.
A twisted pair consists of two insulated copper wires arranged in a regular spiral pattern.
The degree of reduction in noise interference is determined by the number of turns per foot.
Increasing the number of turns per foot decreases noise interference.
CLASSIFICATION OF TRANSMISSION MEDIA
• Coaxial Cable
• Coaxial cable is very commonly used transmission media, for example, TV wire is usually a
coaxial cable.
• The name of the cable is coaxial as it contains two conductors parallel to each other.
• It has a higher frequency as compared to Twisted pair cable.
• The inner conductor of the coaxial cable is made up of copper, and the outer conductor is
made up of copper mesh. The middle core is made up of non-conductive cover that separates
the inner conductor from the outer conductor.
• The middle core is responsible for the data transferring whereas the copper mesh prevents
from the EMI(Electromagnetic interference).
CLASSIFICATION OF TRANSMISSION MEDIA
• Coaxial Cable
• Coaxial cable is of two types:
1. Baseband transmission: It is defined as the process of transmitting a single signal at high
speed.
2. Broadband transmission: It is defined as the process of transmitting multiple signals
simultaneously.
• Advantages Of Coaxial cable:
• The data can be transmitted at high speed.
• It has better shielding as compared to twisted pair cable.
• It provides higher bandwidth.
• Disadvantages Of Coaxial cable:
• It is more expensive as compared to twisted pair cable.
• If any fault occurs in the cable causes the failure in the entire network.
CLASSIFICATION OF TRANSMISSION MEDIA
• Coaxial Cable
Advantages:
• High Bandwidth
• Better noise Immunity
• Easy to install and expand
• Inexpensive
Disadvantages:
• Single cable failure can disrupt the entire network
CLASSIFICATION OF TRANSMISSION MEDIA
• Fiber Optic
• Fiber optic cable is a cable that uses electrical signals for communication.
• Fiber optic is a cable that holds the optical fibers coated in plastic that are used to
send the data by pulses of light.
• The plastic coating protects the optical fibers from heat, cold, electromagnetic
interference from other types of wiring.
• Fiber optics provide faster data transmission than copper wires.
CLASSIFICATION OF TRANSMISSION MEDIA
• Fiber Optic
Advantages:
• Increased capacity and bandwidth
• Lightweight
• Less signal attenuation
• Immunity to electromagnetic interference
• Resistance to corrosive materials
Disadvantages:
• Difficult to install and maintain
• High cost
• Fragile
CLASSIFICATION OF TRANSMISSION MEDIA
• Unguided Transmission
• An unguided transmission transmits the electromagnetic waves without using any
physical medium.Therefore it is also known as wireless transmission.
• In unguided media, air is the media through which the electromagnetic energy can
flow easily.
• Unguided transmission is broadly classified into three categories:
Radio wave
Microwave
Infrared
CLASSIFICATION OF TRANSMISSION MEDIA
• Unguided Transmission
Radio wave
• Radio waves are the electromagnetic waves that are transmitted in all the directions of free space.
• Radio waves are omnidirectional, i.e., the signals are propagated in all the directions.
• In the case of radio waves, the sending and receiving antenna are not aligned, i.e., the wave sent by the
sending antenna can be received by any receiving antenna.
• Microwave
• It is a line of sight transmission i.e. the sending and receiving antennas need
to be properly aligned with each other. The distance covered by the signal is
directly proportional to the height of the antenna. Frequency Range:1GHz –
300GHz. These are majorly used for mobile phone communication and
television distribution.
• Microwaves are of two types:
CLASSIFICATION OF TRANSMISSION MEDIA
• Microwave
• Terrestrial Microwave Transmission
• Terrestrial Microwave transmission is a technology that transmits the focused beam of a radio
signal from one ground-based microwave transmission antenna to another.
• Microwaves are the electromagnetic waves having the frequency in the range from 1GHz to 1000
GHz.
• Microwaves are unidirectional as the sending and receiving antenna is to be aligned, i.e., the waves
sent by the sending antenna are narrowly focused.
• In this case, antennas are mounted on the towers to send a beam to another antenna which is km
away.
• It works on the line of sight transmission, i.e., the antennas mounted on the towers are the direct
sight of each other.
CLASSIFICATION OF TRANSMISSION MEDIA
• Microwave
• Disadvantages of Microwave transmission:
• Advantages Of Microwave:
• Eavesdropping: An eavesdropping creates insecure
• Microwave transmission is cheaper than
communication. Any malicious user can catch the
using cables.
signal in the air by using its own antenna.
• It is free from land acquisition as it does
• Out of phase signal: A signal can be moved out of
not require any land for the installation of
phase by using microwave transmission.
cables.
• Susceptible to weather condition: A microwave
• Microwave transmission provides an easy
transmission is susceptible to weather condition. This
communication in terrains as the
means that any environmental change such as rain,
installation of cable in terrain is quite a
wind can distort the signal.
difficult task.
• Bandwidth limited: Allocation of bandwidth is limited
• Communication over oceans can be
in the case of microwave transmission
achieved by using microwave transmission.
CLASSIFICATION OF TRANSMISSION MEDIA
• Microwave
• Satellite Microwave Communication
• A satellite is a physical object that revolves around the
earth at a known height.
• Satellite communication is more reliable nowadays as it
offers more flexibility than cable and fibre optic
systems.
• We can communicate with any point on the globe by
using satellite communication.
• How Does Satellite work?
• The satellite accepts the signal that is transmitted from
the earth station, and it amplifies the signal.The
amplified signal is retransmitted to another earth
station.
TRANSMISSION MODE
1. 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. The simplex
mode can use the entire capacity of the channel to send data in one direction.
Example:
Keyboard and traditional monitors. The keyboard can only introduce input, the
monitor can only give the output.
Radio broadcasts
Internet streaming
DATA TRANSMISSION MODES
2. 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 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.
Example: Walkie-talkie in which message is sent one at a time and messages are sent in both
directions.
Other examples : Fax machines, credit card verification and automatic teller
DATA TRANSMISSION MODES
3. Full Duplex.
In full-duplex mode, both stations can transmit and receive simultaneously. In
full_duplex mode, signals going in one direction share the capacity of the link
with signals going in another direction, this sharing can occur in two ways:
• Either the link must contain two physically separate transmission paths, one for
sending and the other for receiving.
• Or the capacity is divided between signals traveling in both directions.
• Example: Telephone Network in which there is communication between two
persons by a telephone line, through which both can talk and listen at the same
time.
DATA TRANSMISSION MODES
• Analog Signal
• Analogue signal transmission which is used in a communication that involves the
transmission of analogue signals from the transmitter to the receiver.
• Analogue signals continuously vary with time. They are sinusoidal in nature and usually
have harmonics. They represent the variations of physical quantities such as sound,
pressure, temperature, etc. and are represented by voltage waveforms that have
different amplitudes at different instants of time.
• Examples of analogue signal transmissions are voice transmission through a telephone
line, Radio and TV broadcast to the general public. Sometimes analogue signals are first
converted into digital signals before being transmitted.
FUNDAMENTALS OF TRANSMISSION
• Digital Signal
• Digital signal transmission which is used in a communication that involves the transmission of
digital signals from the transmitter to the receiver.
• Digital signals are not continuous. They are made up of pulses which occur at discrete intervals
of time.The pulses may occur singly at a definite period of time or as a coded group.
• Examples of digital signals are
i. Telegraph signal which is generated by a telegraph and teleprinter which are the most
common instruments being used to transmit written text in the form of coded signals.
ii. Radar signal which is generated by a radar (a device being used to find out the location of
distant objects in terms of location and bearing by transmitting a short period signal and
beaming it to the location of the target.The reflected signal is picked up by the radar.
iii. Data signals which are generated by several devices and are required to transmit data from
one place to another. The data to be transmitted are converted into electrical pulses before
transmission is done.
ANALOG VS DIGITAL SIGNAL
MODULATION AND DEMODULATION
• Modulation is the process of converting data into electrical signals or optical carrier signals which
optimize for transmission.Thus, slightly similar to a sine wave, a carrier wave composes of constant
frequency.
Types of modulation
• There are many three types of modulation:
• Frequency Modulation – When the frequency of a carrier wave changes or varies due to the change
of the frequency of the signal modulation while the amplitude and frequency are at a constant state, we
term it as Frequency modulation.
• Phase Modulation – When the phase of a high-frequency carrier wave changes or varies due to the
change of the phase of the signal modulation while the amplitude and frequency are at a constant state,
we term it as Phase modulation.
• Amplitude Modulation – When the amplitude of a high-frequency carrier wave changes or varies
due to the change of the amplitude of the signal modulation while the phase and frequency are at a
constant state, we term it as Amplitude modulation.
MODULATION AND DEMODULATION
In this diagram, data is being transmitted from A to B, A being the sender and B being the receiver. A couple
of sync data packets initialize the transmission process. The sync packets, once received by the receiver, are
decoded and serve to synchronize the receiving clock with the sending clock. Once synchronization is
achieved, sending and receiving commences.
SYNCHRONOUS AND
ASYNCHRONOUS TRANSMISSION
• In the case of asynchronous transmission, the data or signals being
transmitted and received are not done in synchronization. The time interval
between the sending and receiving devices enable transmission and reception
at their own pace. This means the data sending transmitter may not be at the
same rate as the data receptor. This mode of transmission is not monitored by
the same rate and the transmission is said to be asynchronous. For example,
observe the data transfer:
NETWORK TOPOLOGY
• Topology defines the structure of the network of how all the components are
interconnected to each other.There are two types of topology: physical and logical topology.
• Physical topology is the geometric representation of all the nodes in a network.
• Bus topology
• Star topology
• Ring topology
• Fully connected topology
• Combined topology
NETWORK TOPOLOGY
• Bus Topology
• The bus topology is designed in such a way that all the stations are connected through
a single cable known as a backbone cable.
• Each node is either connected to the backbone cable by drop cable or directly
connected to the backbone cable.
• When a node wants to send a message over the network, it puts a message over the
network. All the stations available in the network will receive the message whether it
has been addressed or not.
• The bus topology is mainly used in 802.3 (ethernet) and 802.4 standard networks.
• The configuration of a bus topology is quite simpler as compared to other topologies.
• The backbone cable is considered as a "single lane" through which the message is
broadcast to all the stations.
NETWORK TOPOLOGY
• Low-cost cable: In bus topology, nodes are •Extensive cabling: A bus topology is quite simpler,
directly connected to the cable without but still it requires a lot of cabling.
passing through a hub. Therefore, the initial
•Difficult troubleshooting: It requires specialized
cost of installation is low. test equipment to determine the cable faults. If any
• Moderate data speeds: Coaxial or twisted fault occurs in the cable, then it would disrupt the
pair cables are mainly used in bus-based communication for all the nodes.
networks that support upto 10 Mbps. •Signal interference: If two nodes send the
• Familiar technology: Bus topology is a messages simultaneously, then the signals of both the
familiar technology as the installation and nodes collide with each other.
troubleshooting techniques are well known, •Reconfiguration difficult: Adding new devices to
and hardware components are easily available. the network would slow down the network.
• Limited failure: A failure in one node will •Attenuation: Attenuation is a loss of signal leads
not have any effect on other nodes. to communication issues. Repeaters are used to
regenerate the signal.
NETWORK TOPOLOGY
• Ring topology
• Ring Topology is like a bus topology, but with connected ends.
• The node that receives the message from the previous computer will retransmit to the next node.
• The data flows in one direction, i.e., it is unidirectional.
• The data flows in a single loop continuously known as an endless loop.
• It has no terminated ends, i.e., each node is connected to other node and having no termination point.
• The data in a ring topology flow in a clockwise direction.
• The most common access method of the ring topology is token passing.
Token passing: It is a network access method in which token is passed from one node to
another node.
Token: It is a frame that circulates around the network.
NETWORK TOPOLOGY
• Star Topology
• Star topology is an arrangement of the network in which every node is
connected to the central hub, switch or a central computer.
• The central computer is known as a server, and the peripheral devices
attached to the server are known as clients.
• Coaxial cable or RJ-45 cables are used to connect the computers.
• Hubs or Switches are mainly used as connection devices in a physical
star topology.
• Star topology is the most popular topology in network implementation.
NETWORK TOPOLOGY
• Tree Topology
• Tree topology combines the characteristics of bus topology and star
topology.
• A tree topology is a type of structure in which all the computers are
connected with each other in hierarchical fashion.
• The top-most node in tree topology is known as a root node, and all
other nodes are the descendants of the root node.
• There is only one path exists between two nodes for the data
transmission.Thus, it forms a parent-child hierarchy.
NETWORK TOPOLOGY
• Mesh Topology
• Mesh technology is an arrangement of the network in which computers are interconnected with each
other through various redundant connections.
• There are multiple paths from one computer to another computer.
• It does not contain the switch, hub or any central computer which acts as a central point of
communication.
• The Internet is an example of the mesh topology.
• Mesh topology is mainly used for WAN implementations where communication failures are a critical
concern.
• Mesh topology is mainly used for wireless networks.
• Mesh topology can be formed by using the formula:
Number of cables = (n*(n-1))/2;
• Where n is the number of nodes that represents the network.
NETWORK TOPOLOGY
• Hybrid Topology
• The combination of various different topologies is known as Hybrid
topology.
• A Hybrid topology is a connection between different links and nodes to
transfer the data.
• When two or more different topologies are combined together is termed
as Hybrid topology and if similar topologies are connected with each other
will not result in Hybrid topology. For example, if there exist a ring topology
in one branch of ICICI bank and bus topology in another branch of ICICI
bank, connecting these two topologies will result in Hybrid topology.
NETWORK TOPOLOGY
• Syntax
• Data formats
• Signal levels
• Semantics
• Control information
• Error handling
• Timing
• Speed matching
• Sequencing
WHY PROTOCOLS?
• Explosive growth –
• starts out as a research project of a few dozen nodes. Now, it
spans 82 countries and has millions of nodes.
• It has been growing exponentially since its inception.
• Used in all Venues-
• Government
• Education
• Private companies
HISTORY OF THE INTERNET