Presentation is loading. Please wait.

Presentation is loading. Please wait.

Chapter-3-1CS331- Fakhry Khellah Term 081 Chapter 3 Data and Signals.

Similar presentations


Presentation on theme: "Chapter-3-1CS331- Fakhry Khellah Term 081 Chapter 3 Data and Signals."— Presentation transcript:

1 Chapter-3-1CS331- Fakhry Khellah Term 081 Chapter 3 Data and Signals

2 Chapter-3-2CS331- Fakhry Khellah Term 081 Position of the physical layer & Services

3 Chapter-3-3CS331- Fakhry Khellah Term 081 Chapters Chapter 3 Signals Chapter 4 Digital Transmission Chapter 5 Analog Transmission Chapter 6 Multiplexing Chapter 7 Transmission Media Chapter 8 Circuit Switching and Telephone Network Chapter 9 High Speed Digital Access

4 Chapter-3-4CS331- Fakhry Khellah Term 081 Chapter 3 Signals

5 Chapter-3-5CS331- Fakhry Khellah Term 081 To be transmitted, data must be transformed to electromagnetic signals. Note

6 Chapter-3-6CS331- Fakhry Khellah Term 081 A Transmission System Transmission: Communication of data by propagation and processing of signals through a communication channel Signal: Electromagnetic energy that moves through the transmission medium Transmitter Converts information into signal suitable for transmission Injects energy into communications medium or channel Telephone converts voice into electric current Modem converts bits into electric current Receiver Receives energy from medium Converts received signal into form suitable for delivery to user Telephone converts current into voice Modem converts electric current into bits Receiver Communication channel Transmitter

7 Chapter-3-7CS331- Fakhry Khellah Term 081 3.1 Analog and Digital Analog Data : Continuous value data (sound, light, temperature) Digital Data: Discrete value (text, integers, symbols) Analog Signals : Continuously varying electromagnetic wave have an infinite number of values over a period of time Digital Signals : Series of voltage pulses (square wave) have only a limited number of values over a period of time. Maintains a constant level then changes to another constant level Signals are classified into: Periodic Signals : Consists of repeated patterns over identical period of times (cycles) Aperiodic Signals : change without a pattern that repeats over time

8 Chapter-3-8CS331- Fakhry Khellah Term 081 Figure 3.1 Comparison of analog and digital signals How signals are represented on a graph

9 Chapter-3-9CS331- Fakhry Khellah Term 081 Periodic analog and digital signals

10 Chapter-3-10CS331- Fakhry Khellah Term 081 In data communication, we commonly use periodic analog signals and aperiodic digital signals. Note:

11 Chapter-3-11CS331- Fakhry Khellah Term 081 3.2 Analog Signals Sine Wave Phase Examples of Sine Waves Time and Frequency Domains Composite Signals Bandwidth

12 Chapter-3-12CS331- Fakhry Khellah Term 081 Figure 3.2 A sine wave  Sine wave is the most fundamental form of a periodic analog signal (a simple signal )  Three main characteristics that describe Simple Sine Wave:  Amplitude  Frequency  Phase

13 Chapter-3-13CS331- Fakhry Khellah Term 081 Simple Signal Characteristics: 1- Amplitude Peak amplitude is the absolute value of the highest/lowest signal value

14 Chapter-3-14CS331- Fakhry Khellah Term 081 Simple Signal Characteristics: 2- Frequency Period = The time needed to complete a full pattern (cycle) Frequency: Number of completed (patterns) cycles per second

15 Chapter-3-15CS331- Fakhry Khellah Term 081 Frequency is the rate of change with respect to time. Change in a short span of time means high frequency. Change over a long span of time means low frequency. Note

16 Chapter-3-16CS331- Fakhry Khellah Term 081 If a signal does not change at all, its frequency is zero. If a signal changes instantaneously, its frequency is infinite. Note

17 Chapter-3-17CS331- Fakhry Khellah Term 081 Frequency and period are the inverse of each other. Note

