SlideShare una empresa de Scribd logo
1 de 10
CSE390 Advanced
Computer Networks
Lecture 5: Physical Layer
(The layer for EE majors…)
Based on slides from D. Choffnes Northeastern
U. Revised Fall 2014 by P. Gill
Physical Layer
2
 Function:
 Get bits across a physical medium
 Key challenge:
 How to represent bits in analog
 Ideally, want high-bit rate
 But, must avoid desynchronization
Applicatio
n
Presentatio
n
Session
Transport
Network
Data Link
Physical
Key challenge
3
 Digital computers
 0s and 1s
 Analog world
 Amplitudes and frequencies
Assumptions
4
 We have two discrete signals, high and low, to encode 1 and 0
 Transmission is synchronous, i.e. there is a clock that controls
signal sampling
 Amplitude and duration of signal must be significant
Time
Sample
Non-Return to Zero (NRZ)
5
 1  high signal, 0  low signal
Clock
NRZ
0 0 0 0 0 0
1
1
1
1
 Problem: long strings of 0 or 1 cause
desynchronization
 How to distinguish lots of 0s from no signal?
Desynchronization
6
 Problem: how to recover the clock during
sequences of 0’s or 1’s?
NRZ
0 0
1
1
1
1
1 1 1 1
Transitions
signify clock
ticks
0 0
1
1
1
1
1 1 1
Receiver
misses a 1
due to skew
Non-Return to Zero Inverted
(NRZI)
7
 1  make transition, 0  remain the same
Clock
NRZI
0 0 0 0 0 0
1
1
1
1
 Solves the problem for sequences of 1s, but not 0s
4-bit/5-bit (100 Mbps Ethernet)
8
 Observation: NRZI works as long as no sequences of 0
 Idea: encode all 4-bit sequences as 5-bit sequences with
no more than one leading 0 and two trailing 0
 Tradeoff: efficiency drops to 80%
0000 11110
0001 01001
0010 10100
0011 10101
0100 01010
0101 01011
0110 01110
0111 01111
1000 10010
1001 10011
1010 10110
1011 10111
1100 11010
1101 11011
1110 11100
1111 11101
4-bit 5-bit 4-bit 5-bit
8-bit / 10-bit used in Gigabit Ethernet
Manchester
9
 1  high-to-low, 0  low-to-high
Clock
NRZI
0 0 0
1
1
 Good: Solves clock skew (every bit is a transition)
 Bad: Halves throughput (two clock cycles per bit)
General comment
10
 Physical layer is the lowest, so…
 We tend not to worry about where to place
functionality
 There aren’t other layers that could interfere
 We tend to care about it only when things go wrong
 http://blog.level3.com/level-3-network/the-10-most-bizarre-
and-annoying-causes-of-fiber-cuts/
 Physical layer characteristics are still
fundamentally important to building reliable
Internet systems
 Insulated media vs wireless

Más contenido relacionado

Similar a Physical.pptx

Skr+3200+chapter+3+(kweh)
Skr+3200+chapter+3+(kweh)Skr+3200+chapter+3+(kweh)
Skr+3200+chapter+3+(kweh)
Ammar Shafiq
 
logic project report with coversheet
logic project report with coversheet logic project report with coversheet
logic project report with coversheet
Bruno Diaz
 
The Doppler EffectWhat is the Doppler effect, and why is it impo.docx
The Doppler EffectWhat is the Doppler effect, and why is it impo.docxThe Doppler EffectWhat is the Doppler effect, and why is it impo.docx
The Doppler EffectWhat is the Doppler effect, and why is it impo.docx
cherry686017
 
Scaling blockchain poart II: Rollups by Dan Boneh
Scaling blockchain poart II: Rollups by Dan BonehScaling blockchain poart II: Rollups by Dan Boneh
Scaling blockchain poart II: Rollups by Dan Boneh
r1tretyakov
 

Similar a Physical.pptx (20)

Cs8591 Computer Networks
Cs8591 Computer NetworksCs8591 Computer Networks
Cs8591 Computer Networks
 
Skr+3200+chapter+3+(kweh)
Skr+3200+chapter+3+(kweh)Skr+3200+chapter+3+(kweh)
Skr+3200+chapter+3+(kweh)
 
logic project report with coversheet
logic project report with coversheet logic project report with coversheet
logic project report with coversheet
 
Chapter 1.pptx
Chapter 1.pptxChapter 1.pptx
Chapter 1.pptx
 
