Unit-1 Data Communication Physical Layer
Unit-1 Data Communication Physical Layer
DATA
COMMUNICATION
1
TABLE OF CONTENTS
Introduction to Data Communications
Components of Data Communications
Data Flow
Networks
Network Criteria
Physical Structures
Categories of Network
Protocols
Elements of Protocol
OSI Model
TCP/IP Reference Model
Comparison b/w OSI and TCP/IP Models
Physical Layer
Guided Transmission Media
Unguided Transmission Media
Multiplexing Schemes 2
INTRODUCTION TO DATA COMMUNICATIONS
3
Components of Data Communication:
A data communications system has five components.
1. Message
2. Sender.
3. Receiver.
4. Transmission medium.
5. Protocol.
4
FIGURE COMPONENTS OF A DATA
COMMUNICATION SYSTEM
5
DATA FLOW
Communication between two devices can be
simplex, half-duplex, or full-duplex as shown in
6
NETWORKS
9
FIGURE TYPES OF CONNECTIONS: POINT-TO-
POINT AND MULTIPOINT
10
FIGURE CATEGORIES OF
TOPOLOGY
11
FIGURE A FULLY CONNECTED MESH
TOPOLOGY (FIVE DEVICES)
12
FIGURE A STAR TOPOLOGY CONNECTING
FOUR STATIONS
13
FIGURE A BUS TOPOLOGY CONNECTING
THREE STATIONS
14
FIGURE A RING TOPOLOGY
CONNECTING SIX STATIONS
15
FIGURE A HYBRID TOPOLOGY: A STAR BACKBONE WITH
THREE BUS NETWORKS
16
CATEGORIES OF NETWORKS
17
FIGURE AN ISOLATED LAN CONNECTING 12 COMPUTERS
TO A HUB IN A CLOSET
18
FIGURE WANS: A SWITCHED WAN AND A POINT-TO-
POINT WAN
19
FIGURE A HETEROGENEOUS NETWORK MADE OF FOUR
WANS AND TWO LANS
20
PROTOCOLS
21
ELEMENTS OF A PROTOCOL
• Syntax
– Structure or format of the data
– Indicates how to read the bits - field
delineation
• Semantics
– Interprets the meaning of the bits
– Knows which fields define what action
• Timing
– When data should be sent and what
– Speed at which data should be sent or speed
at which it is being received.
22
OSI MODEL
• Open Systems Interconnection Basic
Reference Model (OSI Reference Model or OSI
Model) is an abstract description for layered
communications and computer network
protocol design. It was developed as part of
the Open Systems Interconnection (OSI)
initiative.
• In its most basic form, it divides network
architecture into seven layers. It is therefore
often referred to as the OSI Seven Layer
23
Model.
OSI Model (cntd..)
Layer 7 Application
Layer 6 Presentation
Layer 5 Session
Layer 4 Transport
Layer 3 Network
Layer 2 Data Link
Layer 1 Physical
24
25
OSI MODEL'S 7 LAYERS
Application to
APPLICATION APPLICATION
Application
Application to
PRESENTATION Application PRESENTATION
Application to
SESSIO SESSIO
Application
N N
Hop to Hop
DATA LINK Switch DATA LINK
Hop to Hop
26
NODE A NODE B
Sending Device Receiving Devic e
27
7 Application • The top layer of the OSI
model
6 Presentation • Provides a set of interfaces
5 Session for sending and receiving
applications to gain access
4 Transport to and use network
3 Network services. Processing.
• This deal with
2 Data Link layer applicatio ns.
networking
1 Physical Email
Examples:
Web browsers
28
7 Application This layer is responsible
6 Presentation for presenting the data in
the required format
5 Session which may include:
4 Transport Code
Formatting/Translation
3 Network Encryption
2 Data Link Compression
1 Physical
29
7 Application This layer establishes,
manages, and terminates
6 Presentation
sessions between two
5 Session communicating hosts.
Creates Virtual Circuit
4 Transport Coordinates communication
between systems
3 Network Organize their communication
2 Data Link by offering three different
modes
1 Physical Simplex
Half Duplex
Full Duplex
30
This layer breaks up the
7 Application data from the sending host
6 Presentation and then reassembles it in
5 Session the receiver.
It provides reliable data
4 Transport transport across the
3 Network
network. features of th is
2 Data Link Other
layer are:
1 Physical Sequencing
Acknowledgment
Retransmission
Flow Control
31 14
7 Application End to End Delivery
Provide logical addressing
6 Presentation
that routers use for path
5 Session determination
4 Transport Internetwork
Communication
3 Network Packet
2 Data Link forwarding
Packet
1 Physical
Filtering
Makes “Best Path
Determination”
32
7 Application Performs Physical
Addressing
6 Presentation This layer provides
5 Session reliable transit of data
across a physical link.
4 Transport Access to media using
MAC address
3 Network Error detection
LLC and MAC
2 Data Link
Logical Link Control
1 Physical performs Link
establishment
MAC Performs Access
Preamble DMAC SMAC Data length DATA FCS
method
33
7 Application
6 Presentation
5 Session This is the physical media
through which the data,
4 Transport represented as electronic
3 Network signals, is sent from the
source host to the destination
2 Data Link host.
34
TCP/IP REFERENCE MODEL
35
OSI(Open System Interconnection) TCP/IP(Transmission Control Protocol /
Internet Protocol)
1. OSI provides layer functioning and also 1. TCP/IP model is more based on protocols
defines functions of all the layers. and protocols are not flexible with other
layers.
2. In OSI model the transport layer 2. In TCP/IP model the transport layer does
guarantees the delivery of packets not guarantees delivery of packets.
3. Follows horizontal approach 3. Follows vertical approach.
4. OSI model has a separate presentation 4. TCP/IP does not have a separate
layer presentation layer
5. OSI is a general model. 5. TCP/IP model cannot be used in any other
application.
6. Network layer of OSI model provide both 6. The Network layer in TCP/IP model
connection oriented and connectionless provides connectionless service.
service.
7. OSI model has a problem of fitting the 7. TCP/IP model does not fit any protocol
protocols in the model
8. Protocols are hidden in OSI model and are 8. In TCP/IP replacing protocol is not easy.
easily replaced as the technology changes.
9. OSI model defines services, interfaces and 9. In TCP/IP it is not clearly separated its
protocols very clearly and makes clear services, interfaces and protocols.
distinction between them.
•Transmission Media
There are two types of transmission media
Guided – copper wires, fiber optic cable
Unguided – Wireless (Radio Frequency /
Microwave) 37
GUIDED TRANSMISSION MEDIA
Guided transmission is where the signal (information or data) is
sent through some sort of cable, usually copper or optical fiber.
There are many different types of cabling:
39
Coaxial Cable (coax)
• This consists of a copper cable inside a
layer of insulating material.
The insulating material is then inside a
braided outer conductor.
A layer of plastic is on the outermost layer.
•This type of cable was commonly used in the
telephone system but has since been
replaced by fiber optics on longer routes
•This cable has also been used for Cable TV
and Local Area Networks (LANs)
40
Fiber Optic Cable
• This consists of a central glass core, surrounded by a
glass cladding of lower refractive index, so that the light
stays in the core (using Total Internal Reflection)On the
outside is a plastic jacket
Many fibers may be bundled together surrounded by
another plastic cover
Glass Glass Plastic
Core Cladding Glass Glass
Jacket Core Cladding
Plastic Plastic
Cover Jacket
41
UNGUIDED TRANSMISSION MEDIA
Radio Transmission
• Radio waves are easy to generate and can
travel long distances and penetrate
buildings.
• Radio waves are omni-directional which
basically means that they can transmit both
ways.
• The transmitter and receiver do not have to
42
be in direct line of sight
MICROWAVE TRANSMISSION
• Above 100MHz, waves travel in straight lines and can be narrowly
focused into a small beam using a special parabolic antenna.
TDM works with digital signals as While FDM works with only analog
well as analog signals. signals.
47
REFERENCES
https://www.uio.no/studier/emner/matnat/ifi/INF1060/h
14/undervisningsmateriale/datacom-01.pdf
https://link.springer.com/chapter/10.1007/978-1-4615-
3292-7_1
https://www.oreilly.com/library/view/business-data-com
munications/9781118086834/09-Chapter001.html
48