Data Transmission NET 205 Data Transmission and Digital

  • Slides: 59
Download presentation
Data Transmission NET 205: Data Transmission and Digital Communication 2 nd semester 1439 -1440

Data Transmission NET 205: Data Transmission and Digital Communication 2 nd semester 1439 -1440

205 NET LOC • 1 -Introduction to Communication Systems and Networks architecture OSI Reference

205 NET LOC • 1 -Introduction to Communication Systems and Networks architecture OSI Reference Model. • 2 - Data Transmission Principles 2

Outline 3

Outline 3

Data and Signals Data communications involves transmitting data between a transmitter and receiver via

Data and Signals Data communications involves transmitting data between a transmitter and receiver via some medium. Communication is in form of electromagnetic waves or signals. Design of signals and characteristics of medium impact on how effective the communications are. 4

Analog and Digital Data and Signals Data can be analog or digital Signals can

Analog and Digital Data and Signals Data can be analog or digital Signals can also be analog or digital Analog signal varies in continuous manner over time Digital signal maintains constant level for some period then changes to another constant level, in a discrete manner 5

6

6

Transmitting Data with Analog Signals • Analog signals: telephone lines, audio systems, microwave wireless,

Transmitting Data with Analog Signals • Analog signals: telephone lines, audio systems, microwave wireless, . . . • Efficient use of bandwidth, but noise is a problem 7

Transmitting Data with Digital Signals • Digital signals: LANs, WANs, mobile telephones, . .

Transmitting Data with Digital Signals • Digital signals: LANs, WANs, mobile telephones, . . . • Can tolerate noise better than analog; easier to implement transmitters/receivers (can use software) 8

Outline ü Classification of Signals ü Sine Wave ü Amplitude, frequency and phase ü

Outline ü Classification of Signals ü Sine Wave ü Amplitude, frequency and phase ü Time and Frequency Domains ü Composite Signals ü Signal Bandwidth and Bit rate ü Digital signal as a Composite Signals 9

Signal • A signal is a physical quantity by which information can be conveyed

Signal • A signal is a physical quantity by which information can be conveyed • Often, signals exhibit variation in time. How to represent the signal 10

Signal Representation Mathematically, a signal is represented as a function of an independent variable

Signal Representation Mathematically, a signal is represented as a function of an independent variable : time (t ). Thus, a signal is denoted by s (t ), x (t ), …. 11

Signal Representation • One way to show signals is by plotting them on a

Signal Representation • One way to show signals is by plotting them on a pair of perpendicular axes. – The vertical axis represents the value or strength of a signal. – The horizontal axis represents time. voltage time waveform 12

Classification of Signals • Signals can be classified as: – Analog and digital signals.

Classification of Signals • Signals can be classified as: – Analog and digital signals. – Periodic and aperiodic signals. – Simple and Composite Signals • Other classifications: continues or discrete time signals, even or odd signals. …etc 13

Analog and Digital signals • Analog signal: is a signal whose amplitude can take

Analog and Digital signals • Analog signal: is a signal whose amplitude can take on any value in a continues range. • Digital signal: is a signal whose amplitude can take on only a finite number of values. 14

Periodic and Aperiodic Signals • Periodic signal: – Completes a pattern within a measurable

Periodic and Aperiodic Signals • Periodic signal: – Completes a pattern within a measurable time frame, called a period, and repeats that pattern over subsequent identical periods. – The completion of one full pattern is called a cycle. • An aperiodic (nonperiodic) signal: – changes without exhibiting a pattern or cycle that repeats over time. 15

T 16

T 16

Simple and Composite Signals • Simple signal: is the signal that cannot be decomposed

Simple and Composite Signals • Simple signal: is the signal that cannot be decomposed into simpler signals e. g. the sinusoidal signal (sine or cosine waves). • Composite signal: is the signal that composed of multiple sinusoidal signals added together. 17

Example: Classify the following signals 18

Example: Classify the following signals 18

Sinusoidal Signals • Sinusoidal signals, based on sine and cosine functions. • Virtually every

Sinusoidal Signals • Sinusoidal signals, based on sine and cosine functions. • Virtually every other signal can be thought of as being composed of many different sine and cosine signals. 19