Data linklayer
Data linklayerData linklayer
Data linklayer
 
CODING.ppt
CODING.pptCODING.ppt
CODING.ppt
 
Encoding Techniques
Encoding TechniquesEncoding Techniques
Encoding Techniques
 
Encoding techniques
Encoding techniquesEncoding techniques
Encoding techniques
 
Lecture 20
Lecture 20Lecture 20
Lecture 20
 
Error.pdf
Error.pdfError.pdf
Error.pdf
 
What is Quantum Computing and Why it is Important
What is Quantum Computing and Why it is ImportantWhat is Quantum Computing and Why it is Important
What is Quantum Computing and Why it is Important
 
VTU 5TH SEM CSE COMPUTER NETWORKS-1 (DATA COMMUNICATION) SOLVED PAPERS
VTU 5TH SEM CSE COMPUTER NETWORKS-1 (DATA COMMUNICATION)  SOLVED PAPERSVTU 5TH SEM CSE COMPUTER NETWORKS-1 (DATA COMMUNICATION)  SOLVED PAPERS
VTU 5TH SEM CSE COMPUTER NETWORKS-1 (DATA COMMUNICATION) SOLVED PAPERS
 
The Doppler EffectWhat is the Doppler effect, and why is it impo.docx
The Doppler EffectWhat is the Doppler effect, and why is it impo.docxThe Doppler EffectWhat is the Doppler effect, and why is it impo.docx
The Doppler EffectWhat is the Doppler effect, and why is it impo.docx
 
Current state of IEEE 802.1 Time-Sensitive Networking Task Group Norman Finn,...
Current state of IEEE 802.1 Time-Sensitive Networking Task Group Norman Finn,...Current state of IEEE 802.1 Time-Sensitive Networking Task Group Norman Finn,...
Current state of IEEE 802.1 Time-Sensitive Networking Task Group Norman Finn,...
 
Chapter 2.1.1.pptx
Chapter 2.1.1.pptxChapter 2.1.1.pptx
Chapter 2.1.1.pptx
 
