Signal Encoding - PowerPoint PPT Presentation

1 / 69
About This Presentation
Title:

Signal Encoding

Description:

Figure 3.1 Comparison of analog and digital signals. Based on Data Communications and Networking ... Cheaper in price. Less susceptible to noise interference ... – PowerPoint PPT presentation

Number of Views:98
Avg rating:3.0/5.0
Slides: 70
Provided by: ValuedGate992
Learn more at: http://www.cs.ucf.edu
Category:

less

Transcript and Presenter's Notes

Title: Signal Encoding


1
Signal Encoding
  • Rong Wang
  • CGS3285
  • Spring 2004

2
Recommended Reading
  • From textbooks
  • Chapter 2 of Data Communications and Networking,
    3rd Edition, Behrouz A. Forouzan (ISBN
    0-07-251584-8)
  • Page 7375 of Data Communications From Basics to
    Broadband, 3rd Edition by William J. Beyda (ISBN
    0-13-096139-6)
  • From references
  • Chapter 5 of Data and Computer Communications,
    7th Edition,
  • William Stallings (ISBN0-13-100681-9)

3
Note
To be transmitted, data must be transformed to
electromagnetic signals.
4
3.1 Analog and Digital
Analog and Digital Data Analog and Digital
Signals Periodic and Aperiodic Signals
5
Basic Context
  • Data Entities that convey meanings, or
    information
  • Signals- Electric or electromagnetic
    representations of data
  • Signaling Physical propagation of the signal
    along a suitable medium
  • Transmission Communication of data by the
    propagation and processing of signals

6
Analog and Digital Data
  • Analog data
  • Take on continuous values in some interval
  • e.g. sound, video
  • Digital data
  • Take on discrete values
  • e.g. text, integers

7
Note
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 of
values.
8
Figure 3.1 Comparison of analog and digital
signals
9
Analog and Digital Signals
  • Analog Signal
  • An continuously varying electromagnetic wave that
    may be propagated over a variety of media (e.g.,
    twisted pair or coaxial cable, atmosphere),
    depending on spectrum.
  • Digital Signal
  • An sequence of voltage pulses that may be
    transmitted over a wire medium, e.g., a constant
    positive voltage level may represent binary 0 and
    a constant negative voltage level may represent
    binary 1.
  • Advantages of digital signal over analog signal
  • Cheaper in price
  • Less susceptible to noise interference
  • Disadvantages of digital signal over analog
    signal
  • Suffer more from attenuation
  • Pulses become rounded and smaller
  • Leads to loss of information

10
Note
In data communication, we commonly use periodic
analog signals and aperiodic digital signals.
11
Conversion of Voice Input to Analog Signal
12
Conversion of PC Input to Digital Signal
13
Data and Signals
  • Usually use digital signals for digital data and
    analog signals for analog data
  • Can use analog signal to carry digital data
  • Modem
  • Can use digital signal to carry analog data
  • Compact Disc audio

