Chapter 8: Data Communication Fundamentals

Slides:



Advertisements
Similar presentations
Physical Layer: Signals, Capacity, and Coding
Advertisements

Signal Encoding Techniques
Signal Encoding Techniques
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 5 – Signal Encoding Techniques.
Data and Computer Communications
Chapter 5 – Signal Encoding and Modulation Techniques
Physical Layer – Part 2 Data Encoding Techniques
ICSA 341 (Updated 12/2001) Encoding There are four types of encoding possible. –Digital Encoding of Digital Data –Digital Encoding of Analog Data –Analog.
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.
Physical Layer CHAPTER 3. Announcements and Outline Announcements Credit Suisse – Tomorrow (9/9) Afternoon – Student Lounge 5:30 PM Information Session.
1 Topic 4: Physical Layer - Chapter 8: Data Communication Fundamentals Business Data Communications, 4e.
Chapter 8: Data Communication Fundamentals Business Data Communications, 4e.
William Stallings Data and Computer Communications 7th Edition
Signal Encoding Lesson 05 NETS2150/2850
Modulation                                                                 Digital data can be transmitted via an analog carrier signal by modulating one.
Modulation Modulation => Converts from digital to analog signal.
IT-101 Section 001 Lecture #15 Introduction to Information Technology.
331: STUDY DATA COMMUNICATIONS AND NETWORKS.  1. Discuss computer networks (5 hrs)  2. Discuss data communications (15 hrs)
Sami Al-Wakeel 1 Data Transmission and Computer Networks Data Encoding.
Chapter 16: Data Communication Fundamentals Business Data Communications, 6e.
Lecture slides prepared for “Business Data Communications”, 7/e, by William Stallings and Tom Case, Chapter 5 “Data Communication Fundamentals”.
Base-Band Digital Data Transmission Prepared By: Amit Degada. Electronics Engineering Department, Sardar Vallabhbhai National Institute of Technology,
CS3502, Data and Computer Networks: the physical layer-3.
COSC 3213 – Computer Networks I Summer 2003 Topics: 1. Line Coding (Digital Data, Digital Signals) 2. Digital Modulation (Digital Data, Analog Signals)
Aegis School of Telecommunication Telecom Systems I by Dr. M. G. Sharma, Phd. IIT Kharagpur Microwaves and Antennas.
Review: The application layer. –Network Applications see the network as the abstract provided by the transport layer: Logical full mesh among network end-points.
Computer Networks Digitization. Spring 2006Computer Networks2 Transfer of an Analog Signal  When analog data (voice, pictures, video) are transformed.
Data Communications Chapter 5 Data Encoding.
Line Coding, Modem, RS232 interfacing sequences.
Data Encoding Reading Assignment : Stallings Chapter 2, pp , Chapter 4, pp , , Terminology –Data entities that convey.
6-Information Sources and Signals Dr. John P. Abraham Professor UTRGV.
Chapter 8: Data Communication Fundamentals Business Data Communications, 4e.
Chapter 4 Digital Transmission.
3-2008UP-Copyrights reserved1 ITGD4103 Data Communications and Networks Lecture-11:Data encoding techniques week 12- q-2/ 2008 Dr. Anwar Mousa University.
CSCI 465 Data Communications and Networks Lecture 7 Martin van Bommel CSCI 465 Data Communications and Networks 1.
Day 4 Encoding Data. So… We have analog and digital data, and analog and digital signals. –We can use any combination of the above –Why? Shouldn’t we.
1 Transmission of Digital Data : Interface and Modems.
Prof. Hosny Ibrahim Lecture 5. Data Communication IT 221 By: Prof. Hosny M. Ibrahim 2.
Digital Interfaces An interface links two devices Interface Standards define: – mechanical specifications - how many wires & connector type –electrical.
CSCI 465 Data Communications and Networks Lecture 8 Martin van Bommel CSCI 465 Data Communications and Networks 1.
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,
Pulse Code Modulation (PCM) Analog voice data must be translated into a series of binary digits before they can be transmitted. With Pulse Code Modulation.
Signal Encoding Techniques. Digital Data, Digital Signal  Digital signal discrete, discontinuous voltage pulses discrete, discontinuous voltage pulses.
IT-101 Section 001 Lecture #15 Introduction to Information Technology.
Data and Computer Communications by William Stallings Eighth Edition
Data Encoding Data Encoding refers the various techniques of impressing data (0,1) or information on an electrical, electromagnetic or optical signal that.
Chapter 4. Digital Transmission
Signal Encoding Techniques
4.2 Digital Transmission Pulse Modulation (Part 2.1)
CHAPTER : 04 Encoding & Modulation
KOMUNIKASI DATA Materi Pertemuan 10.
DIGITAL TRANSMISSION PART C
CHAPTER 3 Physical Layer.
Introduction to electronic communication systems
CHAPTER 3 Physical Layer.
Bit rate Baud rate Goal in data communication is to increase the bit rate while decreasing the baud rate. Increasing the data rate increases the speed.
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 4 Continuation of transmission basics Chapter 3, pages 75-96
Lecture 6: Signal Encoding Techniques
Signal Encoding Techniques
Fundamentals of Data & Signals (Part II)
Modulation Modulation => Converts from digital to analog signal.
Chapter 5. Data Encoding Digital Data, Digital Signals
Physical Layer – Part 2 Data Encoding Techniques
EEC4113 Data Communication & Multimedia System Chapter 2: Baseband Encoding by Muhazam Mustapha, September 2012.
Broadband Transmission
Presentation transcript:

