© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints.

Slides:



Advertisements
Similar presentations
Chapter 2: Digital Modulation
Advertisements

What is a signal ? A function of one or more independent variables which contain some information. Voltage, Current ,temperature are all different signals.
Signal Encoding Techniques
Chapter : Digital Modulation 4.2 : Digital Transmission
CSCI 4550/8556 Computer Networks Comer, Chapter 6: Long Distance Communication (Carriers, Modulation, And Modems)
1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints Adapted from the notes By Lami Kaya, © 2009 Pearson Education.
Modulation of Digital Data 1.Digital-to-Analog Conversion 2.Amplitude Shift Keying (ASK) 3.Frequency Shift Keying (FSK) 4.Phase Shift Keying (PSK) 5.Quadrature.
Chapter 5 Analog Transmission
Analog Transmission : Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D.
Stallings, Wireless Communications & Networks, Second Edition, © 2005 Pearson Education, Inc. All rights reserved Signal Encoding Techniques.
Chapter 5 Analog Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Computer Communication & Networks Lecture # 06 Physical Layer: Analog Transmission Nadeem Majeed Choudhary
Chapter 5 Analog Transmission
Chapter 5 Analog Transmission.
Digital to Analog Many carrier facilities are analog Many transmission media are also analog (microwave, radio) We can carry digital values over analog.
1 Digital Data, Analog Signals (5.2) CSE 3213 Fall May 2015.
EE302 Lesson 21: Transmission of Binary Data in Communication Systems
Transmission Basics ITNW 1325, Chapter III. OSI Physical Layer.
Data Communication Analog Transmition Behrouz A. Forouzan 1Data Communication - Analog Transmition.
DIGITAL COMMUNICATIONS.  The modern world is dependent on digital communications.  Radio, television and telephone systems were essentially analog in.
CEG 3185 Tutorial 5 Modem (The Matlab scripts were originally developed by Xiaohong Liu) (The slides are prepared by Lei Chen)
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.
3.1 Chapter 3 Data and Signals Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
IT-101 Section 001 Lecture #15 Introduction to Information Technology.
Modulation and Demodulation
Data Communication and Networking 332 Hardware Components of Data Communication.
DIGITAL MODULATION.
Digital to analogue conversion. 1 DIGITAL-TO-ANALOG CONVERSION Digital-to-analog conversion is the process of changing one of the characteristics (A,
McGraw-Hill©The McGraw-Hill Companies, Inc., 2001 Data Transmission Techniques Data to be transmitted is of two types 1.Analog data 2.Digital data Therefore,
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.
CS3502, Data and Computer Networks: the physical layer-3.
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.
CSC 335 Data Communications and Networking
1 Ch 6 Long-Distance Communication Carriers, Modulation, and Modems.
Data Transmission The basics of media, signals, bits, carries, and modems (Part III)
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Modulation, Multiplexing, & Public Switched Telephone.
1 CSC535 Communication Networks I Chapter 3b: Signal Encoding and Conversion Dr. Cheer-Sun Yang.
Coding No. 1  Seattle Pacific University Modulation Kevin Bolding Electrical Engineering Seattle Pacific University.
CS 453 Computer Networks Lecture 7 Layer 1 – Physical Layer.
Signal Encoding Techniques Chapter 6. Reasons for Choosing Encoding Techniques  Digital data, digital signal Equipment less complex and expensive than.
1 Kyung Hee University Chapter 5 Analog Transmission.
Chapter 5 Analog Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved. Modulation/Demodulation Asst. Prof. Chaiporn Jaikaeo, Ph.D.
3-2008UP-Copyrights reserved1 ITGD4103 Data Communications and Networks Lecture-11:Data encoding techniques week 12- q-2/ 2008 Dr. Anwar Mousa University.
05 - Winter 2005 ECE ECE 766 Computer Interfacing and Protocols 1 Modulation Conversion of digital information to analog signals –Example: Telephone lines.
CSCI 465 Data Communications and Networks Lecture 7 Martin van Bommel CSCI 465 Data Communications and Networks 1.
Signal Encoding Techniques Chapter 6. Reasons for Choosing Encoding Techniques Digital data, digital signal Equipment less complex and expensive than.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints.
Chapter : Digital Modulation 4.2 : Digital Transmission
1 Digital to Analog Encoding. 2 3 Digital modulation techniques Amplitude Shift Keying Amplitude Shift Keying Frequency Shift Keying Frequency Shift.
Kashif Bashir Chapter 5 Analog Transmission.
COMPUTER NETWORKS Lecture-3 Husnain Sherazi. Review Lecture 2  Resource Sharing  Growth of the Internet – Linear Scale – Log Scale  Tools for Probing.
 We use the term modulation to refer to changes made in a carrier -according to the information being sent  Modulation takes two inputs -a carrier -and.
Chapter 5: Analog Transmission Converting digital data to a bandpass analog signal is traditionally called digital-to-analog conversion. Converting a low-pass.
Quiz 3 ANGEL->Lessons->Quizzes.
Chapter 5 Analog Transmission.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 5 Analog Transmission.
Computer Networks Chapter 5 – Analog Transmission.
CHAPTER 4. OUTLINES 1. Digital Modulation Introduction Information capacity, Bits, Bit Rate, Baud, M- ary encoding ASK, FSK, PSK, QPSK, QAM 2. Digital.
Chapter 6 Long Distance Communication. Long-Distance Communication Important fact: an oscillating signal travels farther than direct current For long-distance.
IT-101 Section 001 Lecture #15 Introduction to Information Technology.
Modulation of Digital Data
Introduction to electronic communication systems
expanded by Jozef Goetz, 2014 The McGraw-Hill Companies, Inc., 2007
Lecture 4 Continuation of transmission basics Chapter 3, pages 75-96
(Modulation) Data Transmission And Digital Communication
Digital-to-Analog Conversion
Presentation transcript:

© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints By Lami Kaya,

© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.2 Chapter 10 Modulation And Modems

© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.3 Topics Covered 10.1 Introduction 10.2 Carriers, Frequency, And Propagation 10.3 Analog Modulation Schemes 10.4 Amplitude Modulation 10.5 Frequency Modulation 10.6 Phase Shift Modulation 10.7 Amplitude Modulation And Shannon's Theorem 10.8 Modulation, Digital Input, And Shift Keying 10.9 Phase Shift Keying Phase Shift And A Constellation Diagram

© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.4 Topics Covered Quadrature Amplitude Modulation Modem Hardware For Modulation And Demodulation Optical And Radio Frequency Modems Dialup Modems QAM Applied To Dialup V.32 and V.32bis Dialup Modems

© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved Introduction This chapter –focuses on the use of high-frequency signals to carry information –discusses how information is used to change a high-frequency electromagnetic wave –explains why the technique is important –describes how analog and digital inputs are used

© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved Carriers, Frequency, And Propagation Many long-distance communication systems use a oscillating electromagnetic wave called a carrier The system makes small changes to the carrier that represent information being sent The frequency of electromagnetic energy determines how the energy propagates One motivation for the use of carriers arises from the desire to select a frequency that will propagate well –independent of the rate that data is being sent

© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved Analog Modulation Schemes We use the term modulation to refer to changes made in a carrier –according to the information being sent Modulation takes two inputs –a carrier –and a signal Then it generates a modulated carrier as output, as in Figure 10.1 In essence, a sender must change one of the fundamental characteristics of the wave There are three primary techniques that modulate an electromagnetic carrier according to a signal: –Amplitude modulation –Frequency modulation –Phase shift modulation The first two methods of modulation are the most familiar and have been used extensively

10.3 Analog Modulation Schemes © 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.8

Amplitude Modulation (AM) AM varies the amplitude of a carrier in proportion to the information being sent (i.e., according to a signal) –The carrier continues oscillating at a fixed frequency, but the amplitude of the wave varies Figure 10.2 illustrates –an unmodulated carrier wave –an analog information signal –and the resulting amplitude modulated carrier As it is seen from the figure: –only the amplitude (i.e., magnitude) of the sine wave is modified –a time-domain graph of a modulated carrier has a shape similar to the signal that was used –imagine an envelope consisting of a curve that connects the peaks of the sine wave in Figure 10.2c the resulting curve has the same shape as the signal in Figure 10.2b

10.4 Amplitude Modulation © 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.10

© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved Frequency Modulation (FM) In FM, the amplitude of the carrier remains fixed In FM, frequency changes according to the signal: –when the signal is stronger, the carrier frequency increases slightly, –and when the signal is weaker, the carrier frequency decreases slightly Figure 10.3 illustrates an example of FM for an info signal FM is more difficult to visualize –because slight changes in frequency are not as clearly visible –However, one can notice that the modulated wave has higher frequencies when the signal used for modulation is stronger

10.5 Frequency Modulation © 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.12

© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved Phase Modulation (PM) One of the property of a sine wave is its phase, the offset from a reference time at which the sine wave begins It is possible to use changes in phase to represent a signal We use the term phase shift to characterize such changes If phase changes after cycle k, the next sine wave will start slightly later than the time at which cycle k completes –A slight delay resembles a change in frequency PM can be thought of as a special form of frequency modulation –However, phase shifts are important when a digital signal is used to modulate a carrier

© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved Amplitude Modulation And Shannon's Theorem Figure 10.2c shows the amplitude varying from a maximum to almost zero The figure is slightly misleading: –in practice, modulation only changes the amplitude of a carrier slightly, depending on a constant known as the modulation index Practical systems do not allow for a modulated signal to approach zero Consider Shannon's Theorem –assuming the amount of noise is constant the signal-to-noise ratio will approach zero as the signal approaches zero Keeping the carrier wave near maximum insures that the signal-to-noise ratio remains as large as possible –This permits the transfer of more bits per second

© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved Modulation, Digital Input, And Shift Keying How can digital input be used in modulation? Modifications to the modulation schemes described above are needed: –instead of modulation that is proportional to a continuous signal, digital schemes use discrete values To distinguish between analog and digital modulation –we use the term shift keying rather than modulation Shift keying operates similar to analog modulation –Instead of a continuum of possible values, digital shift keying has a fixed set –For example, AM allows the amplitude of a carrier to vary by arbitrarily small amounts in response to a change in the signal In contrast, amplitude shift keying uses a fixed set of possible amplitudes Figure 10.4 illustrates concept for ASK and FSK

© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.16 Figure 10.4 Illustration of (a)a carrier wave (b)a digital input signal (c)amplitude shift keying (d)frequency shift keying

© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved Phase Shift Keying (PSK) Amplitude and frequency modulations require at least one cycle of a carrier wave to send a single bit –unless a special encoding scheme is used The number of bits sent per unit time can be increased –if the encoding scheme permits multiple bits to be encoded in a single cycle of the carrier Data communications systems often use techniques that can send more bits PSK changes the phase of the carrier wave abruptly –each such change is called a phase shift

10.9 Phase Shift Keying (PSK) Figure 10.5 illustrates how phase shifts affects a sine wave –There are three (abrupt) phase changes –A phase shift is measured by the angle of the change –The left most portion of sine wave changes its phase by π/2 radians or 180 –The second phase change corresponds to a 180 shift © 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.18

© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved Phase Shift and a Constellation Diagram How can data be encoded using phase shifts? –A sender and receiver can agree on the number of bits per second –It can use no phase shift to denote logical 0, and the presence of a phase shift to denote a logical 1 –For example, a system might use a 180 phase shift A constellation diagram is used to express the exact assignment of data bits to specific phase changes Figure 10.6 illustrates the concept Many variations of PSK exist –A phase shift mechanism such as the one illustrated in Figure 10.6 permits a sender to transfer one bit at a time It is called Binary Phase Shift Keying (BPSK) or 2-PSK –Notation of 2-PSK is also used to denote the two possible values

© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved Phase Shift and a Constellation Diagram

© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved Phase Shift And A Constellation Diagram We can do more than detect the presence of a phase shift! –A receiver can measure the amount a carrier shifted during a phase change –It is possible to devise a system that recognizes a set of phase shifts and use each particular phase shift to represent specific values of data Systems are designed to use a power of 2 possible shifts –which means a sender can use bits of data to select among the shifts Figure 10.7 shows the constellation diagram for a system that uses 4 possible phase shifts –At each stage of transmission, a sender uses 2-bits of data to select among the 4-possible shift values –This is known as 4-PSK mechanism

© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved Phase Shift and a Constellation Diagram

© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved Phase Shift and a Constellation Diagram In theory, it is possible to increase the data rate by increasing the range of phase shifts Thus, a 16-PSK mechanism can send twice as many bits per second as a 4-PSK mechanism In practice, noise and distortion limit the ability of hardware to distinguish among minor differences in phase shifts

© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved Quadrature Amplitude Modulation How can the data rate be increased further? A combination of modulation techniques that change two characteristics of a carrier at the same time The most sophisticated technology combines ASK and PSK One of such is known as Quadrature Amplitude Modulation (QAM) or Quadrature Amplitude Shift Keying (QASK) –the approach uses both change in phase and in amplitude To represent QAM on a constellation diagram –We use distance from the origin as a measure of amplitude –Figure 10.8 shows the constellation diagram for a variant known as 16QAM with dark gray areas indicating the amplitudes

10.11 Quadrature Amplitude Modulation © 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.25

© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved Modem Hardware For Modulation And Demodulation A mechanism that accepts a sequence of data bits and applies modulation to a carrier wave according to the bits is called a modulator A mechanism that accepts a modulated carrier wave and recreates the sequence of data bits that was used to modulate the carrier is called a demodulator Transmission of data requires a modulator at one end of the transmission medium and a demodulator at the other Most communication systems are full duplex –which means each location needs both a modulator to send data, and a demodulator to receive data

© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved Modem Hardware For Modulation And Demodulation Users would like keep cost low and make the pair of devices easy to install and operate Manufacturers combine modulation and demodulation mechanisms into a single device –called a modem (modulator and demodulator) Figure 10.9 illustrates how a pair of modems use a 4-wire connection to communicate Modems are designed to provide communication over long distances

10.12 Modem Hardware For Modulation And Demodulation © 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.28

© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved Optical And Radio Frequency Modems Modems are also used with other media –including Radio Frequency (RF) transmission and optical fibers A pair of RF modems can be used to send data via radio A pair of optical modems can be used to send data across a pair of optical fibers Modems can use entirely different media, but the principle remains the same: –at the sending end, a modem modulates a carrier –at the receiving end, data is extracted from the modulated carrier

© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved Dialup Modems A dialup modem uses an audio tone –As with conventional modems, the carrier is modulated at the sending end and demodulated at the receiving end A dialup modem uses data to modulate an audible carrier –which is transmitted to the phone system The chief difference between dialup and conventional modems arises from the lower bandwidth of audible dialup modems Interior of a modern telephone system used today is digital –The phone system digitizes the incoming audio –Transports a digital form internally –Converts the digitized version back to analog audio for delivery –The receiving modem demodulates the analog carrier –Extracts the original digital data

© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved Dialup Modems Figure illustrates the ironic use of analog and digital signals by dialup modems –A dialup modem is usually embedded in a computer Term internal modem to denote an embedded device Term external modem to denote a separate physical device

© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved QAM Applied To Dialup QAM is also used with dialup modems as a way to maximize the rate at which data can be sent Figure shows the bandwidth available on a dialup connection Most telephone connections transfer frequencies between 300 and 3000 Hz A given connection may not handle the extremes well –Thus, to guarantee better reproduction and lower noise, dialup modems use frequencies between 600 and 3000 Hz –It means the available bandwidth is 2400 Hz A QAM scheme can increase the data rate dramatically

10.15 QAM Applied To Dialup © 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.33

© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved V.32 and V.32bis Dialup Modems Consider the V.32 and V.32bis standards Figure illustrates the QAM constellation for –a V.32 modem that uses 32 combinations of ASK and PSK to achieve a data rate of 9600 bps in each direction –A V.32bis modem uses 128 combinations of ASK and PSK to achieve a data rate of 14,400 bps in each direction Figure illustrates the constellation Sophisticated signal analysis is needed to detect the minor change that occurs from a point in the constellation to a neighboring point

QAM for V.32 Dialup Modems © 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.35

QAM for V.32bis Dialup Modems © 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.36