14
Analog Signals Carrying Analog and Digital Data
15
Digital Signals Carrying Analog and Digital Data
16
3.2 Analog Signals
Sine Wave Phase Examples of Sine Waves Time and
Frequency Domains Composite Signals Bandwidth
17
Figure 3.2 A sine wave
18
Figure 3.3 Amplitude
19
Note
Frequency and period are inverses of each other.
20
Figure 3.4 Period and frequency
21
Table 3.1 Units of periods and frequencies
Unit Equivalent Unit Equivalent
Seconds (s) 1 s hertz (Hz) 1 Hz
Milliseconds (ms) 103 s kilohertz (KHz) 103 Hz
Microseconds (ms) 106 s megahertz (MHz) 106 Hz
Nanoseconds (ns) 109 s gigahertz (GHz) 109 Hz
Picoseconds (ps) 1012 s terahertz (THz) 1012 Hz
22
Example 1
Express a period of 100 ms in microseconds, and
express the corresponding frequency in kilohertz.
Solution?
From Table 3.1 we find the equivalent of 1 ms.We
make the following substitutions 100 ms 100 ?
10-3 s 100 ? 10-3 ? 106 ms 105 ms Now we
use the inverse relationship to find the
frequency, changing hertz to kilohertz 100 ms
100 ? 10-3 s 10-1 s f 1/10-1
Hz 10 ? 10-3 KHz 10-2 KHz
23
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.
24
Note
If a signal does not change at all, its frequency
is zero. If a signal changes instantaneously, its
frequency is infinite.
25
Note
Phase describes the position of the waveform
relative to time zero.
26
Figure 3.5 Relationships between different
phases
27
Figure 3.6 Sine wave examples
28
Figure 3.6 Sine wave examples (continued)
29
Figure 3.6 Sine wave examples (continued)
30
Note
An analog signal is best represented in the
frequency domain.
31
Figure 3.7 Time and frequency domains
32
Figure 3.7 Time and frequency domains
(continued)
33
Figure 3.7 Time and frequency domains
(continued)
34
Note
A single-frequency sine wave is not useful in
data communications we need to change one or
more of its characteristics to make it useful.
35
Note
When we change one or more characteristics of a
single-frequency signal, it becomes a composite
signal made of many frequencies.
36
Note
According to Fourier analysis, any composite
signal can be represented as a combination of
simple sine waves with different frequencies,
phases, and amplitudes.
37
Figure 3.8 Square wave
38
Figure 3.9 Three harmonics
39
Figure 3.10 Adding first three harmonics
40
Figure 3.11 Frequency spectrum comparison
41
Figure 3.12 Signal corruption
42
Note
The bandwidth is a property of a medium It is
the difference between the highest and the lowest
frequencies that the medium can satisfactorily
pass.
43
Figure 3.13 Bandwidth
44
Example 3
If a periodic signal is decomposed into five sine
waves with frequencies of 100, 300, 500, 700,
and 900 Hz, what is the bandwidth? Draw the
spectrum, assuming all components have a maximum
amplitude of 10 V.
Solution ?
B fh - fl 900 - 100 800 Hz The spectrum
has only five spikes, at 100, 300, 500, 700, and
900 (see Figure 13.4 )
45
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 fh - fl 20 60 - fl fl 60 - 20 40 Hz
46
Example 5
A signal has a spectrum with frequencies between
1000 and 2000 Hz (bandwidth of 1000 Hz). A medium
can pass frequencies from 3000 to 4000 Hz (a
bandwidth of 1000 Hz). Can this signal faithfully
pass through this medium?
Solution ?
The answer is definitely no. Although the signal
can have the same bandwidth (1000 Hz), the range
does not overlap. The medium can only pass the
frequencies between 3000 and 4000 Hz the signal
is totally lost.
47
3.3 Digital Signals
Bit Interval and Bit Rate As a Composite Analog
Signal Through Wide-Bandwidth Medium Through
Band-Limited Medium Versus Analog
Bandwidth Higher Bit Rate
48
Figure 3.16 A digital signal
49
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 106 ms 500 ms
50
Figure 3.17 Bit rate and bit interval
51
Figure 3.18 Digital versus analog
52
Note
A digital signal is a composite signal with an
infinite bandwidth.
53
Table 3.12 Bandwidth Requirement
Bit Rate Harmonic 1 Harmonics 1, 3 Harmonics 1, 3, 5 Harmonics 1, 3, 5, 7
1 Kbps 500 Hz 2 KHz 4.5 KHz 8 KHz
10 Kbps 5 KHz 20 KHz 45 KHz 80 KHz
100 Kbps 50 KHz 200 KHz 450 KHz 800 KHz
54
Note
The bit rate and the bandwidth are proportional
to each other.
55
3.4 Analog versus Digital
Low-pass versus Band-pass Digital
Transmission Analog Transmission
56
Figure 3.19 Low-pass and band-pass
57
Note
The analog bandwidth of a medium is expressed in
hertz the digital bandwidth, in bits per second.
58
Note
Digital transmission needs a low-pass channel.
59
Note
Analog transmission can use a band-pass channel.
60
3.6 Transmission Impairment
Attenuation Distortion Noise
61
Figure 3.20 Impairment types
62
Attenuation of Digital Signals
  • Concerned with content
  • Integrity endangered by noise, attenuation etc.
  • Repeaters used
  • Repeater receives signal
  • Extracts bit pattern
  • Retransmits
  • Attenuation is overcome
  • Noise is not amplified

63
Attenuation of Analog Signal
  • Analog signal transmitted without regard to
    content
  • May be analog or digital data
  • Attenuated over distance
  • Use amplifiers to boost signal
  • Also amplifies noise

64
Figure 3.23 Distortion
65
Figure 3.24 Noise
66
3.7 More About Signals
Throughput Propagation Speed Propagation
Time Wavelength
67
Figure 3.25 Throughput
68
Figure 3.26 Propagation time
69
Figure 3.27 Wavelength
Write a Comment
User Comments (0)
About PowerShow.com