Computer Networks: Unit 2: Prof. Swarnalata Bollavarapu Contact: Swarnalata.b@nmims - Edu
Computer Networks: Unit 2: Prof. Swarnalata Bollavarapu Contact: Swarnalata.b@nmims - Edu
Computer Networks: Unit 2: Prof. Swarnalata Bollavarapu Contact: Swarnalata.b@nmims - Edu
Networks:
Unit 2
Prof. Swarnalata Bollavarapu
Contact: swarnalata.b@nmims.edu
Contents
Communication Signals
Purpose of the physical layer
Physical layer operation
Physical layer standards
Fundamental principles
Signaling and encoding
Physical media types
Transmission impairment
Performance
Circuit and Packet Switching
Ref Book: Mark Dye et.al, “Network Fundamentals”, CCNA
Exploration Companion Guide, Cisco Press
Purpose
The role of the OSI physical layer is to encode the binary digits that represent
data link layer frames into signals and to transmit and receive these signals
across the physical media—copper wires, optical fiber, and wireless—that
connect network devices
the physical layer encodes the logical frame with patterns of data that will
make it recognizable to the device that will pick it up on the other end of the
medium.
Purpose
The delivery of frames across the local media requires the following physical
layer elements:
■ The physical media and associated connectors
■ A representation of bits on the media
■ Encoding of data and control information
■ Transmitter and receiver circuitry on the network devices
After the signals traverse the medium, they are decoded to their original bit
representations of data and given to the data link layer as a complete frame.
Operation
Each medium has unique signaling used to represent the bits
Copper cable: Patterns of electrical pulses
Fiber-optic cable: Patterns of light pulses
Wireless: Patterns of radio transmissions
To mark the beginning and end of frames, the transmitting device uses a bit
pattern that is unique and is only used to identify the start or end of frames.
Standards
Unlike the other layers, the physical layer, along with some similar
technologies in the data link layer, defines hardware specifications, including
electronic circuitry, media, and connectors.
the physical layer specifications were defined by electrical and
communications engineering organizations like ISO, IEEE, ITU etc
Design considerations:
Physical and electrical properties of the media
■ Mechanical properties (materials, dimensions, and pinouts) of the
connectors
■ Bit representation by the signals (encoding)
■ Definition of control information signals
Fundamental principles
Physical components carry the message in a reliable and consistent manner
so that the receiver gets the message as it was sent.
Encoding : The bits in the encapsulated data link layer frame need to be
grouped, or encoded, into patterns recognized by Layer 1 devices. After
transmission, the receiving Layer 1 device decodes patterns and hands the
frame up to the data link layer. It also does control information to indicate the
start and end of frames
The process of signaling involves determining how to represent the binary
bit on a specific medium. For example, if the medium is copper, the signal
will be in the form of positive and negative patterns of voltage.
Recap
Fundamental layer underlying any network
Consists of hardware
Provides basic communication channel
Main role: transmit bits over a physical link between devices
Main operation: encoding (bits to signal) and decoding (signal to bits)
Standards at physical layer: specifications in terms of type of connections,
cables and connectors
Recap
Analog and Digital Data
Analog and digital correspond to continuous and discrete.
Analog data:- voice and video are continuously
varying patterns of intensity so they can be
said as analog data.
Digital data:- it is a data stored in computer in
form of 0 and 1.
Analog and digital signals
Signals: electric or electromagnetic encoding of data.
• Analog signal – a continuously varying electromagnetic
wave that may be propagated over a variety of medium
depending on the spectrum (e.g., wire, twisted pair, coaxial
cable, fiber optic cable and atmosphere or space
propagation).
• Digital signal – a sequence of voltage pulses that may be
transmitted over a wire medium.
Analog signal characteristics
Peak amplitude: It represents the absolute value of its highest intensity,
proportional to energy it carries.
Period and frequency: period refers to as amount of time, In seconds, a
signal needs to complete one cycle.
frequency refers to no of the periods or cycles in one second.
F=1/T and T=1/f
Phase:
The term phase describes the positions of the waveform relative to time
zero.
Phase is measured in degree or radians.
Bandwidth:-
the range of frequency a medium can pass is said to be as bandwidth.
The bandwidth is property of medium.
Digital Signal
Data can be represented by digital signals. 1 can be represented
by positive voltage and 0 can be represented by 0 voltage.
Two terms bit rate and bit interval are used to describe digital
signals.
Bit rate:- number of bit intervals per second, usually expressed
in bits per second(bps).
Bit interval:- time required to send one single bit
Bit interval=1/bit rate
Transmission Impairment
Impairment Types:
Attenuation
Means loss of energy. When signal travels through medium it loses
some of its energy.
Distortion
Means signal changes its form or shape.
Noise
Unwanted or random signal that mixes with the original signal. Several
type of noise such as thermal noise, induced noise, cross-talk and
impulse noise may corrupt the signal
Signaling and Encoding
Wires and wireless channels carry analog signals such as continuously
varying voltage, light intensity, or sound intensity.
To send digital information, we must devise analog signals to represent bits.
The process of converting between bits and signals that represent them is
called digital modulation/ encoding
there must be synchronization between the sending and the receiving units.
Synchronization means that both sending and receiving units agree on the
timing of the signals.
Synchronization of the signals assures that the bits will be in order and can be
properly interpreted by the receiving unit.
Signaling and Encoding
There are several different methods of representing these binary digits on
physical media as a signal.
Each method finds a way to convert a pulse of energy into a defined amount
of time known as a bit time.
Bit time is the time it takes for a NIC at OSI Layer 2 to generate 1 bit of data
and send it out to the media as a signal.
Different signaling methods vary in the way they represent bits in the bit
time.
Three possible variations of a signal that can represent encoded bits are
Amplitude
Frequency
Phase
Signaling and Encoding
Signal methods:
Signaling and Encoding
Signal methods:
Signaling and Encoding
Different signal methods have different advantages and performance standards, but it
is essential that all devices on the network use the same method so that the messages
from sending devices can be read by the receiving devices.
Cat 5,Cat 5e
Cat 6
Physical media and its types
Unshielded twisted-pair (UTP):
The most common UTP cable connector in LAN devices is an RJ-45 connector.
Most computers accessing a network through cable use an RJ-45 connector plugged
into the computer network interface card at one end and a hub or switch device at the
other.
Physical media and its types
Coaxial Cable (Coax):
has a single, coated copper wire center and an outer metal mesh that acts as
both a grounding circuit and an electromagnetic shield to reduce interference
carries signal of higher frequency ranges
Usage: Cable TV
Physical media and its types
Fiber :
fiber-optic cable uses light pulses conducted through special glass conductors
to carry data.
The cable is engineered to be as pure as possible and to allow reliable light
signals to traverse the medium.
fiber has greater bandwidth and can run much farther than cable without
needing a signal enhanced, but the higher cost of fiber-optic cable and
connectors, along with special training required for installing fiber, limits its
feasibility to special uses.
Physical media and its types
Fiber :
The light carried on fiber cables is generated by either a laser or a light
emitting diode
(LED) that converts the data to light pulses.
At the receiving end, devices called photodiodes interpret the light signal,
decode the bit pattern, and send it up to the data link layer.
There are two basic types of fiber-optic cable: single-mode and multimode
Physical media and its types
Wireless Media:
Wireless media carry electromagnetic radio signals that represent the binary
data of the data-link frame.
Wireless technologies transmit and receive signals through the medium of the
open atmosphere
Although wireless has advantages, there are some disadvantages to its use
Wireless LAN:
Wireless access point (AP): Concentrates the wireless signals from users
and connects, usually through a copper cable, to the existing copper-based
network infrastructure such as Ethernet
■ Wireless NIC adapter: Provides wireless communication capability to
each network host
Circuit Switching
•Circuit switching is a switching technique that establishes a dedicated path
between sender and receiver.
•In the Circuit Switching Technique, once the connection is established then
the dedicated path will remain to exist until the connection is terminated.
•Circuit switching in a network operates in a similar way as the telephone
works.
•A complete end-to-end path must exist before the communication takes
place.
•In case of circuit switching technique, when any user wants to send the
data, voice, video, a request signal is sent to the receiver then the receiver
sends back the acknowledgment to ensure the availability of the dedicated
path. After receiving the acknowledgment, dedicated path transfers the
data.
•Circuit switching is used in public telephone network. It is used for voice
transmission.
•Fixed data can be transferred at a time in circuit switching technology.
Packet Switching
•the message is divided into smaller pieces and sent individually.
•The message splits into smaller pieces known as packets and
packets are given a unique number to identify their order at the
receiving end.
•Every packet contains some information in its headers such as
source address, destination address and sequence number.
•Packets will travel across the network, taking the shortest path as
possible.
•All the packets are reassembled at the receiving end in correct
order.
•If any packet is missing or corrupted, then the message will be
sent to resend the message.
•If the correct order of the packets is reached, then the
acknowledgment message will be sent.
Performance
•Bandwidth: It is characterized as the measure of data or information that can
be transmitted in a fixed measure of time
•Throughput: Throughput is the number of messages successfully transmitted
per unit time. It is controlled by available bandwidth, the available signal-to-
noise ratio and the hardware limitations
•Latency (Delay): It is defined as the total time taken for a complete message
to arrive at the destination, starting with the time when the first bit of the
message is sent out from the source and ending with the time when the last
bit of the message is delivered at the destination.
Link Performance:
Data Rate: how many bits per second can be transferred on the link,in Mbps,
Gbps
Loss rate: what is the probability of packet error rate on the link?
Delay: how much time does it take for the bits to reach other end
Reflection questions
1. Copper cable and fiber-optic cable are examples of ____________, which
is used to carry the communication signal.
3. Which of the following measures the actual data transfer rate over a medium?
A. Bandwidth
B. Output
C. Throughput