Sine Wave • A sine wave can be mathematically describe as g(t) = A

Sine Wave • A sine wave can be mathematically describe as g(t) = A sin (ωt + φ) where A is the peak amplitude ω is the angular frequency ω = 2πf f is frequency in Hertz , and φ is the phase. 20

Example • What is the peak amplitude, frequency ( in Hertz) , and period

Example • What is the peak amplitude, frequency ( in Hertz) , and period of the following wave m(t) = 10 sin (30πt) • If we have a signal x which is a cosine wave that has a 3 v peak amplitude, a 50 Hz frequency, and a π/2 period. Write this signal. 21

Peak Amplitude • The peak amplitude of a signal is the largest value it

Peak Amplitude • The peak amplitude of a signal is the largest value it takes, proportional to the energy it carries. – For electric signals, peak amplitude is normally measured in volts. 22

23

23

Period and Frequency Period refers to the amount of time, in seconds, a signal

Period and Frequency Period refers to the amount of time, in seconds, a signal needs to complete 1 cycle. Frequency refers to the number of periods (cycles) in 1 s. 24

Period and Frequency Note Frequency and period are the inverse of each other. Hertz

Period and Frequency Note Frequency and period are the inverse of each other. Hertz second 25

High frequency wave Low frequency wave 26

High frequency wave Low frequency wave 26

Period and Frequency • Period is formally expressed in seconds. • Frequency is formally

Period and Frequency • Period is formally expressed in seconds. • Frequency is formally expressed in Hertz (Hz), which is cycle per second. • Units of period and frequency are shown in the following table. 27

Examples A sine wave has a frequency of 60 Hz, what is the period

Examples A sine wave has a frequency of 60 Hz, what is the period of this signal in ms ? Express a period of 100 ms in microseconds? The period of a signal is 100 ms. What is its frequency in kilohertz? 28

More About Frequency Note Frequency is the rate of change with respect to time.

More About Frequency Note 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. 29

30

30

More About Frequency • What if a signal does not change at all? What

More About Frequency • What if a signal does not change at all? What if it maintains a constant voltage level for the entire time it is active? • What if a signal changes instantaneously? What if it jumps from one level to another in no time? 31

More About Frequency Note If a signal does not change at all, its frequency

More About Frequency Note If a signal does not change at all, its frequency is zero. If a signal changes instantaneously, its frequency is infinite. 32

Phase • The term phase describes the position of the waveform relative to time

Phase • The term phase describes the position of the waveform relative to time 0. – If we think of the wave as something that can be shifted backward or forward along the time axis, phase describes the amount of that shift. It indicates the status of the first cycle. 33

Three sine waves with the same amplitude and frequency, but different phases 34

Three sine waves with the same amplitude and frequency, but different phases 34

Phase is measured in degrees or radians. • A phase shift of 360° corresponds

Phase is measured in degrees or radians. • A phase shift of 360° corresponds to a shift of a complete period. • A phase shift of 180° corresponds to a shift of one-half of a period. • A phase shift of 90° corresponds to a shift of one-quarter of a period. 35

Example A sine wave is offset 1/6 cycle with respect to time 0. What

Example A sine wave is offset 1/6 cycle with respect to time 0. What is its phase in degrees and radians? Solution We know that 1 complete cycle is 360°. Therefore, 1/6 cycle is 36

Wavelength • Wavelength is another characteristic of a signal traveling through a transmission medium.

Wavelength • Wavelength is another characteristic of a signal traveling through a transmission medium. • Wavelength depends on both the frequency and the medium. • The wavelength is the distance a simple signal can travel in one period. • The wavelength is normally measured in micrometers (microns) instead of meters. 37

