© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets with Internet Applications, 4e By Douglas.

Slides:



Advertisements
Similar presentations
1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints Adapted from the notes By Lami Kaya, © 2009 Pearson Education.
Advertisements

Chapter 2 Fundamentals of Data and Signals
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 DATA AND SIGNALS T.Najah Al_Subaie Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University.
Data Communication Topics to be discussed:  Data Communication Terminology.  Data Transmission Signals.  Data Transmission Circuits.  Serial & Parallel.
1 Fall 2005 Local Serial Asynchronous Communication Qutaibah Malluhi Computer Science and Engineering Qatar University.
Chi-Cheng Lin, Winona State University CS412 Introduction to Computer Networking & Telecommunication Theoretical Basis of Data Communication.
Local Asynchronous Communication and RS-232. Goals Explain how electric current can be used to transmit bits over short distances Present a popular mechanism.
Digital to Analog Many carrier facilities are analog Many transmission media are also analog (microwave, radio) We can carry digital values over analog.
Chapter 1.  Understand bits, bytes, megabytes, etc.  Learn basic communication model.  Learn the distinction between channel, circuit and network.
Chapter 3 - Transmission Media Basic Idea Transmission media Copper wires Glass fibers Radio Microwave Infrared Laser Choosing a medium Media in use at.
RS-232 Communications. Why Serial Communications? Serial communication is the most simplistic form of communication between two devices. It’s pretty intuitive.
Introduction to Wireless Communications. Wireless Comes of Age Guglielmo Marconi invented the wireless telegraph in 1896 Communication by encoding alphanumeric.
© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets with Internet Applications, 4e By Douglas.
1 Rick Graziani Local Asynchronous Communications (RS-232)
Chapter Two Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User's Approach Fifth Edition.
CS335 Networking & Network Administration Tuesday, April 6.
Module 3.0: Data Transmission
CSCI 4550/8556 Computer Networks Comer, Chapter 5: Local Asynchronous Communication (RS-232)
Computer Networks and Internets, 5e By Douglas E. Comer
Reliability and Channel Coding
Chapter 3 Data and Signals
Alogrithm Analysis 實踐資管 Wang-Jiunn Cheng 2004 Computer Networks (CS422) Douglas Comer Computer Science Department Purdue University West Lafayette, IN.
Data Communication and Networking Physical Layer and Media.
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.
1 Computer Communication & Networks Lecture 5 Physical Layer: Data & Signals Waleed Ejaz
Technology Training that Works Hands of Data Communications, Networking & TCP/IP Troubleshooting.
Chapter 2 Basic Communication Theory Basic Communications Theory w Understand the basic transmission theory, and figure out the maximum data rate. w.
1 Chapter 4-6 Signals, Media, And Data Transmission.
1 Long-Distance Communication. 2 Illustration of a Carrier Carrier –Usually a sine wave –Oscillates continuously –Frequency of carrier fixed.
Review: The application layer. –Network Applications see the network as the abstract provided by the transport layer: Logical full mesh among network end-points.
4/11/40 page 1 Department of Computer Engineering, Kasetsart University Introduction to Computer Communications and Networks CONSYL Transmission.
1 Ch 5 Local Asynchronous Communication (RS-232).
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.
Chapter 5: Local Asynchronous Communication 1. Bit-wise data transmission 2. Asynchronous communication 3. Sending bits with electric current 4. Standard.
Day 7 Connections. Standards Unless we had connection standards nothing would be interchangeable. –There would be different printers for Macs and Windows.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved. 1 Communication Reliability Asst. Prof. Chaiporn Jaikaeo, Ph.D.
The Physical Layer Lowest layer in Network Hierarchy. Physical transmission of data. –Various flavors Copper wire, fiber optic, etc... –Physical limits.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints.
Data Comm. & Networks Lecture 6 Instructor: Ibrahim Tariq.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints.
Chapter 3 Data and Signals. 3.2 Last Lecturer Summary Bit Rate Bit Length Digital Signal as a Composite Analog Signal Application Layer Distortion Noise.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints.
AS Computing Data transmission. Basic data transmission Baud The rate that the voltage changes is called the Baud. If the voltage changes 10 times every.
Digital Interfaces An interface links two devices Interface Standards define: – mechanical specifications - how many wires & connector type –electrical.
Lecture Focus: Data Communications and Networking  Transmission Impairment Lecture 14 CSCS 311.
1 st semester 1436/  When a signal is transmitted over a communication channel, it is subjected to different types of impairments because of imperfect.
CSC 335 Data Communications and Networking Lecture 4b: Communication and Multiplexing Dr. Cheer-Sun Yang.
Transmission Media. Quiz: ANGEL->Lessons->Quiz 2 Figure 1Figure 2 Figure 3Figure 4.
McGraw-Hill©2003 The McGraw-Hill Companies, Inc. Chapter 6 Physical Layer.
CSI 4118Fall Part 1.1 Signals, Media, And Data Transmission.
Chapter 2 : Data Communications BENG 4522 Data Communications & Computer Networks Transmission Impairment Signals travel through the transmission.
Chapter 3 TRANSMISSION IMPAIRMENT. 3-4 TRANSMISSION IMPAIRMENT Signals travel through transmission media, which are not perfect. The imperfection causes.
Powerpoint Templates Computer Communication & Networks Week # 04 1 Lecture only.
Data Communications: The Basics Chapter 4 The Management of Telecommunications Houston H. Carr and Charles A. Snyder.
Physical Layer. Data Communications - Physical Layer2 Physical Layer Essence: Provide the means to transmit bits from sender to receiver involves a lot.
RS-232 Communications.
Transmission Modes The term transmission mode to refer to the manner in which data is sent over the underlying medium Transmission modes can be divided.
RS-232 Communications.
Local Asynchronous Communication (RS-232)
Lecture 4 Continuation of transmission basics Chapter 3, pages 75-96
Signals, Media, And Data Transmission
Nyquist’s theorem: D = 2BLog2K
Signals, Media, And Data Transmission
Data Communication.
Chapter 6 Transmission of Digital Data Interfaces and Modems
Presentation transcript:

© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets with Internet Applications, 4e By Douglas E. Comer Lecture PowerPoints By Lami Kaya,

© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.2 Chapter 5 Local Asynchronous Communication

© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.3 Topics Covered 5.1 Introduction 5.2 The Need For Asynchronous Communication 5.3 Using Electric Current To Send Bits 5.4 Standards For Communication 5.5 Baud Rate, Framing, And Errors 5.6 Half And Full Duplex Asynchronous Communication 5.7 Limitations Of Real Hardware 5.8 Hardware Bandwidth And The Transmission Of Bits 5.9 The Effect Of Noise On Communication 5.10 Significance For Data Networking

© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved Introduction Digital devices, such as computers use bits to represent data –Transmitting data across a NW means sending bits Physically, communication system can use –electric current –radio waves –or light to transfer information This hapter shows How bits can be encoded Discusses mechanism for sending characters Introduces channel measurements: –bandwidth –and delay

© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved The Need For Asynchronous Communication Asynchronous means if a sender/receiver –do not need to coordinate before data can be sent –a sender can wait arbitrarily long between transmissions –it can transmit whenever data becomes ready –a receiver must be ready to accept data whenever it arrives Useful when two devices operating at different speeds Electrical signal does not contain information for a receiver to determine where individual bits begin/end –To ensure meaningful exchange send Start bit before character One or more stop bits after character

© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved Using Electric Current To Send Bits How to encode bits? –Each bit represented by a voltage, such as 0  negative voltage 1  positive voltage Or otherwise –Figure 5.1 shows a waveform diagram visual representation of how an electrical signal varies over time

© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.7

8 5.4 Standards For Communication Questions to be answered How long should sender hold a voltage on the wire for a single bit? What is the maximum rate at which HW can change the voltage? How can we be sure HW from different vendors work together? –Specifications for communication systems are standardized by International Telecommunication Union (ITU) Electronic Industries Association (EIA) Institute for Electrical and Electronic Engineers (IEEE) –Standard documents answer questions about a particular technology Timing of signals Electrical details of voltage and current One such popular standard produced by EIA is RS-232 –Serial transmission; bits travel one after another on the wire

© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.9

Baud Rate, Framing, And Errors Baud rate –number of changes in the signal per second Number of bits may be sent together as a signal/symbol Bit rate = baud rate x number of bits per signal/symbol bits per signal/second (bps) If sending/receiving HW are not configured to use the same speed –framing errors occur

© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved Half And Full Duplex Asynchronous Communication Communication modes –Simplex one-way –Half-duplex; one-way at a time –Full-duplex; two-way anytime Signals sent over a standard cable are used for –Data transfer –Control Connectors used –Data Communication Equipment (DCE) –Data Terminal Equipment (DTE)

© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.12

© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved Limitations Of Real Hardware How fast a HW can transmit bits across a wire? In practice, no electronic device can produce an exact voltage or change from one voltage to another instantly No wire conducts electricity perfectly: –Signal loses energy attenuation –Noise/interference may exist errors

© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.14

© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved Hardware Bandwidth And The Transmission Of Bits Each transmission system has a limited bandwidth (BW) BW is the maximum rate that HW can change a signal BW is measured in cycles per second or Hertz (Hz) BW limitations arise from physical properties and energy Every physical transmission sys has a limited BW Nyquist discovered (1920s) a relationship between the BW and bit rate of a transmission system –Maximum data rate that can be achieved for a BW of B is 2B. –If system uses K possible values of voltages instead of two Maximum data rate = 2 B log 2 K bps

© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved The Effect Of Noise On Communication Nyquist’s theorem provides and absolute (theoretical) maximum bound that can not be achieved in practice A real communication system is subject to small amount of background interference –called noise Shannon extended Nyquist’s theorem (1948) that takes into account noise in a transmission system C = B log 2 (1 + S/N) bps C: Capacity; effective limit on the channel capacity S: average signal power N: average noise power

© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved Significance For Data Networking (1) Nyquist and Shannon theorems that have consequences for engineers: Nyquist's work has provided an incentive to explore complex ways to encode bits on signals: –Nyquist's theorem encourages engineers to explore ways to encode bits on a signal –because a clever encoding allows more bits to be transmitted Shannon's Theorem informs engineers that no amount of clever encoding can overcome the laws of physics –that place a fundamental limit on the rate that can be achieved in a real communication system

© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved Significance For Data Networking (2) Shannon's Theorem helps explain how fast one can send data across a voice telephone call: Ex: voice telephone system has a S/N ratio of approximately 30 dB and a BW of approximately 3000 Hz The maximum number of bps is limited to: C = 3000 log ( ) = approximately 30,000 bps faster speeds will only be possible if S/N ratio can been improved How can dial-up modems achieve higher throughput than Shannon Theorem? one possibility compression –Compression only works if the data has been encoded inefficiently –Ex, when an 8-bit ASCII encoding is used to transfer that contains only upper and lower case English letters and digits only 62 of the 256 possible 8-bit values are actually used If the same data is encoded in 6-bit characters, 25% fewer bits are needed.