1 Chapter 4-6 Signals, Media, And Data Transmission.

Slides:



Advertisements
Similar presentations
CSCI 4550/8556 Computer Networks Comer, Chapter 6: Long Distance Communication (Carriers, Modulation, And Modems)
Advertisements

1 Fall 2005 Local Serial Asynchronous Communication Qutaibah Malluhi Computer Science and Engineering Qatar University.
1 Transmission Fundamentals Chapter 2 (Stallings Book)
ECE 4321: Computer Networks Chapter 3 Data Transmission.
Local Asynchronous Communication and RS-232. Goals Explain how electric current can be used to transmit bits over short distances Present a popular mechanism.
Chapter 6 Long-Distance Communication  Property of long-distance transmission - a continuous, oscillating carrier signal (fig 6.1) will propagate farther.
Digital to Analog Many carrier facilities are analog Many transmission media are also analog (microwave, radio) We can carry digital values over analog.
1 Chapter 2. Transmission Fundamentals Wen-Shyang Hwang KUAS EE.
Transmission Basics ITNW 1325, Chapter III. OSI Physical Layer.
Chapter 3 - Transmission Media Basic Idea Transmission media Copper wires Glass fibers Radio Microwave Infrared Laser Choosing a medium Media in use at.
Chapter 8 Data and Network Communication Technology
Chapter 3 Data and Signals
Computers Are Your Future © 2006 Prentice-Hall, Inc.
Network+ Guide to Networks, Fourth Edition Chapter 3 Transmission Basics and Networking Media.
CS335 Networking & Network Administration Tuesday, April 6.
IS250 Spring 2010 Physical Layer IS250 Spring 2010
© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets with Internet Applications, 4e By Douglas.
Module 3.0: Data Transmission
CSCI 4550/8556 Computer Networks Comer, Chapter 5: Local Asynchronous Communication (RS-232)
Chapter 3 Data and Signals
1 Fall 2005 Long Distance Communication Carriers, Modulation, And Modems Qutaibah Malluhi Computer Science and Engineering Qatar University.
Alogrithm Analysis 實踐資管 Wang-Jiunn Cheng 2004 Computer Networks (CS422) Douglas Comer Computer Science Department Purdue University West Lafayette, IN.
The Physical Layer: Data Transmission Basics
Chapter 8 COMMUNICATION AND COMPUTER NETWORK
Local Asynchronous Communication
Local Asynchronous Communications. Bit-wise data transmission Data transmission requires: Encoding bits as energy Transmitting energy through medium Decoding.
Transmission Fundamentals Chapter 2. Electromagnetic Signal Function of time Can also be expressed as a function of frequency Signal consists of components.
Chapter 2 Basic Communication Theory Basic Communications Theory w Understand the basic transmission theory, and figure out the maximum data rate. w.
Data Transmission The basics of media, signals, bits, carries, and modems (Part II)
1 Long-Distance Communication. 2 Illustration of a Carrier Carrier –Usually a sine wave –Oscillates continuously –Frequency of carrier fixed.
Transmission Fundamentals
Review: The application layer. –Network Applications see the network as the abstract provided by the transport layer: Logical full mesh among network end-points.
Transmission Fundamentals Chapter 2. Electromagnetic Signal Function of time Can also be expressed as a function of frequency Signal consists of components.
CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
Lecture 2 Computer Communications and Networks Boriana Koleva Room: C54 Phone:
Data Transmission The basics of media, signals, bits, carries, and modems (Part I)
1 Ch 5 Local Asynchronous Communication (RS-232).
ECEN 621, Prof. Xi Zhang ECEN “ Mobile Wireless Networking ” Course Materials: Papers, Reference Texts: Bertsekas/Gallager, Stuber, Stallings,
Data Communications Introduction and Review. Transmission Media Copper Wires Copper Wires Low resistance. Electrical signal produces miniature radio station.
1 Ch 6 Long-Distance Communication Carriers, Modulation, and Modems.
Data Transmission The basics of media, signals, bits, carries, and modems (Part III)
Data Communication. 2 Data Communications Data communication system components: Message Message Information (data) to be communicated. Sender Sender Device.
Modulation & More. Signal Propagation Electric current cannot be transmitted on copper over long distances because the signal gets weaker as it travels.
Data Communications Chapter 16, Exploring the Digital Domain.
Chapter 5: Local Asynchronous Communication 1. Bit-wise data transmission 2. Asynchronous communication 3. Sending bits with electric current 4. Standard.
Digital Transmission Outlines:- Multiplexing FDM TDM WDM
1 ITGN 235: Principles of Networking ITGN 225: Networking Fall 2007/2008.
The Physical Layer Lowest layer in Network Hierarchy. Physical transmission of data. –Various flavors Copper wire, fiber optic, etc... –Physical limits.
Electromagnetic Spectrum
1. Physical Transmission Transmission Media Wire (guided) Coaxial cable Twisted Pair UTP STP Fiber Optic Wireless (unguided) Radio waves Microwave Infrared.
CSI 4118Fall Part I Signals, Media, And Data Transmission.
1 Physical Layer Computer Networks. 2 Where are we?
Computers Are Your Future © 2008 Prentice-Hall, Inc.
1 3. Data Transmission. Prof. Sang-Jo Yoo 2 Contents  Concept and Terminology  Analog and Digital Data Transmission  Transmission Impairments  Asynchronous.
McGraw-Hill©2003 The McGraw-Hill Companies, Inc. Chapter 6 Physical Layer.
CSI 4118Fall Part 1.1 Signals, Media, And Data Transmission.
COMPUTER NETWORKS Lecture-3 Husnain Sherazi. Review Lecture 2  Resource Sharing  Growth of the Internet – Linear Scale – Log Scale  Tools for Probing.
1587: COMMUNICATION SYSTEMS 1 Digital Signals, modulation and noise Dr. George Loukas University of Greenwich,
Physical Layer. Data Communications - Physical Layer2 Physical Layer Essence: Provide the means to transmit bits from sender to receiver involves a lot.
Chapter 6 Long Distance Communication. Long-Distance Communication Important fact: an oscillating signal travels farther than direct current For long-distance.
COMPUTER NETWORKS CS610 Lecture-3 Hammad Khalid Khan.
Chapter Goals Explain communication protocols
Introduction to electronic communication systems
Local Asynchronous Communication (RS-232)
Long-Distance Communication (Carriers, Modulation, And Modems)
Lecture 4 Continuation of transmission basics Chapter 3, pages 75-96
Physical Transmission
Signals, Media, And Data Transmission
Physical Layer Computer Networks.
Signals, Media, And Data Transmission
Presentation transcript:

