Professional Documents
Culture Documents
AND NETWORKING
ผศ.ดร.ณัฐกานต์ พุทธรักษ์
Lecture 2
ภาคการศึกษาที่ 1 ปี การศึกษา 2562
1
LAST CLASS
▪Overview
▪Network Architecture and Model
▪OSI Model
▪TCP/IP Model
2
TODAY’S OUTLINE
Physical layer:
Fundamental of Signal Transmission
Topology
Transmission Mode
Media Types
Conversion Methods (Digital Transmission)
3
DATA VS SIGNAL
4
ANALOG VS DIGITAL
5
6
LINE CONFIGURATION
8
Multipoint Line Configuration
9
Topologies
• Mesh
• Star
• Tree
• Bus
• Ring
10
MESH TOPOLOGY
Every device has a dedicated point-to-point link to
every other device.
11
MESH TOPOLOGY ADVANTAGES AND
DISADVANTAGES
1- eliminating the traffic problems
2- robust, if one link becomes unusable, it does not
incapacitate the entire system.
3- privacy or security
4- fault identification and fault isolation easy
5- large amount of cabling and number of I/O ports
required
6- Difficult installation and reconfiguration
12
STAR TOPOLOGIES
13
STAR TOPOLOGY ADVANTAGES
15
TREE TOPOLOGY ADVANTAGES
1- Allows more devices to be attached
2- Increase the distance a signals can travel between
devices.
3- Allows the network to isolate and prioritize
communications from different computers.
16
BUS TOPOLOGIES
Multipoint configurations. Long cable (backbone)
used to link all the devices in the network.
17
BUS TOPOLOGY ADVANTAGES AND
DISADVANTAGES
1- Easy to install
2- Less cabling than mesh, star or tree
18
RING TOPOLOGY
Each device has a dedicated point–to–point line
configuration only with the two devices on either side of it.
1- Easy to install and reconfigure
2- Fault isolation is simplified
3- Break in the ring can disable the entire network
19
HYBRID TOPOLOGIES
several topologies are linked together in a
larger topology
20
Transmission Mode
Refer to the direction of signal flow between
two linked devices
21
TRANSMISSION MEDIA
Guided Media
Unguided Media
TWISTED-PAIR CABLE
23
Effect of Noise on Parallel Lines
24
Noise on Twisted-Pair Lines
25
Unshielded Twisted-Pair Cable
28
SHIELDED TWISTED-PAIR (STP) CABLE
Shielded Twisted-Pair (STP) Cable has a metal foil or braided-
mesh covering that encases each pair of insulated conductors.
Metal Casing prevents the penetration of electromagnetic
noise.
Eliminate Crosstalk, undesired effect of one channel to another
channel.
29
30
ELECTRONIC INDUSTRIES ASSOCIATION
(EIA) CATEGORIES
Category 1: The basic twisted-pair cabling used in telephone
systems, good for voice but low speed data communication.
(56 kbps)
Category 2: The next higher grade, suitable for voice and for
data transmission of up to 4 Mbps.
Category 3: Required to have at least three twists per foot
and can be used for data transmission of up to 10 Mbps.
Category 4: At least three twists per foot, to bring the
transmission rate to 16 Mbps.
Category 5: Used for data transmission up to 100 Mbps.
Category 6: is a standardized cable for Gigabit Ethernet.
31
Coaxial Cable
32
COAXIAL CABLE
Coaxial Cable has a single copper conductor a plastic layer
provides insulation. Coaxial has a central core conductor of
solid copper enclosed in an insulating sheath.
Carries signals of higher frequency ranges than twisted-pair
cable.
37
MULTIMODE STEP-INDEX
38
MULTIMODE GRADED-INDEX
uses fiber with varying densities
Each density difference causes each beam to
refract into a curve.
39
SINGLE MODE
40
41
UNGUIDED MEDIA OR WIRELESS
42
TERRESTRIAL MICROWAVE/RADIO
„ Provides omnidirectional or unidirectional signaling
depending on transmitter and antenna.
➢Suffer from factors such as bad weather conditions and
obstruction by man-made objects.
43
SATELLITE
Satellites are using direct line of sight between the
transmitters and receivers.
„ Data transmitted using electromagnetic (radio) waves
propagating through the atmosphere.
„ Typically many signals will be multiplexed onto a
single satellite channel utilizing a high bit rate.
Application:
➢Areas with little wired infrastructure
➢Mobile communication
➢Broadcast communication
➢Rapid deployment (military) 45
Conversion Methods
To send data from one place to another, it must be
transformed into signals
47
DIGITAL–TO–DIGITAL ENCODING
1- Unipolar encoding
2- Polar encoding 3- Bipolar encoding
- Non-Return to Zero (NRZ) - AMI (Alternate Mark
1- NRZ-Level Inversion)
2- NRZ-Invert - B8ZS ( Bipolar 8-Zero
- Return to Zero (RZ) substitution)
- Biphase - HDB3 ( High -Density
1- Manchester Bipolar 3)
2- Differential Manchester
48
UNIPOLAR ENCODING
▪Data is transmitted using voltage pulses along the
cable
▪One voltage level stands for 0, and another level
stands for 1
▪1s are encoded as a positive value and 0s are
encoded as the zero value.
49
Types of Polar Encoding
50
Nonreturn–to-Zero Level (NRZ-L)
▪A positive voltage for bit 0 and the negative voltage for
the bit 1
▪The signal level is directly related to the bit value
51
NRZ-L and NRZ-I Encoding
52
NRZ Advantages and Disadvantages
• easy to engineer
• used for magnetic
• make efficient use Recording
of bandwidth
53
RETURN TO ZERO (RZ)
▪uses three values: positive, negative and zero
▪signal changes during each bit in the middle of each
bit interval, the signal returns to zero
▪A 1 Bit represented by positive–to–zero
▪A 0 bit represented by negative–to-zero
RZ Encoding
54
BIPHASE
55
MANCHESTER ENCODING
▪A negative to positive transition represents a binary 1
▪A positive to negative transition represents a binary 0
▪A transition of the middle of the bit is used for both
synchronization and bit representation
57
Biphase Pros and Cons
Pros
• synchronization on midbit transition
(self clocking)
• has no dc component
• has error detection
Cons
• at least one transition per bit time
and may have two
• maximum modulation rate is twice
NRZ
• requires more bandwidth
58
BIPOLAR ENCODING
Uses three voltage levels: positive, negative and Zero
The Zero level is used to represent the binary 0
The binary 1 is represented by alternating positive and
negative voltages
Alternative Mark Inversion (AMI)
Bipolar 8-Zero substitution (B8ZS)
High-Density Bipolar 3 (HDB3)
59
Bipolar AMI Encoding
60
BIPOLAR 8-ZERO SUBSTITUTION (B8ZS)
61
Using B8ZS, encode the bit stream
10000000000100.
Assume that the polarity of first 1 is positive
62
HIGH-DENSITY BIPOLAR 3 (HDB3)
▪Is a variation of AMI and is Adapted in Europe and
Japan
▪When 4 Zeros comes after another, it changed the
pattern depends on the polarity of the previous 1,
and number of 1s since the last substitution
HDB3 Encoding
63
Using HDB3, encode the bit stream
10000000000100. Assume that the number of 1s
so far is odd and the first 1 is positive
64
NEXT CLASS
Data-Link Layer:
• Conversion Methods (Cont’d)
• Data Link Layer
65