18 Chapter-3-18CS331- Fakhry Khellah Term 081 The power we use at home has a frequency of 60 Hz. The period of this sine wave can be determined as follows: Example 3.3 1 ms = 10 -3 second

19 Chapter-3-19CS331- Fakhry Khellah Term 081 The period of a signal is 100 ms. What is its frequency in kilohertz? Example 3.5 Solution First we change 100 ms to seconds, and then we calculate the frequency from the period (1 Hz = 10 −3 kHz).

20 Chapter-3-20CS331- Fakhry Khellah Term 081 Simple Signal Characteristics: 3- Phase  Phase: the position of the signal relative to time zero (where the signal starts with respect to time zero) measured in degrees or radians (1 degree is radian )  It describes the amount of the shift happened to the first cycle (its offset with respect to time zero)

21 Chapter-3-21CS331- Fakhry Khellah Term 081 Phase describes the position of the waveform relative to time zero. Note:

22 Chapter-3-22CS331- Fakhry Khellah Term 081 Mathematical description of sine wave  S instantaneous Amplitude  A peak Amplitude  F frequency  Phase

23 Chapter-3-23CS331- Fakhry Khellah Term 081 Figure 3.6 Sine wave examples

24 Chapter-3-24CS331- Fakhry Khellah Term 081 Figure 3.6 Sine wave examples (continued)

25 Chapter-3-25CS331- Fakhry Khellah Term 081 Figure 3.6 Sine wave examples (continued)

26 Chapter-3-26CS331- Fakhry Khellah Term 081 Medium Bandwidth meaning depends on the type of the transmitted signal through the medium:  Analog bandwidth is associated with Analog signals.  it is the difference between the highest and the lowest (the range of ) frequencies that the medium can pass safely (expressed in Hz)  Range of frequencies in a signal  High bandwidth Medium  Less error in the transmitted data  Needs Expensive equipments  Low bandwidth Medium  more errors  cheaper  Digital Bandwidth is associated with Digital signals  It is the maximum bit rate that a medium can pass expressed in bits per second (bps) The Medium bandwidth

27 Chapter-3-27CS331- Fakhry Khellah Term 081 Example 4 A signal has a bandwidth of 20 Hz. The highest frequency is 60 Hz. What is the lowest frequency? Draw the spectrum if the signal contains all integral frequencies of the same amplitude. Solution B = f h  f l 20 = 60  f l f l = 60  20 = 40 Hz

28 Chapter-3-28CS331- Fakhry Khellah Term 081 3.3 Digital Signals 1 = Positive voltage > 0 0 = Zero voltage Most Digital Signals are Aperiodic  Frequency is not appropriate

29 Chapter-3-29CS331- Fakhry Khellah Term 081 Figure 3.16 Two digital signals: one with two signal levels and the other with four signal levels

30 Chapter-3-30CS331- Fakhry Khellah Term 081 Figure 3.17 Bit rate and bit interval Bit Interval (digital signal period): The time required to send (represent) one single bit (time units) Bit Rate (digital bandwidth) : Number of bits sent per second (bps)

31 Chapter-3-31CS331- Fakhry Khellah Term 081 Example 6 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/ 2000 s = 0.000500 s = 0.000500 x 10 6  s = 500  s

32 Chapter-3-32CS331- Fakhry Khellah Term 081 Figure 3.12 Signal corruption  No transmission medium can pass all the signal frequencies safely  A medium may  Pass some frequencies  Block others  Weaken others

33 Chapter-3-33CS331- Fakhry Khellah Term 081 Impairments: Factors that make the received signal different from the transmitted one 3.4 Transmission Impairments

34 Chapter-3-34CS331- Fakhry Khellah Term 081 Attenuation  Attenuation: Loss of energy due to resisting the medium (Signal strength falls off with distance)  Increases with signal frequency  Ex. A wire carrying electrical signal becomes warm after some time  Amplifiers (analog signals) and repeaters (digital signals) are used to handle attenuation  Attenuation affects analog signals

35 Chapter-3-35CS331- Fakhry Khellah Term 081 Distortion  Distortion : Signal changes in shape  Distortion will cause different bits to overlap  Usually occurs to composite signal due to different propagation delays of its components

