Presentation is loading. Please wait.

Presentation is loading. Please wait.

Chapter 3 SignalsandEncoding/Modulating BY Mr.Sukchatri Prasomsuk.

Similar presentations


Presentation on theme: "Chapter 3 SignalsandEncoding/Modulating BY Mr.Sukchatri Prasomsuk."— Presentation transcript:

1 Chapter 3 SignalsandEncoding/Modulating BY Mr.Sukchatri Prasomsuk

2 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

3 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

4 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

5 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

6 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

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

8 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

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

10 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

11 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

12 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

13 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

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

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

16 3.3 Analog Signal 16/78

17 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 = 10 -3 ) microsecond (us = 10 -6 ) nanosecond (ns = 10 -9 ) Picosecond (ps = 10 -12 ) 17/78

18 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 = 10 12 Hz) 18/78

19 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

20 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 = 0.000125 sec. = 125 x 10 -6 sec. Or = 125 us # 20/78

21 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.

22 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

23 3.3 Analog Signals 23/78

24 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

25 3.3 Analog Signals 25/78

26 3.3 Analog Signals 26/78

27 3.4 Time and Frequency Domains 27/78

28 3.4 Time and Frequency Domains 28/78

29 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

30 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

31 3.5 Composite Signals 31/78

32 3.5 Composite Signals 32/78 The frequency spectrum

33 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

34 3.6 Digital Signals 34/78

35 3.6 Digital Signals 35/78

36 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 = 0.0005 sec. = 500x10 -6 sec. = 500 us # 36/78

37 Basics of Encoding Networking Signals 37/78

38 Binary Encoding Schemes 38/78

39 Binary Encoding Schemes 39/78

40 Type of Modulation 40/78

41 Encoding Signals as Voltages 41/78

42 Encoding Singnals as Electromagnatics waves 42/78

43 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

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

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

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

47 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

48 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

49 3.7 Digital-to-Digital Conversion 49/78

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

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

52 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

53 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

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

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

56 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

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

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

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

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

61 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

62 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

63 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

64 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

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

66 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

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

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

69 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 : 530-17 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 150-200 KHz. (FM : 88-108 MHz) PM (Phase modulation) is used in some system as as alternative to frequency modulation. 69/78

70 3.11 Network signal propagation 70/78

71 3.12 Network attenuation 71/78

72 3.13 Network reflection 72/78

73 3.14 Noise 73/78

74 3.14 Noise 74/78

75 3.15 Dispersion, jitter, and latency 75/78

76 3.16 Collision 76/78

77 3.17 Messages in terms of bits 77/78

78 Assignments & LAB Lab 10.6.6 & Lab 10.7.5 & Lab 10.7.7 Due date : Next time 78/78


Download ppt "Chapter 3 SignalsandEncoding/Modulating BY Mr.Sukchatri Prasomsuk."

Similar presentations


Ads by Google