Chapter 3 SignalsandEncoding/Modulating BY Mr.Sukchatri Prasomsuk.

Slides:



Advertisements
Similar presentations
Chapter 2 Fundamentals of Data and Signals
Advertisements

Lecture 26 Physical Layer Ch 4: Digital Transmission
Signals Maninder Kaur 1www.eazynotes.com Maninder Kaur
3.1 Chapter 3 Data and Signals Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 3 Data and Signals
Signals The main function of the physical layer is moving information in the form of electromagnetic signals across a transmission media. Information can.
PART II Physical Layer.
3.1 Chapter 3 Data and Signals Computer Communication & Networks.
Chapter-3-1CS331- Fakhry Khellah Term 081 Chapter 3 Data and Signals.
Chi-Cheng Lin, Winona State University CS412 Introduction to Computer Networking & Telecommunication Theoretical Basis of Data Communication.
 Signals  Analog and Digital  Analog and Digital Data & Signals  Periodic & Aperiodic Signals.
Note To be transmitted, data must be transformed to electromagnetic signals.
1 Lecture 27 Physical Layer (Data and Signals) University of Nevada – Reno Computer Science & Engineering Department Fall 2010 CPE 400 / 600 Computer Communication.
Chapter Two Fundamentals of Data and Signals
Analog and Digital Signals
Chapter 5 Analog Transmission
Chapter 5 Analog Transmission.
DATA COMMUNICATION Lecture-17. Recap of Lecture 16  Analog-To-Digital Conversion  Pulse Code Modulation (PCM) – Pulse Amplitude Modulation (PAM) – Quantization.
ICSA 341 (Updated 12/2001) Encoding There are four types of encoding possible. –Digital Encoding of Digital Data –Digital Encoding of Analog Data –Analog.
Chapter Two Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User's Approach Sixth Edition.
Computer Communication and Networks
Chapter 2 Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User’s Approach.
Chapter Two Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User's Approach Fifth Edition.
Chapter 5 Analog Transmission Digital-to-analog conversion is the process of changing one of the characteristics of an analog signal based on the information.
Chapter 3: Data and Signals
Chapter 2 Fundamentals of Data and Signals
Lecture 3 Data Encoding and Signal Modulation
Chapter 2: Fundamentals of Data and Signals. 2 Objectives After reading this chapter, you should be able to: Distinguish between data and signals, and.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 4 Digital Transmission.
CEG3185 : Introduction to Computer Networks SEG3155 : Communication and Networking Tutorial 4.
1 Chapter 2 Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User’s Approach.
Sami Al-Wakeel 1 Data Transmission and Computer Networks Data Encoding.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Physical Layer PART II.
Data Communications & Computer Networks, Second Edition1 Chapter 2 Fundamentals of Data and Signals.
Part 2 Physical Layer and Media
UNIT - 2.
Data Communications Chapter 5 Data Encoding.
Chapter 3 Data and Signals
6-Information Sources and Signals Dr. John P. Abraham Professor UTRGV.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 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.
Chapter 4 Digital Transmission.
Kashif BashirWWW.Taleem.greatnow.com Chapter 4 Digital Transmission.
1 Chapter 2 Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User’s Approach.
1 Outline Analog and Digital Data Analog and Digital Signals Amplitude Modulation (AM) Frequency Modulation (FM)
Digital Transmission & Analog Transmission. 4.#2 1. DIGITAL-TO-DIGITAL CONVERSION Digital Data -> Digital Signal Three techniques: 1.line coding (always.
Physical Layer PART II. Position of the physical layer.
Chapter 4 Digital Transmission.
Chapter Two Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User's Approach Eighth Edition.
DATA ENCODING Digital-to-digital conversion - Encode digital data into a digital signal - Sending computer data Analog-to-Digital conversion - Digitizing.
Signals. Signals can be analog or digital. Analog signals can have an infinite number of values in a range; digital signals can have only a limited number.
1 Signals. 2 Signals Introduction Introduction Analog and Digital Analog and Digital.
Chapter2 : SIGNALS 1st semester King Saud University
Spring 2006Data Communications, Kwangwoon University3-1 Chapter 3. Signals 1.Analog and digital 2.Analog signals 3.Digital signals 4.Analog versus digital.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 4 Digital Transmission.
Data and Signals & Analouge Signaling
Part II Physical Layer Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Part II Physical Layer.
PART II Physical Layer.
Chapter 2 Data and Signals
Topics discussed in this section:
4 장 신호(Signals) 4.1 아날로그와 디지털(Analog and Digital)
Lecture 2 Data and Signals
CHAPTER 3 DATA AND SIGNAL
Fundamentals of Networking and
Signals Prof. Choong Seon HONG.
Physical Layer Part 1 Lecture -3.
CSE 313 Data Communication
REVIEW Physical Layer.
3.1 Chapter 3 Data and Signals Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Presentation transcript:

