1 CSCD 433 Network Programming Fall 2012 Lecture 5 Physical Layer Line Coding.

Slides:



Advertisements
Similar presentations
Signal Encoding Techniques
Advertisements

Chapter 2 Fundamentals of Data and Signals
Computer Communication & Networks Lecture # 06 Physical Layer: Analog Transmission Nadeem Majeed Choudhary
Chapter 5 Analog Transmission
Chapter 5 Analog Transmission.
EE302 Lesson 21: Transmission of Binary Data in Communication Systems
Data Communication Analog Transmition Behrouz A. Forouzan 1Data Communication - Analog Transmition.
Physical Layer CHAPTER 3. Announcements and Outline Announcements Credit Suisse – Tomorrow (9/9) Afternoon – Student Lounge 5:30 PM Information Session.
Copyright © 2015 John Wiley & Sons, Inc. All rights reserved. 3-1 FitzGerald ● Dennis ● Durcikova Prepared by Taylor M. Wells: College of Business Administration,
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 6 Multiplexing.
Multiplexing Multiplexing is the set of techniques that allows the simultaneous transmission of multiple signals across a single data link. A Multiplexer.
6.1 Chapter 6 Bandwidth Utilization: Multiplexing and Spreading Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Modulation                                                                 Digital data can be transmitted via an analog carrier signal by modulating one.
Modulation Modulation => Converts from digital to analog signal.
Data Communication and Networking 332 Hardware Components of Data Communication.
Multiplexing and Demultiplexing. Question Why cannot Verizon users get an iPhone from AT&T and get it work in Verizon's network?
Computer Networks and Internets, 5e By Douglas E. Comer
NETE 0510 Presented by Dr.Apichan Kanjanavapastit
Analog Transmission of Digital Data. The Telephone Network Originally designed for analog communications only. Today, standard analog telephone service.
Multiplexing.
Physical Layer (2). Goal Physical layer design goal: send out bits as fast as possible with acceptable low error ratio Goal of this lecture – Review some.
Data Comm. & Networks Instructor: Ibrahim Tariq Lecture 3.
William Stallings Data and Computer Communications 7 th Edition Chapter 8 Multiplexing.
1 CSCD 433 Network Programming Fall 2013 Lecture 4 Physical Layer Line Coding Continued.
1 Chapter 5 Multiplexing : Sharing a Medium Data Communications and Computer Networks: A Business User’s Approach.
Concepts of Multiplexing Many input signals to one transmission media Reduces the number of channels or conductors running from point A to point B Added.
3-2008UP-Copyrights reserved1 ITGD4103 Data Communications and Networks Lecture-11:Data encoding techniques week 12- q-2/ 2008 Dr. Anwar Mousa University.
Computer Networks Chapter 6 - Multiplexing. Spring 2006Computer Networks2 Multiplexing  The term “multiplexing” is used whenever it is necessary to share.
ECOM 4314 Data Communications Fall September, 2010.
In The Name Of Allah The Most Merciful The most Beneficial…
6.1 Chapter 6 Bandwidth Utilization: Multiplexing and Spreading Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
6.1 Chapter 6 Bandwidth Utilization: Multiplexing and Spreading Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 6 Multiplexing.
Chapter 6 Multiplexing.
Multiplexing. Multiplexing is the set of techniques that allows simultaneous transmission of multiple signals across a single link.
Chapter 6 Bandwidth Utilization Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Data Comm. & Networks Instructor: Ibrahim Tariq Lecture 3.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints.
Physical Layer (I) Data Encoding Techniques Advanced Computer Networks.
11-Mar-16Physical Layer Multiplexing Multiplexing is the set of techniques that allows multiple signal transmission across a single medium at the same.
Introduction to Communication Lecture (07) 1. Bandwidth utilization Bandwidth utilization is the wise use of available bandwidth to achieve specific goals.
Outline  Introduction (Resource Management and Utilization).  Compression and Multiplexing (Other related definitions).  The Most Important Access Utilization.
6.1 Chapter 6 Bandwidth Utilization: Multiplexing and Spreading Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Multiplexing and Demultiplexing
Chapter 2 PHYSICAL LAYER.
Bandwidth Utilization: Multiplexing and Spreading
Bandwidth Utilization: Multiplexing and Spreading
Bandwidth Utilization
Bandwidth Utilization
Bandwidth Utilization: Multiplexing and Spreading
Bandwidth Utilization
Multiplexing : Sharing a Medium
Multiplexing and Demultiplexing
Image frequency rejection ratio
CHAPTER 3 Physical Layer.
Multiplexing Multiplexing is the set of techniques that allows the simultaneous transmission of multiple signals across a single data link. A Multiplexer.
Chapter 4: Digital Transmission
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.
Lecture 4 Continuation of transmission basics Chapter 3, pages 75-96
Dr. Clincy Professor of CS
Modulation Modulation => Converts from digital to analog signal.
CSCD 433 Network Programming
Chapter 6 Multiplexing.
Analog Transmission Example 1
Multiplexing and Demultiplexing
Multiplexing Simultaneous transmission of multiple signals across a single data link As data & telecomm use increases, so does traffic Add individual links.
Bandwidth Utilization: Multiplexing
Business Data Communications & Networking
Presentation transcript:

1 CSCD 433 Network Programming Fall 2012 Lecture 5 Physical Layer Line Coding

Topics Digital Transmission of Digital Data Analog Transmission of Digital Data Digital Transmission of Analog Data Multiplexing 2

Digital Transmission of Digital Data Computer data is 0's and 1's Represented as a digital signal Saw voltages as positive, 0, and negative Discussed last time line coding techniques NRZ, RTZ, Manchester enCoding plus others Example: Ethernet uses Manchester coding for early Ethernet Issues Clocking at the receiver Can't tell where one digit ends and another begins if long string of zeros

4 Digital Transmission Signals

5 Summary

6 Analog Transmission of Digital Data Traditional analog transmission has been the Telephone service POTS – Plain Old Telephone Service Have an existing system of wired communication Sending digital data over the telephone service – How do we do it? Use a modem !!! Modems use carrier waves to send information

7 Carrier Waves Modems use carrier waves to send information Each wave has three fundamental characteristics: Amplitude, meaning height (intensity) of wave Frequency, which is number of waves that pass in a single second and is measured in Hertz (cycles/second) (wavelength, the length of the wave from crest to crest, is related to frequency) Phase is a third characteristic Describes point in wave’s cycle at which a wave begins and is measured in degrees

8 Figure 3-13 A Carrier Wave

9 Modulation Modulation is modification of a carrier wave’s fundamental characteristics in order to encode information There are three basic ways to modulate a carrier wave: Amplitude Modulation Frequency Modulation Phase Modulation

10 Amplitude Modulation Amplitude Modulation (AM) Amplitude Shift Keying (ASK), means changing height of wave to encode data AM dial on radio uses amplitude modulation to encode analog information. Shows a simple case of amplitude modulation in which one bit is encoded for each carrier wave change. A high amplitude means a bit value of 1 Zero amplitude means a bit value of 0

11 Amplitude Modulation

12 Frequency Modulation Frequency Modulation (FM) Frequency Shift Keying (FSK), means changing frequency of carrier wave to encode data FM dial on the radio uses frequency modulation to encode analog information. Next slide simple case of frequency modulation in which one bit is encoded for each carrier wave change. Changing the carrier wave to a higher frequency encodes a bit value of 1 No change in the carrier wave frequency means a bit value of 0

13 Frequency Modulation

14 Phase Modulation Phase refers to point in each wave cycle at which the wave begins Phase Modulation (PM) Phase Shift Keying (PSK) means changing phase of the carrier wave to encode data Next slide shows a simple case of phase modulation in which one bit is encoded for each carrier wave change Changing the carrier wave’s phase by 180 o corresponds to a bit value of 1 No change in the carrier wave’s phase means a bit value of 0

15 Phase Modulation

16 Sending Multiple Bits Simultaneously Each modification of the carrier wave to encode information is called a symbol. By using a more complicated information coding system, it is possible to encode more than 1 bit/symbol Next slide gives an example of amplitude modulation using 4 amplitude levels, corresponding to 2 bits/symbol Increasing possible number of symbols from 4 to 8 corresponds with encoding 3 bits/symbol, 16 levels to 4 bits, and so on Likewise, multiple bits per symbol might be encoded using phase modulation, say using phase shifts of 0 o, 90 o, 180 o, and 270 o.

17 Two-bit Amplitude Modulation

18 Quadrature Amplitude Modulation (QAM) QAM is a family of encoding schemes that are widely used for encoding multiple bits per symbol that combine Amplitude and Phase Modulation 16QAM is a common form of that uses 8 different phase shifts and 2 different amplitude levels Since there are 16 possible symbols, each symbol encodes 4 bits QAM and related techniques are commonly used for voice modems with a data rate of up to about 28 kilobits/second

19 Bit Rate vs. Baud Rate (Symbol Rate) Bit rate (or data rate) is the number of bits transmitted per second Baud rate (same as symbol rate) refers to the number of symbols transmitted per second Since multiple bits can be encoded per symbol, the two terms are not the same General formula: Data Rate (bits/second)= Symbol Rate (symbols/sec.) x No. of bits/symbol

20 Multiplexing

