Introduction - Digital Transmission
Introduction - Digital Transmission
2
Communication
Main purpose of communication is to transfer
information from a source to a recipient via a
channel or medium.
Basic block diagram of a communication system:
3
Block diagram of communication
system
Source: analog or digital
Transmitter: transducer, amplifier, modulator,
oscillator, power amp., antenna
Channel: e.g. cable, optical fibre, free space
Receiver: antenna, amplifier, demodulator,
oscillator, power amplifier, transducer
Recipient: e.g. person, (loud) speaker, computer
4
Types of information
• Voice, data, video, music, email etc.
5
Information Representation
Communication system converts information into
electrical electromagnetic/optical signals appropriate
for the transmission medium.
Analog systems convert analog message into signals
that can propagate through the channel.
Digital systems convert bits(digits, symbols) into
signals
Computers naturally generate information as characters/bits
Most information can be converted into bits
Analog signals converted to bits by sampling and quantizing
(A/D conversion)
6
The basic principle and theories of
Digital communications system
7
Formatting To ensure that message (source signal) in compatible with digital
processing
- To transform from source information to digital signal
Source coding - Data compression
Baseband Transfer digit to waveform that are compatible to the channel
signaling
Equalization Ideal transmission ( non distorting) transmission characteristics over
channel
Bandpass Information signal is converted to sinusoidal waveform for digital
modulation
Channel coding Signal transformation designed to improve com performance
Synchronization Synchronize transmitter and receiver
Multiplexing Multiple signal to share one medium
Spreeding which a signal (e.g. an electrical, electromagnetic, or acoustic signal)
generated with a particular bandwidth is deliberately spread in the
frequency domain resulting in a signal with a wider bandwidth
Encryption For privacy and authentication
8
Basic Digital Communication
Transformations
Formatting/Source Coding
Transforms source info into digital symbols
(digitization)
Selects compatible waveforms (matching
function)
Introduces redundancy which facilitates
accurate decoding despite errors
9
It is essential for reliable
communication
Modulation/Demodulation
Modulation is the process of modifying the info
signal to facilitate transmission
Demodulation reverses the process of
modulation. It involves the detection and
retrieval of the info signal
Types
Coherent: Requires a reference info for detection
Noncoherent: Does not require reference phase
information
10
Basic Digital Communication
Transformations
Coding/Decoding
Translating info bits to transmitter data symbols
Techniques used to enhance info signal so that
they are less vulnerable to channel impairment
(e.g. noise, fading, jamming, interference)
Waveform Coding
Produces new waveforms with better performance
Structured Sequences
11
Why digital
The ease with which digitals, compared with
analog signals are regenerated.
The shape of waveform is affected by two
mechanism
1. Distorting affect on ideal pulse
• All transmission lines and circuits have some nonideal
frequency transfer function
2. Unwanted electrical noise or other interference further
distorts the pulse waveform
Still reliably identified,
- the pulse is amplified
- Reborn / regenerated Regenerative repeaters
12
13
Why digital
14
Why digital
15
Why digital
16
Why digital
18
Disadvantages
Requires reliable “synchronization”
Requires A/D conversions at high rate
Requires larger bandwidth
Nongraceful degradation
Performance Criteria
Probability of error or Bit Error Rate
19
Goals in Communication System
Design
To maximize transmission rate, R
To maximize system utilization, U
To minimize bit error rate, P e
To minimize required systems bandwidth, W
To minimize system complexity, C x
To minimize required power, E b /N o
20
What is Digital Transmission ?
• Digital is a data technology that uses discrete
(discontinuous) values.
• Digital Transmission deals with the transmission of
digital data in a reliable and efficient manner.
Simplified Data Communications
Model
22
Frequency, Spectrum and
Bandwidth
Time domain concepts
• Continuous signal
- Varies in a smooth way over time
• Discrete signal
- Maintains a constant level then changes to another constant
level
• Periodic signal
- Pattern repeated over time
• Aperiodic signal
- Pattern not repeated over time
23
Continuous & Discrete Signals
24
Periodic
Signals
25
Various Sine Waves
26
Wavelength
Distance occupied by one cycle
Distance between two points of corresponding
phase in two consecutive cycles
Symbol = (m/s)
Assuming signal velocity v
= v/f
f = v
c = 3*108 ms-1 (speed of light in free space)
27
Frequency Domain Concepts
◊ Signal usually made up of many frequencies
◊ Components are sine waves
◊ Can be shown (Fourier analysis) that any signal
is made up of component sine waves
◊ Can plot frequency domain functions
28
Addition of
Frequency
Components
29
Frequency
Domain
30
Spectrum & Bandwidth
◊ Spectrum
- range of frequencies contained in signal
◊ Absolute bandwidth
- width of spectrum
◊ Effective bandwidth
- Often just bandwidth
- Narrow band of frequencies containing most of the
energy
◊ DC Component
- Component of zero frequency
31
Signal with DC Component
Non-zero
32
Data Rate and Bandwidth
Any transmission system has a limited band of
frequencies
This limits the data rate that can be carried
33
Analog & Digital Data Transmission
Data
- Entities that convey meaning
Signals
- Electric or electromagnetic representations of data
Transmission
- Communication of data by propagation and
processing of signals
34
Data
Analog
- Continuous values within some interval
- e.g. sound, video
Digital
- Discrete values
- e.g. text, integers
35
Acoustic Spectrum (Analog)
36
Signals
Means by which data are propagated
Analog
- Continuously variable
Various media such as wire, fiber optic, space
Speech bandwidth 100Hz to 7kHz
- Telephone bandwidth 300Hz to 3400Hz
- Video bandwidth 4MHz
Digital
- Use two DC components
37
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
38
Analog Signals Carrying Analog
and Digital Data
39
Digital Signals Carrying Analog
and Digital Data
40
Analog Transmission
Analog signal transmitted without regard to
content
May be analog or digital data
Attenuated over distance
Use amplifiers to boost signal
Also amplifies noise
41
Digital Transmission
Concerned with content
Integrity endangered by noise, attenuation etc.
Regenerative Repeaters used
Repeater receives signal, Extracts bit pattern
and Retransmits
Attenuation is overcome
Noise is not amplified
42
Transmission Impairments
Signal received may differ from signal
transmitted
Analog - degradation of signal quality
Digital - bit errors
Caused by
- Attenuation and attenuation distortion
- Delay distortion
- Noise
43
Attenuation
Signal strength falls off with distance
Depends on 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
44
Delay Distortion
Only in guided media
Propagation velocity varies with frequency
45
Noise (1)
Additional signals inserted between transmitter
and receiver
Thermal
- Due to thermal agitation of electrons
- Uniformly distributed
- White noise
Intermodulation
- Signals that are the sum and difference of original
frequencies sharing a medium
46
Noise (2)
Crosstalk
- Signal from one line is picked up by another
Impulse
- Irregular pulses or spikes
- e.g. External electromagnetic interference
- Short duration
- High amplitude
47
Channel Capacity
Data rate
- In bits per second
- Rate at which data can be communicated
Bandwidth
- In cycles per second or Hertz
- Constrained by transmitter and medium
48
Digital Transmission Impairments
Data can be corrupted during transmission.
49
Digital Bit Error
When digital data is transmitted over a digital
link, errors in transmission can occur due to
external factors such as noise.
In many cases it is necessary to be able to
detect errors and correct them.
This requires special codes known as error
protecting codes.
50
Note:
52
Types of Error
Burst Error
53
Note:
57
Note:
60
Burst error is most likely to occur in serial
transmission.
61
Section Review
62
Detection
Error detection uses the concept of
redundancy, which means adding extra
bits for detecting errors at the
destination.
Redundancy
Even Parity Concept
In parity check, a parity bit is added to
every data unit so that the total number
of 1s is even
(or odd for odd-parity).
Example 1
Suppose the sender wants to send the word world. In
ASCII, the five characters are coded as
1110111 1101111 1110010 1101100 1100100
The following shows the actual bits sent
Example 2
Now suppose the word world in Example 1 is received by
the receiver without being corrupted in transmission.
11101110 11011110 11100100 11011000
11001001
Example 3
Now suppose the word world in Example 1 is corrupted
during transmission.
11111110 11011110 11101100 11011000
11001001
Simple parity check can detect all
single-bit errors. It can detect burst
errors only if the total number of errors
in each data unit is odd.
Two Dimensional Parity
Example 4
Suppose the following block is sent:
10101001 00111001 11011101 11100111
10101010
However, it is hit by a burst noise of length 8, and some
bits are corrupted.
In two-dimensional parity check, a
block of bits is divided into rows and a
redundant row of bits is added to the
whole block.
A cyclic redundancy check (CRC) is an error-detecting code commonly
used in digital networks and storage devices to detect accidental changes
to raw data
• Blocks of data entering these systems get a short check value
attached, based on the remainder of a polynomial division of their
contents;
• on retrieval the calculation is repeated, and corrective action can be
taken against presumed data corruption if the check values do not
match.
• CRCs are so called because the check (data verification) value is a
redundancy (it expands the message without adding information and
the algorithm is based on cyclic codes.
• CRCs are popular because they are simple to implement in binary
hardware, easy to analyze mathematically, and particularly good at
detecting common errors caused by noise in transmission channels.
CRC Generator and Checker
Binary Division in a CRC Generator
Binary Division in a CRC Generator
Polynomial
Polynomial Representing a
Divisor
Polynomial
Table 7.1 Standard polynomials
It is obvious that we cannot choose x (binary 10) or x2 + x
(binary 110) as the polynomial because both are divisible
by x. However, we can choose x + 1 (binary 11) because
it is not divisible by x, but is divisible by x + 1. We can
also choose x2 + 1 (binary 101) because it is divisible by
x + 1 (binary division).
Example 6
The CRC12
x12 + x11 + x3 + x + 1
which has a degree of 12, will detect all burst errors
affecting an odd number of bits, will detect all burst
errors with a length less than or equal to 12, and will
detect, 99.97 percent of the time, burst errors with a
length of 12 or more.
Checksum
85
checksum
A checksum or hash sum is a fixed-size datum
computed from an arbitrary block of digital data
for the purpose of detecting accidental errors
that may have been introduced during its
transmission or storage.
The integrity of the data can be checked at any
later time by recomputing the checksum and
comparing it with the stored one. If the
checksums match, the data was likely not
accidentally altered.
86
Checksum
Data Unit and Checksum
The sender follows these steps:
• The unit is divided into k sections, each of n bits.
Suppose the following block of 16 bits is to be sent using a
checksum of 8 bits.
10101001 00111001
Example 8
Now suppose the receiver receives the pattern sent in Example 7
and there is no error.
10101001 00111001 00011101
Further Reading
Lathi, B.P (2001). Modern Digital and Analog
Communications Systems, (3rd ed.). New York:
Oxford University Press.
Web site
93