Wavelength • Wavelength can be calculated if one is given the propagation speed (the

Wavelength • Wavelength can be calculated if one is given the propagation speed (the speed of light) and the period (or frequency) of the signal where λ is the wavelength and c is the propagation speed. 38

Wavelength 39

Wavelength 39

Time and Frequency Domains • The time-domain plot shows changes in signal amplitude with

Time and Frequency Domains • The time-domain plot shows changes in signal amplitude with respect to time (it is an amplitude-versus-time plot). • A frequency-domain plot shows the only the peak amplitude and frequency of the signal. 40

 • A complete sine wave is represented by one spike. • The position

• A complete sine wave is represented by one spike. • The position of the spike shows the frequency and its height shows the peak amplitude. 41

Time and Frequency Domains • It is obvious that the frequency domain is easy

Time and Frequency Domains • It is obvious that the frequency domain is easy to plot and conveys the information that one can find in a time domain plot. • The advantage of the frequency domain is that we can immediately see the values of the frequency and peak amplitude. 42

The frequency domain is more compact and useful when we are dealing with more

The frequency domain is more compact and useful when we are dealing with more than one sine wave. 43

Example • Draw the time-domain and frequency-domain plots of a sine wave ( for

Example • Draw the time-domain and frequency-domain plots of a sine wave ( for only 1 second) with a maximum amplitude of 4 v, a frequency of 3 Hz , and a phase 270 44

Composite Signals According to Fourier analysis, any composite signal is a combination of simple

Composite Signals According to Fourier analysis, any composite signal is a combination of simple sinusoidal signals with different frequencies, amplitudes, and phases. A composite signal can be periodic or nonperiodic. 45

Composite Signals A periodic composite signal can be decomposed into a series of simple

Composite Signals A periodic composite signal can be decomposed into a series of simple sinusoidal signals with discrete frequencies (that have integer values 1, 2, 3, and so on) in the frequency domain. (Fourier series) A nonperiodic composite signal can be decomposed into a combination of an infinite number of simple sinusoidal signals with continuous frequencies in the frequency domain. (Fourier transform) 46

A composite periodic signal 47

A composite periodic signal 47

A nonperiodic composite signal Frequency domain 48

A nonperiodic composite signal Frequency domain 48

Example • If a periodic signal is decomposed into five sine waves with frequencies

Example • If a periodic signal is decomposed into five sine waves with frequencies of 100, 300, 500, 700, and 900 Hz. Draw the spectrum, assuming all components have a maximum amplitude of 10 V. 49

Bandwidth • The bandwidth term can be used in two different contexts with two

Bandwidth • The bandwidth term can be used in two different contexts with two different measuring values: – bandwidth in Hertz – bandwidth in bits per seconds 50

Signal Bandwidth in Hertz • The range of frequencies contained in a composite signal

Signal Bandwidth in Hertz • The range of frequencies contained in a composite signal is its bandwidth. • The bandwidth is normally a difference between two numbers, the lowest and highest frequencies contained in a signal. 51

Bandwidth of a periodic signal Bandwidth of a nonperiodic signal 52

Bandwidth of a periodic signal Bandwidth of a nonperiodic signal 52

Examples • If a periodic signal is decomposed into five sine waves with frequencies

Examples • If a periodic signal is decomposed into five sine waves with frequencies of 100, 300, 500, 700, and 900 Hz, what is its bandwidth? • A periodic signal has a bandwidth of 20 Hz. The highest frequency is 60 Hz. What is the lowest frequency? 53

Digital Signals • Information can be represented by a digital signal. Amplitude A digital

Digital Signals • Information can be represented by a digital signal. Amplitude A digital signal with two levels Time Amplitude Time A digital signal with four levels 54

Bit Rate • Most digital signals are nonperiodic, and thus period and frequency are

Bit Rate • Most digital signals are nonperiodic, and thus period and frequency are not appropriate characteristics. • Another tem – bit rate ( instead of frequency) is used to describe digital signals. • The bit rate is the number of bits sent in 1 s, expressed in bits per second (bps). • The bit interval is the time required to send one single bit. 55

1 s Bit interval Bit rate = 8 bps 1 s Bit rate =

1 s Bit interval Bit rate = 8 bps 1 s Bit rate = 16 bps 56

Digital Signal as a Composite Analog Signal • It should be know that a

Digital Signal as a Composite Analog Signal • It should be know that a digital signal with all its sudden changes is actually a composite signal having an infinite number of frequencies. In other word, the bandwidth of a digital signal is infinite. • Fourier analysis can be used to decompose a digital signal. 57

58

58

Any Questions ? 59

Any Questions ? 59