Title: Data Transmission
1Data Transmission
2Lesson Outline
- Understand the properties a signal
- Explain the difference of Data vs Signal
- Understand the influence of attenuation, delay
distortion and noise on signal propagation - Appreciation of unit of decibel
3Position of the physical layer
McGraw-Hill
- The McGraw-Hill Companies, Inc., 2004
4To be transmitted, data must be transformed to
electromagnetic signals
Signals can be analogue or digital. Analogue
signals can have an infinite number of values in
a range Digital signals can have only a limited
number of values.
McGraw-Hill
- The McGraw-Hill Companies, Inc., 2004
5Signals
- Analogue signal
- Varies in a smooth way over time
- Digital signal
- Maintains a constant level then changes to
another constant level - Periodic signal
- Pattern repeated over time
- Aperiodic signal
- Pattern not repeated over time
6Analogue Digital Signals
7PeriodicSignals
8In data communication, we commonly use periodic
analogue signals and aperiodic digital signals.
McGraw-Hill
- The McGraw-Hill Companies, Inc., 2004
9A Sine Wave
s(t) A sin(2?ft ?)
McGraw-Hill
- The McGraw-Hill Companies, Inc., 2004
10Sine Wave
- Peak Amplitude - A
- maximum strength of signal
- In volts (V)
- Frequency - f
- Rate of change of signal
- Hertz (Hz) or cycles per second
- Period time for one repetition (T)
- T 1/f
- Phase - ? (in degree or radian)
- the position of the waveform relative to time
zero - How far from origin when voltage change from -ve
to ve
11Amplitude
McGraw-Hill
- The McGraw-Hill Companies, Inc., 2004
12Frequency 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.
13Period and frequency
McGraw-Hill
- The McGraw-Hill Companies, Inc., 2004
14Frequency and period are inverses of each other
15Table 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 (?s) 106 s megahertz (MHz) 106 Hz
Nanoseconds (ns) 109 s gigahertz (GHz) 109 Hz
Picoseconds (ps) 1012 s terahertz (THz) 1012 Hz
McGraw-Hill
- The McGraw-Hill Companies, Inc., 2004
16Example
Express a period of 100 ms in microseconds, and
express the corresponding frequency in kilohertz
17If a signal does not change at all, its frequency
is zero If a signal changes instantaneously, its
frequency is infinite
McGraw-Hill
- The McGraw-Hill Companies, Inc., 2004
18Relationships between different phases
McGraw-Hill
- The McGraw-Hill Companies, Inc., 2004
19Example
A sine wave is offset one-sixth of a cycle with
respect to time zero. What is its phase in
degrees and radians?
McGraw-Hill
- The McGraw-Hill Companies, Inc., 2004
20Sine wave examples
McGraw-Hill
- The McGraw-Hill Companies, Inc., 2004
21Sine wave examples (continued)
McGraw-Hill
- The McGraw-Hill Companies, Inc., 2004
22Wavelength
- Distance occupied by one cycle (in meters)
- ?
- Assuming signal velocity v
- ? vT
- ?f v
- c 3108 ms-1 (speed of light in free space)
23An analogue signal is best represented in the
frequency domain
McGraw-Hill
- The McGraw-Hill Companies, Inc., 2004
24Time and frequency domains
McGraw-Hill
- The McGraw-Hill Companies, Inc., 2004
25A single-frequency sine wave is not useful in
data communications we need to change one or
more of its characteristics to make it useful.
When we change one or more characteristics of a
single-frequency signal, it becomes a composite
signal made of many frequencies.
McGraw-Hill
- The McGraw-Hill Companies, Inc., 2004
26According to Fourier analysis, any composite
signal can be represented as a combination of
simple sine waves with different frequencies,
phases, and amplitudes.
McGraw-Hill
- The McGraw-Hill Companies, Inc., 2004
27Three odd harmonics
28Adding first three harmonics
29Frequency spectrum comparison
30Analogue and Digital Data Transmission
- Data
- Entities that convey meaning
- Signals
- Electric or electromagnetic (EM) representations
of data - Transmission
- Communication of data by propagation and
processing of signals
31Analogue and Digital Data
- Analogue
- Continuous values within some interval
- e.g. sound
- Digital
- Discrete values
- e.g. text, integers
32Analogue and Digital Signals
- Means by which data are propagated
- Analogue
- Continuously variable
- Speech range 100Hz to 7kHz
- Telephone range 300Hz to 3400Hz
- Video bandwidth 4MHz
- Digital
- Use two DC components
33Advantages Disadvantages of Digital
- Pro
- Cheaper
- Less susceptible to noise
- Con
- Greater attenuation
- Pulses become rounded and smaller
- Leads to loss of information
34Attenuation of Digital Signals
35Data vs Signal
Analogue
Analogue
Analogue
Analogue
36Analogue Transmission
- Analogue signal transmitted without regard to
content - May be analogue or digital data
- Attenuated over distance
- Use amplifiers to boost signal
- But this also amplifies noise
37Digital Transmission
- Concerned with content
- Integrity endangered by noise, attenuation etc.
- Repeaters used
- Repeater extracts bit pattern from received
signal and retransmits - Attenuation is overcome
- Noise is not amplified
38Advantages of Digital Transmission
- Digital technology
- Low cost LSI/VLSI technology (smaller)
- Data integrity
- Longer distances over lower quality lines
- Capacity utilization
- High bandwidth links economical
- High degree of multiplexing easier with digital
techniques - Security Privacy
- Encryption
39Transmission Impairments
- Signal received may differ from signal
transmitted - Analogue - degradation of signal quality
- Digital - bit errors
- Caused by
- Attenuation and attenuation distortion
- Delay distortion
- Noise
40Attenuation and Dispersion (Delay Distortion)
41Attenuation
- Signal strength falls off with distance
- Depends on type of medium
- Received signal strength
- must be enough to be detected
- must be sufficiently higher than noise to be
received without error - Attenuation is an increasing function of frequency
42Signal corruption
McGraw-Hill
- The McGraw-Hill Companies, Inc., 2004
43Delay Distortion
- Propagation velocity varies with frequency
- Different signal component travel at different
rate resulting in distortion
44Noise
- Additional unwanted signals inserted between
transmitter and receiver - e.g. thermal noise, crosstalk etc.
45Spectrum Bandwidth
- Spectrum
- range of frequencies contained in signal
- Bandwidth
- width of spectrum
- band of frequencies containing most of the energy
46Bandwidth
McGraw-Hill
- The McGraw-Hill Companies, Inc., 2004
47Example
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.
McGraw-Hill
- The McGraw-Hill Companies, Inc., 2004
48McGraw-Hill
- The McGraw-Hill Companies, Inc., 2004
49Example
A signal has a bandwidth of 20 Hz. The highest
frequency is 60 Hz. What is the lowest frequency?
McGraw-Hill
- The McGraw-Hill Companies, Inc., 2004
50Example
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?
McGraw-Hill
- The McGraw-Hill Companies, Inc., 2004
51A digital signal
52Figure 3.17 Bit rate and bit interval
53Example
A digital signal has a bit rate of 2000 bps. What
is the duration of each bit (bit interval)
McGraw-Hill
- The McGraw-Hill Companies, Inc., 2004
54A digital signal is a composite signal with an
infinite bandwidth
McGraw-Hill
- The McGraw-Hill Companies, Inc., 2004
55Baud rate and bit-rate
- bit rate is the number of bits transmitted per
second - baud rate is the number of signal units per
second required to represent bits - An important measure in data transmission
- Represents how efficiently we move data from
place to place - Equals bit rate divided by the number of bits
represented by each signal shift
56Baud rate and bit-rate (2)
2-level signal
VS
One signal element conveys 1 bit
57Channel capacity and Nyquist Bandwidth
- Given bandwidth B Hz, highest signal rate is 2B
- For binary signal, data rate supported by B Hz is
2B bps in a noiseless channel - Can be increased by using M signal levels
- C 2B log2M
58Example
- Assume voice channel (range 300-3400 Hz)
- Thus, bandwidth is 3100 Hz (i.e. B)
- This translates to capacity of 2B 6200 bps
- If M 8 signal levels (3-bit word), capacity
becomes 18,600 bps (2Blog2M)
59Decibels (dB)
- A measure of ratio between two signal levels
- Gain is given by
- GdB 10 log10 Pout dB
- Pin
- When gain is ve, this means loss or attenuation
- Example 1 Pin 100mW, Pout 1 mW
- Gain 10 log10 (1/100) -20 dB
- implies attenuation is 20 dB
60Shannon Capacity Formula
- This considers data rate, noise and error rate in
the channel - Faster data rate shortens each bit so burst of
noise affects more bits - At given noise level, high data rate means higher
error rate - Signal to noise ratio (SNR)
- Thus, Shannons formula is
- C B log2(1SNR)
- Represents theoretical max capacity!
61Example
- Assume spectrum of a channel is between 3 MHz and
4 MHz and the SNR is 24 dB - B 4 3 1 MHz
- SNRdB 24 dB 10log10(SNR)
- ? SNR 251
- Thus, C B log2(1SNR) 106 ? log2(1251)
- ? 8 ? 106 8 Mbps
62Example
Consider an extremely noisy channel in which the
value of the signal-to-noise ratio is almost
zero. In other words, the noise is so strong that
the signal is faint. For this channel the
capacity is calculated as
C B log2 (1 SNR) B log2 (1 0) B log2
(1) B ? 0 0
McGraw-Hill
- The McGraw-Hill Companies, Inc., 2004
63Example
We can calculate the theoretical highest bit rate
of a regular telephone line. A telephone line
normally has a bandwidth of 3000 Hz (300 Hz to
3300 Hz). The signal-to-noise ratio is usually
3162. For this channel the capacity is calculated
as
C B log2 (1 SNR) 3000 log2 (1 3162)
3000 log2 (3163) C 3000 ? 11.62 34,860 bps
McGraw-Hill
- The McGraw-Hill Companies, Inc., 2004
64Example
We have a channel with a 1 MHz bandwidth. The SNR
for this channel is 63 what is the appropriate
bit rate and signal level?
McGraw-Hill
- The McGraw-Hill Companies, Inc., 2004
65Summary
- Analogue vs Digital Transmission
- Transmission Impairments of a signal
- Nyquist Formula to estimate channel capacity in a
noiseless environment - Shannon Capacity Formula estimates the upper
limit of capacity with noise effect - Next Transmission Media