21 Multiplexing Combining several signals onto one line. Demultiplexing Taking a multiplexed signal and recovering its original components Frequency division multiplexing (FDM): using different frequency ranges for different signals Wave division multiplexing (WDM): same as FDM, but with optical signals. Time division multiplexing (TDM): each signal is allocated to a periodic time slot CDM is a mathematical approach used in cell phone mechanisms

22 Frequency Division Multiplexing (FDM) FDM works by making a number of smaller channels from a larger frequency band FDM is sometimes referred to as dividing the circuit “horizontally” In order to prevent interference between channels, unused frequency bands called guardbands are used to separate the channels Because of guardbands, there is some wasted capacity on an FDM circuit

23 Frequency Division Multiplexing

24 Frequency Division Multiplexing Suppose that we have three phone signals that we want to combine onto one line with higher bandwidth. Allocate 4 KHz of bandwidth to each signal, which includes a “guard band” of unused frequency range to ensure signals don’t overlap. Each signal originally uses the range 0.3 – 3.3 KHz. Transform each signal to a different frequency range: Signal 1: 20 – 24 KHz channel Use 20.5 KHz to 23.5 KHz, with 0.5 KHz of guard band on each end. Signal 2: 24 – 28 KHz Signal 3: 28 – 32 KHz At receiver, filters are used to isolate each channel, and then the frequency is transformed back to its original range.

25 FDM

26 FDM applications High capacity phone lines AM radio: 530 KHz to 1700 KHz, 10 KHz bandwidth per station FM radio: 88 MHz to 108 MHz, 200 KHz bandwidth per station TV broadcasts: 6 MHz bandwidth per TV channel First generation cell phones: each user gets two 30 KHz channels (sending, receiving).

27 Wave Division Multiplexing Essentially the same as FDM, except the signals are optical and prisms are used to combine/split signals instead of electrical components. Used to combine signals of different frequencies (i.e. colours) onto one fibre-optic cable.

28 Time Division Multiplexing (TDM) TDM allows multiple channels to be used by allowing channels to send data by taking turns TDM is sometimes referred to as dividing circuit “vertically” Next slide shows an example of 4 terminals sharing a circuit, with each terminal sending one character at a time With TDM, time on circuit is shared equally with each channel getting a specified time slot, whether or not it has any data to send TDM is more efficient than FDM, since TDM doesn’t use guardbands, so the entire capacity can be divided up between the data channels.

29 Time Division Multiplexing (TDM) TDM is a digital method, as opposed to FDM which is analog Signal is split into fixed-size units of time, and units from each signal are sent alternately. If signal represents bits, use a fixed size block of bits as the unit. Suppose that we have 3 signals to combine, and the time unit is 1 ms Cycle through the signals as follows: Send signal 1 for 1 ms. Send signal 2 for 1 ms. Send signal 3 for 1 ms. Each signal has its own time slot; if it has nothing to send, the slot is left empty to preserve synchronization.

30 Time Division Multiplexing

31 TDM

32 TDM applications Digital Service lines: DS-n Implemented as telephone lines: T-n ServicePhone lineData rate# of voice channels (DS-0)standard phone line 64 Kb/s1 DS-1T Mb/s24 DS-2T Mb/s96 DS-3T Mb/s672 DS-4T Mb/s4032

33 Code Division Multiplexing (CDM) CDM used in parts of the cellular telephone system and for some satellite communication CDM relies on an interesting mathematical idea values from orthogonal vector spaces can be combined and separated without interference Each sender is assigned a unique binary code C i that is known as a chip sequence chip sequences are selected to be orthogonal vectors Means dot product of any two chip sequences is zero

34 Code Division Multiplexing (CDM) At any point in time, each sender has value to transmit, V i The senders each multiply C i x V i and transmit the results The senders transmit at the same time and the values are added together To extract value V i, a receiver multiplies the sum by C i Example to keep the example easy to understand, use a chip sequence that is only two bits long and data values that are four bits long think of the chip sequence as a vector Next slide lists the values

35 Code Division Multiplexing

36 Code Division Multiplexing The first step consists of converting the binary values into vectors that use -1 to represent 0: If we think of the resulting values as a sequence of signal strengths to be transmitted at the same time the resulting signal will be the sum of the two signals

37 Code Division Multiplexing A receiver treats the sequence as a vector computes product of vector and the chip sequence treats result as a sequence, and converts the result to binary by interpreting positive values as binary 1 and negative values as 0 Thus, receiver number 1 computes: Interpreting the result as a sequence produces: ( ) which becomes the binary value: ( ) note that 1010 is the correct value of V 1 receiver 2 will extract V 2 from the same transmission C1C1 Received data Code division multiple access (CDMA) is a channel access method utilized by various radio communication technologies.

Summary Many types of encoding for sending data Multiplexing allows efficient use of shared physical media

39