Chapter 8: Data Communication Fundamentals Business Data Communications, 4e

Three Components of Data Communication Analog: Continuous value data (sound, light, temperature) Digital: Discrete value (text, integers, symbols) Signal Analog: Continuously varying electromagnetic wave Digital: Series of voltage pulses (square wave) Transmission Analog: Works the same for analog or digital signals Digital: Used only with digital signals

Analog Data-->Signal Options Analog data to analog signal Inexpensive, easy conversion (eg telephone) Data may be shifted to a different part of the available spectrum (multiplexing) Used in traditional analog telephony Analog data to digital signal Requires a codec (encoder/decoder) Allows use of digital telephony, voice mail

Digital Data-->Signal Options Digital data to analog signal Requires modem (modulator/demodulator) Allows use of PSTN to send data Necessary when analog transmission is used Digital data to digital signal Requires CSU/DSU (channel service unit/data service unit) Less expensive when large amounts of data are involved More reliable because no conversion is involved

Transmission Choices Analog transmission Digital transmission only transmits analog signals, without regard for data content attenuation overcome with amplifiers signal is not evaluated or regenerated Digital transmission transmits analog or digital signals uses repeaters rather than amplifiers switching equipment evaluates and regenerates signal

Data, Signal, and Transmission Matrix System A D

Advantages of Digital Transmission The signal is exact Signals can be checked for errors Noise/interference are easily filtered out A variety of services can be offered over one line Higher bandwidth is possible with data compression

Why Use Analog Transmission? Already in place Significantly less expensive Lower attentuation rates Fully sufficient for transmission of voice signals

Analog Encoding of Digital Data Data encoding and decoding technique to represent data using the properties of analog waves Modulation: the conversion of digital signals to analog form Demodulation: the conversion of analog data signals back to digital form

Modem An acronym for modulator-demodulator Uses a constant-frequency signal known as a carrier signal Converts a series of binary voltage pulses into an analog signal by modulating the carrier signal The receiving modem translates the analog signal back into digital data

Methods of Modulation Amplitude modulation (AM) or amplitude shift keying (ASK) Frequency modulation (FM) or frequency shift keying (FSK) Phase modulation or phase shift keying (PSK)

Amplitude Shift Keying (ASK) In radio transmission, known as amplitude modulation (AM) The amplitude (or height) of the sine wave varies to transmit the ones and zeros Major disadvantage is that telephone lines are very susceptible to variations in transmission quality that can affect amplitude

ASK Illustration 1 1

Frequency Shift Keying (FSK) In radio transmission, known as frequency modulation (FM) Frequency of the carrier wave varies in accordance with the signal to be sent Signal transmitted at constant amplitude More resistant to noise than ASK Less attractive because it requires more analog bandwidth than ASK

FSK Illustration 1 1 1

Phase Shift Keying (PSK) Also known as phase modulation (PM) Frequency and amplitude of the carrier signal are kept constant The carrier signal is shifted in phase according to the input data stream Each phase can have a constant value, or value can be based on whether or not phase changes (differential keying)