Chapter 3 SignalsandEncoding/Modulating BY Mr.Sukchatri Prasomsuk

Contents : 3.1 Analog and Digital 3.2 Periodic and Aperiodic Signals 3.3 Analog Signals 3.4 Time and Frequency Domains 3.5 Composite Signals 3.6 Digital Signals 3.7 Digital-to-Digital Conversion 3.8 Analog-to-Digital Conversion 3.9 Digital-to-Analog Conversion 3.10 Analog-to-Analog Conversion 2/78

Introduction : Information can be in the form of data, voice, picture, image, numeric data, characters, or code. You cannot roll up a photograph, insert it into a wire and transmit it across network. must encoded description of the data. You can use an encoder to create a stream of 1 and 0 that tells the receiving device. To be transmitted, information must be transformed into electromagnetic signals. 3/78

3.1 Analog and Digital AnalogAnalog refers to something that is continuous : a set of specific points of data and all possible points between. Ex : Analog data - voice, sound, light, wave,... Source: Sun, bulb, lamp, microphone, speaker, …. 4/78 Value Time

3.1 Analog and Digital DigitalDigital refers to something that is discrete : a set of specific points of data with no other points in between. Ex. Digital data - is data stored in the memory of a computer in the form of 0s and 1s. Transfer from one position to another inside or outside the computer. Such as : computer to Printer, CPU to RAM, …. 5/78 Value Time

3.1 Analog and Digital Conclusion : Signals can be analog or digital. Analog signals can have any value in a range. Digital signals can have only a limited number of values. 6/78

3.2 Periodic and APeriodic Signals periodicaperiodicBoth analog and digital signals can be of two forms: periodic and aperiodic (nonperiodic). 7/78

3.2 Periodic and APeriodic Signals periodPeriodic Signals : is a signal that it completes a pattern within a measurable time frame, called a period, and repeats that pattern over identical subsequent periods. cycleThe completion of one full pattern is called a cycle. A period is defined as amount of time(sec.) required to complete one full cycle. TThe duration of a period represented by T. 8/78

3.2 Periodic and APeriodic Signals Analog Digital 9/78 Value Time Value Time

3.2 Periodic and APeriodic Signals A Periodic or nonperiodic Signals, signal changes constantly without exhibiting a pattern or cycle that repeats over time. Analog 10/78 Value Time

3.2 Periodic and APeriodic Signals An aperiodic signals can be decomposed into an infinite number of periodic signal. A sine wave is the simplest periodic signal. Digital 11/78 Value Time

3.3 Analog Signals Analog signal can be classified as simple or composite. A simple analog signal, or a sine wave, cannot be decomposed into simpler signals. A composite analog signal is composed of multiple sine waves. 12/78

3.3 Analog Signals Simple Analog signalsSimple Analog signals : the sine wave is the most fundamental form of a periodic analog signal. Visualized as a simple oscillating curve, Its change over the course of a cycle is smooth and consistent, a continuous, rolling flow. Amplitude :Amplitude : refers to the height of the signal. The unit for amplitude depends on the type of the signal. For electrical signals, the unit is normally volts, amperes, or watts. 13/78

3.3 Analog Signals Amplitude :Amplitude : 14/78 Value Time

3.3 Analog Signals Period and Frequency :Period and Frequency : 15/78 Value Time

3.3 Analog Signal 16/78

3.3 Analog Signals Unit of Period : Period is expressed in seconds (s). The communications industry uses five unit to measure period: Second (s) millisecond (ms = ) microsecond (us = ) nanosecond (ns = ) Picosecond (ps = ) 17/78

3.3 Analog Signals Unit of Frequency : Frequency is expressed in hertz (Hz). The communications industry uses five unit to measure frequency: Hertz (Hz) Kilohertz (KHz = 10 3 Hz) Megahertz (MHz = 10 6 Hz) Ginanosecond (GHz = 10 9 Hz) Terahertz (THz = Hz) 18/78

3.3 Analog Signals PeriodPeriod is the amount of time it takes a signal to complete one cycle; FrequencyFrequency is the number of cycles per second. Frequency and period are inverse of each other: Frequency (f ) = 1/T Or Period (T) = 1/f 19/78