1 Chapter 4-6 Signals, Media, And Data Transmission

2 Transmission of Information  Well-understood basics  From physics  Energy  Electromagnetic wave propagation  From mathematics  Coding theory

3 Transmission Media  Copper wire  Need two wires  Possibilities  Twisted pair  Coaxial cable  Optical fiber  Flexible  Light “stays in”  Air / space  Used for electromagnetic transmission

4 Forms of Energy Used To Transmit Data  Electric current  Audible sounds  Omni-directional electromagnetic waves  Radio Frequency (RF)  Infrared

5 Forms of Energy Used to Transmit Data (continued)  Directional electromagnetic waves  Point-to-point satellite channel  Limited broadcast (spot beam)  Microwave  Laser beam

6 Types of Satellites  Geosynchronous Earth Orbit (GEO)  Low Earth Orbit (LEO)  Array needed

7 Two Important Physical Limits Of a Transmission System  Propagation delay  Time required for signal to travel across media  Example: electromagnetic radiation travels through space at the speed of light (c = 3*10 8 meters per second)  Bandwidth  Maximum times per second the signal can change

8 Transmission of Data  Network hardware encodes information for transmission  Two types of encoding  Analog (amount of energy proportional to value of item)  Digital (two forms of energy to encode 0 and 1  Computer networks use the latter

9 Example Digital Encoding  Medium  Copper wire  Energy form  Electric current  Encoding  Negative voltage encodes 1  Positive voltage encodes 0

10 Illustration Of Digital Encoding  Known as waveform diagram  X-axis corresponds to time  Y-axis corresponds to voltage

11 Encoding Details  Several organizations produce networking standards  IEEE  ITU  EIA  Hardware that adheres to standard interoperable

12 The RS-232C Standard  Example use  Connection to keyboard / mouse  Serial port on PC  Specified by EIA  Voltage is +15 or –15  Cable limited to ~50 feet  Latest EIA standard is RS-422 (ITU standard is V.24)  Uses asynchronous communication

13 Asynchronous Communication  Sender and receiver must agree on  Number of bits per character  Duration of each bit  Receiver  Does not know when a character will arrive  May wait forever  To ensure meaningful exchange send  Start bit before character  One or more stop bits after character

14 Illustration of RS-232  Start bit  Same as 0  Not part of data  Stop bit  Same as 1  Follows data

15 Duration of a Bit in RS-232C  Determined by baud rate  Typical baud rates: 9.6 Kbaud, 14.4 Kbaud, 28.8 Kbaud  Duration of bit is 1 / baud rate  Sender and receiver must agree a priori  Receiver samples signal  Disagreement results in framing error

16 Two-Way Communication  Desirable in practice  Requires each side to have transmitter and receiver  Called full duplex

17 Illustration Of Full-Duplex Communication  Transmitter on one side connected to receiver on other  Separate wires needed to carry current in each direction  Common ground wire  DB-25 connector used  Pin 2 is transmit  Pin 3 is receive

18 Electrical Transmission (The Bad News)  It’s an ugly world  Electrical energy dissipates as it travels along  Wires have resistance, capacitance, and inductance which distort signals  Magnetic or electrical interference distorts signals  Distortion can result in loss or misinterpretation

19 Illustration of Distorted Signal for a Single Bit  In practice  Distortion can be much worse than illustrated

20 Consequences  RS-232 hardware must handle minor distortions  Take multiple samples per bit  Tolerate less than full voltage  Cannot use electrical current for long-distance transmission

21 Long-Distance Communication  Important fact: an oscillating signal travels farther than direct current  For long-distance communication  Send a sine wave (called a carrier wave )  Change ( modulate ) the carrier to encode date  Note: modulated carrier technique used for radio and television

22 Illustration of a Carrier  Carrier  Usually a sine wave  Oscillates continuously  Frequency of carrier fixed

23 Types of Modulation  Amplitude modulation (used in AM radio)  Frequency modulation (used in FM radio)  Phase shift modulation (used for data)

24 Illustration of Amplitude Modulation  Strength of signal encodes 0 or 1  One cycle of wave needed for each bit  Data rate limited by carrier bandwidth

25 Illustration of Phase-Shift Modulation  Change in phase encodes K bits  Data rate higher than carrier bandwidth

26 Phase-Shift Example  Section of wave is omitted at phase shift  Data bits determine size of omitted section

27 Modem  Hardware device  Used for long-distance communication  Contains separate circuitry for  Modulation of outgoing signal  Demodulation of incoming signal  Name abbreviates mo dulator / dem odulator

28 Illustration of Modems Used Over a Long Distance  One modem at each end  Separate wires carry signals in each direction  Modulator on one modem connects to demodulator on other

29 Types of Modems  Conventional  Use four wires  Transmit modulated electrical wave  Optical  Use glass fibers  Transmit modulated light  Wireless  Use air / space  Transmit modulated RF wave

30 Types of Modems (continued)  Dialup  Use voice telephone system  Transmit modulated audio tone  Note: in practice, a dialup modem uses multiple tones simultaneously

31 Illustration of Dialup Modem  Modem can  Dial  Answer  Carrier is audio tone

32 Modem Terminology  Full-duplex modem  Provides 2-way communication  Allows simultaneous transmission  Uses four wires  Half-duplex modem  Does provide 2-way communication  Transmits in one direction at any time  Uses two wires

33 Recall  Propagation delay  Determined by physics  Time required for signal to travel across medium  Bandwidth  Electrical property of physical transmission system  Maximum times per second signal can change

34 Fundamental Measures Of A Digital Transmission System  Delay  The amount of time required for a bit of data to travel from one end to the other  Usually the same as the propagation delay in underlying hardware  Throughput  The number of bits per second that can be transmitted  Related to underlying hardware bandwidth

35 Relationship Between Digital Throughput and Bandwidth  Given by Nyquist’s theorem: D = 2 B log 2 K where  D is maximum data rate  B is hardware bandwidth  K is number of values used to encode data

36 Applications of Nyquist’s Theorem  For RS-232  K is 2 because RS-232 only uses two values, +15 or –15 volts, to encode data bits  D is 2 B log 2 2 = 2 B  For phase-shift encoding  Suppose K is 8 (possible shifts)  D is 2 B log2 8 = 2 B * 3 = 6 B

37 More Bad News  Physics tells us that real systems emit and absorb energy (e.g., thermal)  Engineers call unwanted energy noise  Nyquist’s theorem  Assumes a noise-free system  Only works in theory  Shannon’s theorem corrects for noise

38 Shannon’s Theorem  Gives capacity in presence of noise: C = B log 2 (1 + S/N)  where  C is the effective channel capacity in bits per second  B is hardware bandwidth  S is the average power ( signal )  N is the noise  S/N is signal-to-noise ratio

39 Application of Shannon’s Theorem  Conventional telephone system  Engineered for voice  Bandwidth is 3000 Hz  Signal-to-noise ratio is approximately 1000  Effective capacity is 3000 log2 ( ) = ~30000 bps  Conclusion: dialup modems have little hope of exceeding 28.8 Kbps

40 The Bottom Line  Nyquist’s theorem means finding a way to encode more bits per cycle improves the data rate  Shannon’s theorem means that no amount of clever engineering can overcome the fundamental limits of a real transmission system

41 Multiplexing  Fundamental to networking  General concept  Used in  Lowest level of transmission systems  Higher levels of network hardware  Protocol software  Applications

42 The General Concept of Multiplexing  Separate pairs of communications travel across shared channel  Multiplexing prevents interference  Each destination receives only data sent by corresponding source

43 Multiplexing Terminology  Multiplexor  Device or mechanism  Accepts data from multiple sources  Sends data across shared channel  Demultiplexor  Device or mechanism  Estracts data from shared channel  Sends to correct destination

44 Two Basic Types of Multiplexing  Time Division Multiplexing (TDM)  Only one item at a time on shared channel  Item marked to identify source  Demultiplexor uses identifying mark to know where to deliver  Frequency Division Multiplexing (FDM)  Multiple items transmitted simultaneously  Uses multiple “channels”

45 Transmission Schemes  Baseband transmission  Uses only low frequencies  Encodes data directly  Broadband transmission  Uses multiple carriers  Can use higher frequencies  Achieves higher throughput  Hardware more complex and expensive

46 Scientific Principle Behind Frequency Division Multiplexing  Note: this is the same principle that allows a cable TV company to send multiple television signals across a single cable Two or more signals that use different carrier frequencies can be transmitted over a single medium simultaneously without interference

47 Wave Division Multiplexing  Facts  FDM can be used with any electromagnetic radiation  Light is electromagnetic radiation  When applied to light, FDM is called wave division multiplexing  Informally called color division multiplexing

48 Summary  Various transmission schemes and media available  Electric current over copper  Light over glass  Electromagnetic waves  Digital encoding used for data  Asynchronous communication  Used for keyboards and serial ports  RS-232 is standard  Sender and receiver agree on baud rate

49 Summary (continued)  Modems  Used for long-distance communication  Available for copper, optical fiber, dialup  Transmit modulated carrier  Phase-shift modulation popular  Classified as full- or half-duplex  Two measures of digital communication system  Delay  Throughput

50 Summary (continued)  Nyquist’s theorem  Relates throughput to bandwidth  Encourages engineers to use complex encoding  Shannon’s theorem  Adjusts for noise  Specifies limits on real transmission systems

51 Summary (continued)  Multiplexing  Fundamental concept  Used at many levels  Applied in both hardware and software  Two basic types  Time-division multiplexing (TDM)  Frequency-division multiplexing (FDM)  When applied to light, FDM is called wave-division multiplexing