PSK Illustration 1 1

Differential Phase Shift Keying (DPSK) 1 1

Analog Channel Capacity: BPS vs. Baud Baud=# of signal changes per second BPS=bits per second In early modems only, baud=BPS Each signal change can represent more than one bit, through complex modulation of amplitude, frequency, and/or phase Increases information-carrying capacity of a channel without increasing bandwidth Increased combinations also leads to increased likelihood of errors

Voice Grade Modems

Cable Modems

DSL Modems

Digital Encoding of Analog Data Primarily used in retransmission devices The sampling theorem: If a signal is sampled at regular intervals of time and at a rate higher than twice the significant signal frequency, the samples contain all the information of the original signal. 8000 samples/sec sufficient for 4000hz

Converting Samples to Bits Quantizing Similar concept to pixelization Breaks wave into pieces, assigns a value in a particular range 8-bit range allows for 256 possible sample levels More bits means greater detail, fewer bits means less detail

Codec Coder/Decoder Converts analog signals into a digital form and converts it back to analog signals Where do we find codecs? Sound cards Scanners Voice mail Video capture/conferencing

Digital Encoding of Digital Data Most common, easiest method is different voltage levels for the two binary digits Typically, negative=1 and positive=0 Known as NRZ-L, or nonreturn-to-zero level, because signal never returns to zero, and the voltage during a bit transmission is level

Differential NRZ Differential version is NRZI (NRZ, invert on ones) Change=1, no change=0 Advantage of differential encoding is that it is more reliable to detect a change in polarity than it is to accurately detect a specific level

Problems With NRZ Difficult to determine where one bit ends and the next begins In NRZ-L, long strings of ones and zeroes would appear as constant voltage pulses Timing is critical, because any drift results in lack of synchronization and incorrect bit values being transmitted

Biphase Alternatives to NRZ Require at least one transition per bit time, and may even have two Modulation rate is greater, so bandwidth requirements are higher Advantages Synchronization due to predictable transitions Error detection based on absence of a transition

Manchester Code Transition in the middle of each bit period Transition provides clocking and data Low-to-high=1 , high-to-low=0 Used in Ethernet

Differential Manchester Midbit transition is only for clocking Transition at beginning of bit period=0 Transition absent at beginning=1 Has added advantage of differential encoding Used in token-ring

Digital Encoding Illustration

Digital Interfaces The point at which one device connects to another Standards define what signals are sent, and how Some standards also define physical connector to be used

Generic Communications Interface Illustration

DTE and DCE

RS-232C (EIA 232C) EIA’s “Recommended Standard” (RS) Specifies mechanical, electrical, functional, and procedural aspects of the interface Used for connections between DTEs and voice-grade modems, and many other applications

EIA-232-D new version of RS-232-C adopted in 1987 improvements in grounding shield, test and loop-back signals the prevalence of RS-232-C in use made it difficult for EIA-232-D to enter into the marketplace

RS-449 EIA standard improving on capabilities of RS-232-C provides for 37-pin connection, cable lengths up to 200 feet, and data rates up to 2 million bps covers functional/procedural portions of R-232-C electrical/mechanical specs covered by RS-422 & RS-423

Functional Specifications Specifies the role of the individual circuits Data circuits in both directions allow full-duplex communication Timing signals allow for synchronous transmission (although asynchronous transmission is more common)

Procedural Specifications Multiple procedures are specified Simple example: exchange of asynchronous data on private line Provides means of attachment between computer and modem Specifies method of transmitting asynchronous data between devices Specifies method of cooperation for exchange of data between devices

Mechanical Specifications 25-pin connector with a specific arrangement of leads DTE devices usually have male DB25 connectors while DCE devices have female In practice, fewer than 25 wires are generally used in applications

RS-232 DB-25 Connectors DB-25 Female DB-25 Male

RS-232 DB-25 Pinouts

RS-232 DB-9 Connectors Limited RS-232

RS-422 DIN-8 Found on Macs DIN-8 Male DIN-8 Female

Electrical Specifications Specifies signaling between DTE and DCE Uses NRZ-L encoding Voltage < -3V = binary 1 Voltage > +3V = binary 0 Rated for <20Kbps and <15M greater distances and rates are theoretically possible, but not necessarily wise

RS-232 Signals (Asynch) Odd Parity Even Parity No Parity