3.3 Analog Signals Ex.: A sine wave has a frequency of 8 KHz. What is its period? Solution : Period (T) = 1/f = 1/8000 = sec. = 125 x sec. Or = 125 us # 20/78

3.3 Analog Signals 21/78 High Frequency Low Frequency Change in a short span of time Change in a long span of time Note : If a signal does not change at all, its frequency is zero (0 Hz). If a signal changes instantaneously, its frequency is infinity.

3.3 Analog Signals PhasePhase : describes the position of the waveform relative to time zero. Phase is measured in degrees or radians (360 degrees is 2 Pi radians). A complete period => a phase shift of 360 o half a period => a phase shift of 180 o A quarter period => a phase shift of 90 o 22/78

3.3 Analog Signals 23/78

3.3 Analog Signals Ex :Ex : A sine wave is offset 1/6 of a cycle with respect to time zero. What is its phase? Solution we know that one complete cycle is 360 degrees. Therefore, 1/6 of a cycle is 1/6 x 360 = 60 degree # 24/78

3.3 Analog Signals 25/78

3.3 Analog Signals 26/78

3.4 Time and Frequency Domains 27/78

3.4 Time and Frequency Domains 28/78

3.4 Time and Frequency Domains A low-frequency signal in the frequency domain corresponds to a signal with a long period in the time domain and vice versa. A signal that changes rapidly in the time domain corresponds to high frequencies in the frequency domain. 29/78

3.5 Composite Signals Composite Signals : a signal composed of more than one sine wave. The frequency spectrum of a signal is the combination of all sine wave signal that make up that signal. Bandwidth : The difference between the highest and the lowest frequencies of a composite signal. It also measures the information-carrying capacity of a line or a network. 30/78

3.5 Composite Signals 31/78

3.5 Composite Signals 32/78 The frequency spectrum

3.6 Digital Signals Digital signal : A discrete signal with a limited number of values. O is zero voltage (0 V.) 1 is a positive voltage (5V.) 33/78

3.6 Digital Signals 34/78

3.6 Digital Signals 35/78

3.6 Digital Signals Ex.Ex. A digital signal has a bit rate of 2000 bps. What is the duration of each bit (bit interval)? Solution The bit interval is the inverse of the bit rate. Bit interval = 1/(bit rate) = 1/2000 = sec. = 500x10 -6 sec. = 500 us # 36/78

Basics of Encoding Networking Signals 37/78

Binary Encoding Schemes 38/78

Binary Encoding Schemes 39/78

Type of Modulation 40/78

Encoding Signals as Voltages 41/78

Encoding Singnals as Electromagnatics waves 42/78

Encoding and Modulating We must transform data into signals to send them one place to another. Different conversion schemes : 43/78 Conversion methods Digital-DigitalAnalog-DigitalDigital-AnalogAnalog-Analog

3.7 Digital-to-Digital Conversion Digital-to-Digital encoding : conversion is the representation of digital information by a digital signal. 44/78

3.7 Digital-to-Digital Conversion Type of digital-to-digital encoding 45/78 Digital-Digital encoding UnipolarPolarBipolar

3.7 Digital-to-Digital Conversion 46/78 Polar NRZRZBiphase NRZ-LNRZ-I Manchester Differential Manchester

3.7 Digital-to-Digital Conversion UnipolarUnipolar encoding uses only one level of value. PolarPolar encoding used two levels (positive and negative) of amplitude. NRZNRZ (Nonreturn to Zero) : NRZ-L, NRZ-I NRZ-LIn NRZ-L the level of the signal is dependent upon the state of the bit. NRZ-IIn NRZ-I the is inverted if a 1 is encountered. RZRZ (Return to Zero) : anytime the original data contain strings of consecutive 1s or 0s. A good encoded digital signal must contain a provision for synchronization. 47/78

3.7 Digital-to-Digital Conversion BiphaseBiphase encoding is implemented in two different ways : Manchester and differential Manchester. In Manchester encoding, the transition at the middle of the bit is used for both synchronization and bit representation. In differential Manchester encoding, the transition at the middle of the bit is used only for synchronization. Thebit representation is shown by the inversion or noninversion at the beginning of the bit. 48/78

3.7 Digital-to-Digital Conversion 49/78

3.7 Digital-to-Digital Conversion BipolarBipolar encoding : we use three levels : positive, zero, and negative. 50/78 Bipolar AMIB8ZSHDB3

