Physical Layer II: Framing, SONET, SDH, etc. CS 4251: Computer Networking II Nick Feamster Spring 2008.

Slides:



Advertisements
Similar presentations
EE578 Assignment #3 Abdul-Aziz.M Al-Yami October 25 th 2010.
Advertisements

Physical Layer: Signals, Capacity, and Coding
Physical Layer II: Framing, SONET, SDH, etc.
Signal Encoding Techniques
Signal Encoding Techniques
Chapter : Digital Modulation 4.2 : Digital Transmission
Physical Layer (Part 2) Data Encoding Techniques
Chapter 2 Fundamentals of Data and Signals
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 5 – Signal Encoding Techniques.
Data and Computer Communications
1 Data Encoding – Chapter 5 (part 1) CSE 3213 Fall /2/2015 9:13 AM.
Chapter 5 – Signal Encoding and Modulation Techniques
Signal Encoding Techniques
Stallings, Wireless Communications & Networks, Second Edition, © 2005 Pearson Education, Inc. All rights reserved Signal Encoding Techniques.
Physical Layer – Part 2 Data Encoding Techniques
Computer Communication & Networks Lecture # 06 Physical Layer: Analog Transmission Nadeem Majeed Choudhary
1 Digital Data, Analog Signals (5.2) CSE 3213 Fall May 2015.
EE 4272Spring, 2003 Chapter 5 Data Encoding Data Transmission Digital data, digital signal Analog data, digital signal: e.g., voice, and video are often.
Lecture © Lecture 5 Physical Layer & Link Layer Basics Copyright © Seth Goldstein, 2008 Based on slides from previous 441 lectures.
William Stallings Data and Computer Communications 7th Edition
Networks: Data Encoding1 Data Encoding Techniques.
Physical Layer – Part 2 Data Encoding Techniques
IS250 Spring 2010 Physical Layer IS250 Spring 2010
Data Encoding Techniques
Signal Encoding Lesson 05 NETS2150/2850
Modulation                                                                 Digital data can be transmitted via an analog carrier signal by modulating one.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 4 Digital Transmission.
Modulation Modulation => Converts from digital to analog signal.
331: STUDY DATA COMMUNICATIONS AND NETWORKS.  1. Discuss computer networks (5 hrs)  2. Discuss data communications (15 hrs)
LECTURE 5 CT1303 LAN. DATA ENCODING Digital signal: is a sequence of discrete, discontinuous voltage pulses. Each pulse is a signal element Binary data.
1 Physical Layer. 2 Analog vs. Digital  Analog: continuous values over time  Digital: discrete values with sharp change over time.
Digital to analogue conversion. 1 DIGITAL-TO-ANALOG CONVERSION Digital-to-analog conversion is the process of changing one of the characteristics (A,
CS3502, Data and Computer Networks: the physical layer-3.
Aegis School of Telecommunication Telecom Systems I by Dr. M. G. Sharma, Phd. IIT Kharagpur Microwaves and Antennas.
Chapter 6. Signal Encoding Techniques
Review: The application layer. –Network Applications see the network as the abstract provided by the transport layer: Logical full mesh among network end-points.
CS 640: Introduction to Computer Networks Aditya Akella Lecture 4 - Physical Layer Transmission and Link Layer Basics.
1 Lecture 5 Transmission Dejian Ye Software School Fudan University Networking, Spring 2008.
CS 640: Introduction to Computer Networks Aditya Akella Lecture 5 - Encoding and Data Link Basics.
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Modulation, Multiplexing, & Public Switched Telephone.
Data Communications Chapter 5 Data Encoding.
Signal Encoding Techniques Chapter 6. Reasons for Choosing Encoding Techniques  Digital data, digital signal Equipment less complex and expensive than.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Digital Encoding.
Data Encoding Reading Assignment : Stallings Chapter 2, pp , Chapter 4, pp , , Terminology –Data entities that convey.
Wireless Networks Instructor: Fatima Naseem Lecture # 03 Computer Engineering Department, University of Engineering and Technology, Taxila.
3-2008UP-Copyrights reserved1 ITGD4103 Data Communications and Networks Lecture-11:Data encoding techniques week 12- q-2/ 2008 Dr. Anwar Mousa University.
British Computer Society (BCS)
Physical Layer (Part 2) Data Encoding Techniques Computer Networks Spring 2012.
EEC4113 Data Communication & Multimedia System Chapter 2: Baseband Encoding by Muhazam Mustapha, July 2010.
Signal Encoding Techniques Chapter 6. Reasons for Choosing Encoding Techniques Digital data, digital signal Equipment less complex and expensive than.
Prof. Hosny Ibrahim Lecture 5. Data Communication IT 221 By: Prof. Hosny M. Ibrahim 2.
Session 2. Objectives: By the end of this session, the student will be able to: Distinguish between data and signals. Cite the advantages of digital data.
Data Communications and Computer Networks Chapter 1 Network Architecture Models Logical and physical connections.
Physical Layer Issues and Methods Outline Physical Layer Ethernet Technology Physical Layer Encoding Final Exam Review - ??
Signal Encoding Techniques Ir. Hary Nugroho MT.. Data Transmission.
Data and Computer Communications Tenth Edition by William Stallings Data and Computer Communications, Tenth Edition by William Stallings, (c) Pearson Education,
Signal Encoding Techniques. Digital Data, Digital Signal  Digital signal discrete, discontinuous voltage pulses discrete, discontinuous voltage pulses.
Data Encoding Data Encoding refers the various techniques of impressing data (0,1) or information on an electrical, electromagnetic or optical signal that.
Department of Computer Science Carnegie Mellon University
CSE 5345 – Fundamentals of Wireless Networks
KOMUNIKASI DATA Materi Pertemuan 10.
DIGITAL TRANSMISSION PART C
Physical Layer (Part 2) Data Encoding Techniques
Data Encoding Data Encoding refers the various techniques of impressing data (0,1) or information on an electrical, electromagnetic or optical signal that.
Physical Layer – Part 2 Data Encoding Techniques
Lecture 6: Signal Encoding Techniques
CSE 5345 – Fundamentals of Wireless Networks
Signal Encoding Techniques
Physical Layer – Part 2 Data Encoding Techniques
Presentation transcript:

Physical Layer II: Framing, SONET, SDH, etc. CS 4251: Computer Networking II Nick Feamster Spring 2008

From Signals to Packets Analog Signal Digital Signal Bit Stream Packets Header/Body ReceiverSender Packet Transmission

Analog versus Digital Encoding Digital transmissions. –Interpret the signal as a series of 1s and 0s –E.g. data transmission over the Internet Analog transmission –Do not interpret the contents –E.g broadcast radio Why digital transmission?

Why Do We Need Encoding? Meet certain electrical constraints. –Receiver needs enough transitions to keep track of the transmit clock –Avoid receiver saturation Create control symbols, besides regular data symbols. –E.g. start or end of frame, escape,... Error detection or error corrections. –Some codes are illegal so receiver can detect certain classes of errors –Minor errors can be corrected by having multiple adjacent signals mapped to the same data symbol Encoding can be very complex, e.g. wireless.

Encoding Use two discrete signals, high and low, to encode 0 and 1. Transmission is synchronous, i.e., a clock is used to sample the signal. –In general, the duration of one bit is equal to one or two clock ticks –Receivers clock must be synchronized with the senders clock Encoding can be done one bit at a time or in blocks of, e.g., 4 or 8 bits.

Nonreturn to Zero (NRZ) Level: A positive constant voltage represents one binary value, and a negative contant voltage represents the other Disadvantages: –In the presence of noise, may be difficult to distinguish binary values –Synchronization may be an issue

Non-Return to Zero (NRZ) 1 -> high signal; 0 -> low signal Long sequences of 1s or 0s can cause problems: –Sensitive to clock skew, i.e. hard to recover clock –Difficult to interpret 0s and 1s V

Improvement: Differential Encoding Example: Nonreturn to Zero Inverted –Zero: No transition at the beginning of an interval –One: Transition at the beginning of an interval Advantage –Since bits are represented by transitions, may be more resistant to noise Disadvantage –Clocking still requires time synchronization

Non-Return to Zero Inverted (NRZI) 1 -> make transition; 0 -> signal stays the same Solves the problem for long sequences of 1s, but not for 0s. V

Biphase Encoding Transition in the middle of the bit period –Transition serves two purposes Clocking mechanism Data Example: Manchester encoding –One represented as low to high transition –Zero represented as high to low transition

Aspects of Biphase Encoding Advantages –Synchronization: Receiver can synchronize on the predictable transition in each bit-time –No DC component –Easier error detection Disadvantage –As many as two transitions per bit-time Modulation rate is twice that of other schemes Requires additional bandwidth

Ethernet Manchester Encoding Positive transition for 0, negative for 1 Transition every cycle communicates clock (but need 2 transition times per bit) DC balance has good electrical properties V s

Digital Data, Analog Signals Example: Transmitting digital data over the public telephone network Amplitude Shift Keying Frequency Shift Keying Phase Shift Keying

Amplitude-Shift Keying One binary digit represented by presence of carrier, at constant amplitude Other binary digit represented by absence of carrier where the carrier signal is Acos(2πf c

Amplitude-Shift Keying Used to transmit digital data over optical fiber Susceptible to sudden gain changes Inefficient modulation technique for data

Binary Frequency-Shift Keying (BFSK) Two binary digits represented by two different frequencies near the carrier frequency f 1 and f 2 are offset from carrier frequency f c by equal but opposite amounts Less susceptible to error than ASK On voice-grade lines, used up to 1200bps Used for high-frequency (3 to 30 MHz) radio transmission Can be used at higher frequencies on LANs w/coaxial cable

Multiple Frequency-Shift Keying More than two frequencies are used More bandwidth efficient but more susceptible to error f i = f c + (2i – 1 – M)f d f c = the carrier frequency f d = the difference frequency M = number of different signal elements = 2 L L = number of bits per signal element

Phase-Shift Keying (PSK) Two-level PSK (BPSK) –Uses two phases to represent binary digits

Modulation: Supporting Multiple Channels Multiple channels can coexist if they transmit at a different frequency, or at a different time, or in a different part of the space. Space can be limited using wires or using transmit power of wireless transmitters. Frequency multiplexing means that different users use a different part of the spectrum. Controlling time is a datalink protocol issue. –Media Access Control (MAC): who gets to send when?

Time Division Multiplexing Users use the wire at different points in time. Aggregate bandwidth also requires more spectrum. Frequency

Plesiosynchronous Digital Hierarchy (PDH) Infrastructure based on phone network –Spoken word not intelligeible above 3400 Hz –Nyquist: 8000 samples per second –256 quantization levels (8 bits) –Hence, each voice call is 64Kbps data stream Almost synchronous: Individual streams are clocked at slightly different rates –Stuff bits at the beginning of each frame allow for clock alignment (more complicated schemes called B8ZS, HDB3)

Points in the Hierarchy: TDM DS064 DS11,544 DS344,736 LevelData Rate

Synchronous Digital Hierarchy (SDH) Tightly synchronized clocks remove the need for any complicated demultiplexing Typically allows for higher data rates –OC3: Mbps –OC12: Mbps –…

Baseband versus Carrier Modulation Baseband modulation: send the bare signal. Carrier modulation: use the signal to modulate a higher frequency signal (carrier). –Can be viewed as the product of the two signals –Corresponds to a shift in the frequency domain Same idea applies to frequency and phase modulation. –E.g. change frequency of the carrier instead of its amplitude

Amplitude Carrier Modulation Amplitude Signal Carrier Frequency Amplitude Modulated Carrier

Frequency Division Multiplexing: Multiple Channels Amplitude Different Carrier Frequencies Determines Bandwidth of Channel Determines Bandwidth of Link

Frequency vs. Time-division Multiplexing With frequency-division multiplexing different users use different parts of the frequency spectrum. –I.e. each user can send all the time at reduced rate –Example: roommates With time-division multiplexing different users send at different times. –I.e. each user can sent at full speed some of the time –Example: a time-share condo The two solutions can be combined Frequency Time Frequency Bands Slot Frame

Wavelength-Division Multiplexing Send multiple wavelengths through the same fiber. –Multiplex and demultiplex the optical signal on the fiber Each wavelength represents an optical carrier that can carry a separate signal. –E.g., 16 colors of 2.4 Gbit/second Like radio, but optical and much faster Optical Splitter Frequency

Wireless Technologies Great technology: no wires to install, convenient mobility,.. High attenuation limits distances. High noise: interference from other transmitters. –Use MAC and other rules to limit interference –Aggressive encoding techniques to make signal less sensitive to noise Other effects: multipath fading, security,.. Ether has limited bandwidth. –Try to maximize its use –Government oversight to control use

Gigabit Ethernet: Physical Layer Comparison Medium Transmit/receiveDistanceComment Copper 1000BASE-CX25 m machine room use Twisted pair 1000BASE-T 100 m not yet defined; cost? Goal:4 pairs of UTP5 MM fiber 62 m 1000BASE-SX260 m 1000BASE-LX500 m MM fiber 50 m 1000BASE-SX525 m 1000BASE-LX550 m SM fiber 1000BASE-LX5000 m Twisted pair 100BASE-T100 m 2p of UTP5/2-4p of UTP3 MM fiber 100BASE-SX2000m

Regeneration and Amplification At end of span, either regenerate electronically or amplify Electronic repeaters are potentially slow, but can eliminate noise Amplification over long distances made practical by erbium doped fiber amplifiers offering up to 40 dB gain, linear response over a broad spectrum. Ex: 10 Gbps at 500 km. source pump laser