36 Chapter-3-36CS331- Fakhry Khellah Term 081 Noise  Thermal Noise due to random motion of electrons in a wire which will create an extra signal  Induced Noise: caused by motors and electrical equipments.  crosstalk noise : Two wires beside each others (hearing another conversation in the background while talking with the phone)  Impulse noise: irregular pulses or noise spikes of short duration and high amplitude  caused by power lines or lightning  Very critical in case of digital signals (primary source of error in digital data communication)

37 Chapter-3-37CS331- Fakhry Khellah Term 081 Other Physical layer definitions: Propagation time= time required for a bit to move between two nodes. Propagation time = distance of the link / Propagation speed Propagation speed : Speed of light in the medium. Depends on the medium Light travels at 3x10 8 m/s Vacuum (free space), lower in the air and much lower in a cable (2/3 in vacuum) 3-6 PERFORMANCE

38 Chapter-3-38CS331- Fakhry Khellah Term 081 Propagation Time

39 Chapter-3-39CS331- Fakhry Khellah Term 081 Transmission time = The time it takes the sender to transmit (put) all the bits of a frame into the link Transmission time = Length of frame (message) in bits / link data rate (bandwidth) (bps) Queuing Time = Time needed for each intermediate device to hold the message before it can be processed. Latency (delay): Total message delivery time = Transmission time + Propagation time + processing time+ queuing time Other Physical layer definitions – Transmission Time

40 Chapter-3-40CS331- Fakhry Khellah Term 081 What are the propagation time and the transmission time for a 2.5-kbyte message (an e-mail) if the bandwidth of the network is 1 Gbps? Assume that the distance between the sender and the receiver is 12,000 km and that light travels at 2.4 × 10 8 m/s. Solution We can calculate the propagation and transmission time as shown on the next slide: Example 3.46

41 Chapter-3-41CS331- Fakhry Khellah Term 081 Note that in this case, because the message is short and the bandwidth is high, the dominant factor is the propagation time, not the transmission time. The transmission time can be ignored. Example 3.46 (continued)

42 Chapter-3-42CS331- Fakhry Khellah Term 081 What are the propagation time and the transmission time for a 5-Mbyte message (an image) if the bandwidth of the network is 1 Mbps? Assume that the distance between the sender and the receiver is 12,000 km and that light travels at 2.4 × 10 8 m/s. Solution We can calculate the propagation and transmission times as shown on the next slide. Example 3.47

43 Chapter-3-43CS331- Fakhry Khellah Term 081 Note that in this case, because the message is very long and the bandwidth is not very high, the dominant factor is the transmission time, not the propagation time. The propagation time can be ignored. Example 3.47 (continued)

44 Chapter-3-44CS331- Fakhry Khellah Term 081 Figure 3.33 Concept of bandwidth-delay product bandwidth-delay product = Length of the link in bits

45 Chapter-3-45CS331- Fakhry Khellah Term 081 We can think about the link between two points as a pipe. The cross section of the pipe represents the bandwidth, and the length of the pipe represents the delay. We can say the volume of the pipe defines the bandwidth-delay product Example 3.48

46 Chapter-3-46CS331- Fakhry Khellah Term 081 The bandwidth-delay product defines the number of bits that can fill the link. Note

47 Chapter-3-47CS331- Fakhry Khellah Term 081 Figure 3.31 Filling the link with bits for case 1

48 Chapter-3-48CS331- Fakhry Khellah Term 081 Figure 3.32 Filling the link with bits in case 2 5 bps 25 bits

49 Chapter-3-49CS331- Fakhry Khellah Term 081 Wavelength: the distance a simple signal can travel in one period (or the distance occupied by one cycle) Depends on both the signal frequency and the medium Wavelength = Propagation speed x Period = Propagation speed / frequency Other Physical layer definitions - Wavelength


Download ppt "Chapter-3-1CS331- Fakhry Khellah Term 081 Chapter 3 Data and Signals."

Similar presentations


Ads by Google