3.7 Digital-to-Digital Conversion 51/78 Bipolar AMI encoding : is the simplest type of bipolar encoding.

3.7 Digital-to-Digital Conversion B8ZS if eight 0s come one after another, we change the pattern in one of two ways based on the polarity of the previous 1. 52/78 B8ZS encoding

3.7 Digital-to-Digital Conversion HDB3 (High-Density Bipolar 3 : If four 0s come one after another, we change the pattern in one of four ways based on the polarity of the previous 1 and the number of 1s since the last substitution. 53/78

3.8 Analog-to-Digital Conversion Introduction : 54/78 Analog to Digital Conversion (Codec)

3.8 Analog-to-Digital Conversion PAM (Pulse Amplitude Modulation) : 55/78

3.8 Analog-to-Digital Conversion PCM (Pulse Code Modulation) : Pulse amplitude modulation (PAM) has some applications, but it is not used by it self in data communication. However, it is the first step in another very popular conversion method called pulse code modulation (PCM) 56/78

3.8 Analog-to-Digital Conversion Quantized PAM signal : + is 0 and - is 1 Ex. +26 = , +48 = , +127 = , -80 = /78

3.8 Analog-to-Digital Conversion From analog signal to PCM digital code 58/78

3.8 Analog-to-Digital Conversion Nyquist thorem : Highest frequency = x Hz Sampling rate = 2x samples/second 59/78

3.8 Analog-to-Digital Conversion Using analog signals to build digital signals 60/78

3.8 Analog-to-Digital Conversion Ex. What sampling rate is needed for a signal with a bandwidth of 10,000Hz (1,000 to 11,000 Hz)? Solution The sampling rate must be twice the highest frequency in the signal: sampling rate = 2(11,000) = 22,000 samples/second # 61/78

3.8 Analog-to-Digital Conversion Bit Rate : After finding the number of bits per sample, we can calculate the bit rate using the followig formula: Bit rate = Sampling rate x Number of bits persample 62/78

3.8 Analog-to-Digital Conversion Ex. We want to digitize the human voice. What is the bit rate assuming eight bits per sample? Solution The human voice normally contains frequencies from 0 to 4000 Hz. So the sampling rate is: = 4000 x 2 = 8000 samples/second The bit rate can be calculates as: Bit rate = Sampling rate x Number of bits per sample = 8000 x 8 = 64,000 bit/s = 64 Kbps # 63/78

3.9 Digital-to-Analog Conversion Is the process of changing one of the characteristics of an analog signal based on the information in a digital signal (0 and 1). 64/78 Digital to Analog Modulation

3.9 Digital-to-Analog Conversion Types of digital-to-analog modulation 65/78 Digital-to-Analog Modulation ASKFSKPSK QAM

3.9 Digital-to-Analog Conversion ASK (Amplitude shift keying) : amplitude of carrier signal FSK (Frequency shift keying) : frequency of carrier signal PSK (Phase shift keying) : phase of the carrier signal QAM (Quadrature amplitude modulation): phase+amplitude Bit rate is the number of bits per second. Baud rate is the number of signal units per second. Baud rate is less than or equal to the bit rate. So, Baud rate = number of signal elements Bit rate = Baud rate X number of bits/signal element 66/78

3.10 Analog-to-Analog Conversion Is the representation of analog information by analog signal. 67/78 Analog to Analog Conversion

3.10 Analog-to-Analog Conversion Type of analog-to-analog modulation 68/78 Analog-to-Analog Conversion AMFMPM

3.10 Analog-to-Analog Conversion AM (Amplitude modulation) : The bandwidth of an audio signal (Speech and music) is usually 5 KHz. Therefore, an AM radio station needs a minimum bandwidth of 10 KHz. (AM : KHz) FM (Frequency modulation) : The bandwidth of an audio signal (Speech and music) is usually 15 KHz. Therefore, an AM radio station needs a minimum bandwidth of KHz. (FM : MHz) PM (Phase modulation) is used in some system as as alternative to frequency modulation. 69/78

3.11 Network signal propagation 70/78

3.12 Network attenuation 71/78

3.13 Network reflection 72/78

3.14 Noise 73/78

3.14 Noise 74/78

3.15 Dispersion, jitter, and latency 75/78

3.16 Collision 76/78

3.17 Messages in terms of bits 77/78

Assignments & LAB Lab & Lab & Lab Due date : Next time 78/78