Recurrent Neural Networks II (D2L3 Deep Learning for Speech and Language UPC ...
Recurrent Neural Networks II (D2L3 Deep Learning for Speech and Language UPC ...Recurrent Neural Networks II (D2L3 Deep Learning for Speech and Language UPC ...
Recurrent Neural Networks II (D2L3 Deep Learning for Speech and Language UPC ...
 
Real time-embedded-system-lec-06
Real time-embedded-system-lec-06Real time-embedded-system-lec-06
Real time-embedded-system-lec-06
 
Beating Floating Point at its Own Game: Posit Arithmetic
Beating Floating Point at its Own Game: Posit ArithmeticBeating Floating Point at its Own Game: Posit Arithmetic
Beating Floating Point at its Own Game: Posit Arithmetic
 
Scaling blockchain poart II: Rollups by Dan Boneh
Scaling blockchain poart II: Rollups by Dan BonehScaling blockchain poart II: Rollups by Dan Boneh
Scaling blockchain poart II: Rollups by Dan Boneh
 
Ethernet
EthernetEthernet
Ethernet
 

Más de AssemNazirova2

vlsisubsystemdesignprocessesandillustration-131101063110-phpapp02.pptx
vlsisubsystemdesignprocessesandillustration-131101063110-phpapp02.pptxvlsisubsystemdesignprocessesandillustration-131101063110-phpapp02.pptx
vlsisubsystemdesignprocessesandillustration-131101063110-phpapp02.pptx
AssemNazirova2
 

Más de AssemNazirova2 (18)

IPv4 adressing
IPv4 adressingIPv4 adressing
IPv4 adressing
 
ICT L13 — копия.pptx
ICT L13 — копия.pptxICT L13 — копия.pptx
ICT L13 — копия.pptx
 
CN L8 — копия.ppt
CN L8 — копия.pptCN L8 — копия.ppt
CN L8 — копия.ppt
 
SDT_L8 — копия.ppt
SDT_L8 — копия.pptSDT_L8 — копия.ppt
SDT_L8 — копия.ppt
 
Cloud technology
Cloud technologyCloud technology
Cloud technology
 
CN L7 — копия.ppt
CN L7 — копия.pptCN L7 — копия.ppt
CN L7 — копия.ppt
 
Лекция 1_ РЭС_Презентация — копия.pptx
Лекция 1_ РЭС_Презентация — копия.pptxЛекция 1_ РЭС_Презентация — копия.pptx
Лекция 1_ РЭС_Презентация — копия.pptx
 
CN L5 — копия.pptx
CN L5 — копия.pptxCN L5 — копия.pptx
CN L5 — копия.pptx
 
physical_layer.pptx
physical_layer.pptxphysical_layer.pptx
physical_layer.pptx
 
CN L5.pptx
CN L5.pptxCN L5.pptx
CN L5.pptx
 
CN L1 — копия.ppt
CN L1 — копия.pptCN L1 — копия.ppt
CN L1 — копия.ppt
 
vlsisubsystemdesignprocessesandillustration-131101063110-phpapp02.pptx
vlsisubsystemdesignprocessesandillustration-131101063110-phpapp02.pptxvlsisubsystemdesignprocessesandillustration-131101063110-phpapp02.pptx
vlsisubsystemdesignprocessesandillustration-131101063110-phpapp02.pptx
 
ICT L5+.pptx
ICT L5+.pptxICT L5+.pptx
ICT L5+.pptx
 
ICT L4.pptx
ICT L4.pptxICT L4.pptx
ICT L4.pptx
 
ICT L2.pptx
ICT L2.pptxICT L2.pptx
ICT L2.pptx
 
HCI.pptx
HCI.pptxHCI.pptx
HCI.pptx
 
E-technology.pptx
E-technology.pptxE-technology.pptx
E-technology.pptx
 
ICT L1 .pptx
ICT L1  .pptxICT L1  .pptx
ICT L1 .pptx
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Último (20)

DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 

Physical.pptx

  • 1. CSE390 Advanced Computer Networks Lecture 5: Physical Layer (The layer for EE majors…) Based on slides from D. Choffnes Northeastern U. Revised Fall 2014 by P. Gill
  • 2. Physical Layer 2  Function:  Get bits across a physical medium  Key challenge:  How to represent bits in analog  Ideally, want high-bit rate  But, must avoid desynchronization Applicatio n Presentatio n Session Transport Network Data Link Physical
  • 3. Key challenge 3  Digital computers  0s and 1s  Analog world  Amplitudes and frequencies
  • 4. Assumptions 4  We have two discrete signals, high and low, to encode 1 and 0  Transmission is synchronous, i.e. there is a clock that controls signal sampling  Amplitude and duration of signal must be significant Time Sample
  • 5. Non-Return to Zero (NRZ) 5  1  high signal, 0  low signal Clock NRZ 0 0 0 0 0 0 1 1 1 1  Problem: long strings of 0 or 1 cause desynchronization  How to distinguish lots of 0s from no signal?
  • 6. Desynchronization 6  Problem: how to recover the clock during sequences of 0’s or 1’s? NRZ 0 0 1 1 1 1 1 1 1 1 Transitions signify clock ticks 0 0 1 1 1 1 1 1 1 Receiver misses a 1 due to skew
  • 7. Non-Return to Zero Inverted (NRZI) 7  1  make transition, 0  remain the same Clock NRZI 0 0 0 0 0 0 1 1 1 1  Solves the problem for sequences of 1s, but not 0s
  • 8. 4-bit/5-bit (100 Mbps Ethernet) 8  Observation: NRZI works as long as no sequences of 0  Idea: encode all 4-bit sequences as 5-bit sequences with no more than one leading 0 and two trailing 0  Tradeoff: efficiency drops to 80% 0000 11110 0001 01001 0010 10100 0011 10101 0100 01010 0101 01011 0110 01110 0111 01111 1000 10010 1001 10011 1010 10110 1011 10111 1100 11010 1101 11011 1110 11100 1111 11101 4-bit 5-bit 4-bit 5-bit 8-bit / 10-bit used in Gigabit Ethernet
  • 9. Manchester 9  1  high-to-low, 0  low-to-high Clock NRZI 0 0 0 1 1  Good: Solves clock skew (every bit is a transition)  Bad: Halves throughput (two clock cycles per bit)
  • 10. General comment 10  Physical layer is the lowest, so…  We tend not to worry about where to place functionality  There aren’t other layers that could interfere  We tend to care about it only when things go wrong  http://blog.level3.com/level-3-network/the-10-most-bizarre- and-annoying-causes-of-fiber-cuts/  Physical layer characteristics are still fundamentally important to building reliable Internet systems  Insulated media vs wireless