Documente Academic
Documente Profesional
Documente Cultură
Communications
Objectives
On completing this chapter, you should be
able to:
Analog Analog
Source Destination
Why Digital Communications?
Advantages Disadvantages
Vehicular Highway
Vehicular Traffic
Information Measure
Relative Entropy
Redundancy
Rate of Information
Example
A telephone touch-tone keypad has the
digits 0 to 9, plus the * and # keys. Assume
the probability of sending * or # is 0.005
and the probability of sending 0 to 9 is
0.099 each. If the keys are pressed at a rate
of 2 keys/s, compute the entropy and data
rate for this source.
Example
From the given table
Symbol Probability of Time required to
Occurrence P(xi) transmit the symbol
xi
x1 0.21 10 s
x2 0.14 15 s
x3 0.09 20 s
x4 0.11 30 s
x5 0.15 25 s
x6 0.18 15 s
Determine thexfollowing: 0.12 25 s
7
a. Information Measure of each symbol in bits, dits and nats
d. Redundancy
A physical quantity
measured in bit or
in dit.
I = log2n
Information Highway
I = Amount of information
Note: 1 dit = 3.32 bits n = No. of coding levels
Limits of Information Capacity
CBxt C = 2Blog2n
Where:
C = information capacity (bps)
B = bandwidth (Hz)
t = transmission time (s)
n = No. of coding levels
Shannons limit for info. capacity (1948)
C = B log2 (1 + S/N)
C = 3.32Blog (1 + S/N)
H = Ct
Where:
S/N = signal-to-noise ratio
t = time in seconds
Sample Problems
proportion to the ts ts
amplitude of the analog
signal at the time the
signal is sampled.
Sampling Pulse
It is also called as
pulse duration
modulation (PDM) or
pulse length modulation
PWM
(PLM)
PWM
Disadvantage:
The transmitter is powerful enough to handle maximum-
width pulses
Advantage:
It still works if synchronization between transmitter and
receiver fails
PWM
Generation:
Monostable multivibrator
PWM
Demodulation
Using an IC in which a signal emerges whose
amplitude at any time is proportional to the pulse width at
that time similar to class D amplifier
PPM
Analog Signal
The position of a
ts ts
constant-amplitude,
constant-width
pulse, within a
Sampling Pulse
prescribed time slot
is varied according
to the amplitude of
PPM
the sample of the
analog signal.
PPM
Disadvantage:
Dependent on transmitter-receiver synchronization
Advantage:
Requires constant transmitter power output
PPM
Generation:
Generate PWM, then, remove the leading edges and the
bodies of the PWM pulses
Demodulation:
flip-flop or bistable multivibrator
PAM
Analog Signal
The amplitude ts ts
of a constant
position, constant-
width pulse, is Sampling Pulse
varied according to
the amplitude of
the sample of the
analog signal. PAM
PCM
The only
digitally encoded
Analog Signal modulation
ts ts scheme.
The output
pulses are of fixed
Sampling Pulse
width and
amplitude and is
PCM binary as opposed
to PWM, PPM and
PAM.
Applications
PAM
Used as an intermediate form of modulation
with PSK, QAM and PCM and is seldom used by
itself
PWM and PPM
Are used in special purpose communications
systems mainly for military but are seldom
used for commercial digital transmission
PCM
Most prevalent form of pulse modulation and
used in public switched telephone network
Simplified BD of a Single-Channel Simplex PCM
System
PCM Transmitter
PAM Parallel
Data
Sample
BPF & Hold ADC P-S
Input
Sample pulse Conversion clock Line speed clock
Sampling Techniques
- Natural Sampling
- Flat-topped Sampling
Natural Sampling
The incoming
analog signal is low-
pass filtered and then
multiplied by pulse
train. It is when tops of
the sample pulses
retain their natural
shape during the
sample interval,
making it difficult for an
ADC to convert the
sample to a PCM code
Flat-topped Sampling
A sample-and-hold
circuit is used to keep the
amplitude of the sample
constant for the duration
of the pulse.
Aperture Error
an error introduced
when the amplitude of the
sampled signal changes
during sample pulse train
Natural v.s. Flat-top Sampling
Natural Flat-topped
Sampling Sampling
Pulse Pulse
Output Output
Waveform Waveform
Sample and Hold Circuit
Sampling pulse
+ +
Q1 PAM out
Analog input Z1 Z2
C1
Discussion:
Note:C
The FET
Aperture
storage
1acquisition
(Qis1the
) or
time
hold
Acquisition
acts
time
of
circuit.
the
as
should
Time
a%
capacitor
simple
be
the
very
analog
istime
short
called
tha
switch
to
FET
the
reduce
isA/D
and
on
provides distortion%
conversion
aperture a time
low because
impedance it is path
duringtothis
deposit
time that
thethe
analog
ADC
sample the
coverts voltage
sample across
voltage
capacitor
to PCMC1
Input and Output Waveform
Input waveform
Aperture time
Conversion time
Sample pulse Q1 Q1
On On
Capacitor Q1 Off Capacitor
charges discharges
Output Droop
waveform
Sample Problem
1. For the sample-hold-circuit, determine the largest
value of capacitor that can be used. Use an
output impedance for Z1 of 10 , an on
resistance for Q1 of 10 , an acquisition time of
10 s, a maximum peak-to-peak input voltage of
10 V, a maximum output current from Z1 of 10
mA and an accuracy of 1%.
Accuracy (%) Charge Time
10 2.3
1 4.6
0.1 6.9
0.01 9.2
Nyquist (1928) Sampling Theorem
The minimum sampling rate (fs) for a
given PCM system must be twice the highest
frequency of the analog input.
fs 2fa
Where:
2fs - fa
3fs - fa
f s - fa f s + fa
W/out Aliasing 2fs + fa
3fs + fa
Audio
0 fa fs 2fs 3fs Frequency
With Aliasing f s - fa f s + fa
2fs + fa 4fs - fa
falias = fs - fa
Where:
falias = the frequency of the aliasing distortion
fs = sampling rate
fa = the modulating (baseband) frequency
Solution to Aliasing:
Band pass filter before the sample-and-
hold circuit.
Effects of Aliasing
Without Aliasing
With Aliasing
X(n) Xq(n)
Sampler Quantizer Coder
1. Sampling
Conversion of a continuous-time signal into a discrete-
time signal
Taking samples of the continuous-time signal at
discrete-time instants
Sampling interval is T
Analog-to-Digital Conversion (ADC)
Analog signal Digital Signal
Xa(t)
X(n) Xq(n)
Sampler Quantizer Coder
2. Quantization
Conversion of a discrete time continuous valued signal
into a discrete-time, discrete valued digital signal xq(n)
Digital signal values are infinite set of possible values
The difference between xq(n) and x(n) [xq(n) - x(n)] is
called the quantization error
Analog-to-Digital Conversion (ADC)
Analog signal Digital Signal
Xa(t)
X(n) Xq(n)
Sampler Quantizer Coder
3. Coding
Each discrete value xq(n) is represented by a b-bit
binary sequence
Sampling of Analog Signals
Resolution
1 10 +2 + 1.5 V to + 2.5 V
1 01 +1 + 0.5 V to + 1.5 V
1 00 +0 + 0 V to + 0.5 V
0 00 -0 + 0 V to - 0.5 V
0 01 -1 - 0.5 V to - 1.5 V
0 10 -2 - 1.5 V to - 2.5 V
0 11 -3 - 2.5 V to - 3.5 V
Quantization Error (Qe)
A.k.a Quantization Noise (Qn)
110 +2V 2V
101 +1V
Analog input
100 +0V
000 -0V
-1V
001 -1V
010 -2V
011 -3V Sample pulse
111 +3V t1 t2 t3
110 +2V
101 +1V
Output PAM
100 +0V
000 -0V
001 -1V
Sample time Sample time Sample time
010 -2V
110 001 111
011 -3V
PCM codes
Reduced Qe
Analog input
Sample pulse
t1 t2 t3 tN
Output PAM
Linear Input v.s. Output Transfer Curve
Vout Vout
Analog signal
quantization error
Vin Vin
Maximum positive
Maximum negative
quantizing error
quantizing error
Quantized signal
Qe = LSB
Sample Problems
1. Determine the quantized level, quantization error
and PCM code using Three-bit sign-magnitude
(resolution of 1 V) PCM code for the analog
sample voltage of
a. +1.07 V
b. +2.6 V
c. -3.95 V
No. of PCM bits per Sample
Max. allowable input amplitude
Resolution
Dynamic Range
Dynamic Range (DR)
The ratio of the largest possible
magnitude (Vmax) to the smallest possible
magnitude (Vmin), other than zero, that can
be decoded by the DAC.
Mathematically:
Vmax
DR DR 2 1
n
Vmin
Where: DR = dynamic range (unitless or can be
expressed in dB) DR(dB) = 20 log (DR)
n = No. of bits in a PCM code, excluding
the sign bit
Vmax = maximum voltage magnitude that can
be discerned by the DACs in the receiver
Vmin = the quantum value (resolution)
Coding Efficiency
A numerical indication of how
efficiently a PCM code is utilized.
Mathematically:
Note:
No. of bits include the sign bit
Sample Problems
1. For a PCM system with following parameters,
determine: (a) minimum sample rate, (b)
minimum number of bits used in the PCM code,
(c) resolution, (d) maximum quantization error
and (e) coding efficiency.
Idle channel
noise
Classifications:
Level-at-a-time Coding
Digit-at-a-time Coding
Word-at-a-time Coding
Coding Methods
Level-at-a-time Coding
Compares the PAM signal to a ramp waveform
while the binary counter is being advanced at a
uniform rate
When the ramp waveform equals or exceeds the
king of coder
Coding Methods
Word-at-a-Time Coding
Word-at-a-time coders are flash coders and are
more complex
Logic circuits sense the highest threshold circuit
+5 dB
50dB 0 dB 0 dB 0 dB 50dB
DR DR
- 5 dB
- 10 dB -10 dB
- 10 dB
- 20 dB - 20 dB
- 15 dB
- 30 dB - 30 dB
Transmission
Input Output
Media
Common Forms:
Analog Companding
Analog Sample
BPF Compressor & Hold ADC P-S
Input
Sample pulse Conversion clock Line speed clock
Hold
S-P DAC Circuit
LPF Expander
Output
Where:
Vmax = Maximum uncompressed analog input amplitude
Vin = Amplitude of the input signal at a particular instant of time
= Parameter used to defined the amount of compression
Vout = Compressed output amplitude
-Law Compression Characteristics
=255
100
40
1.0
15
5
Note:
Relative output amplitude
Mathematically:
Sample Problems
1. Determine the 12-bit linear code, the
quantization error, the 8-bit compressed
code, the decoded 12-bit code, analog
output signal, the compression error,
digital compression error and total error for
a resolution of 0.008 V and analog sample
voltages of (a) +0.064 V, (b) -0.418 V, (c)
+9.726 V, and (d) -3.623 V.
Two Main Categories of Data Compression
1. Lossless Compression
Involves transmitting all the data in the original signal
but using fewer bits
2. Lossy Compression
Allows for some reduction in the quality of the
transmitted signal
Lossless Compression
Look for redundancies in the data which is a
technique called run-length encoding
Useful for facsimile (fax) transmission
Pulse Generator
Filter
Noise Generator
Encoding Techniques
Two main ways of generating the excitation signal:
2. Residual Excited Linear Predictive (RELP)
apply the inverse of the filter that will be used at the
receiver to the voice signal
the output of this filter is a signal that, when applied to
the receiver filter, will reproduce the original signal exactly
one method to represent values is using a codebook and
transmit the number if the closest codebook entry
the receiver looks up the codebook entry, generates the
corresponding signal, and uses it instead of the pulse and
noise generators
Inverse Lookup
Voice signal Filter Residual signal Table Excitation signal
PCM Line Speed
Is simply the data rate at which serial PCM bits
are clocked out onto the transmission lines
It is dependent on the sample rate and the
number of bits in the compressed PCM code.
Nyquist Rate:
R = 2B
Where: R = signaling rate = 1/T
Intersymbol Interference (ISI)
Happens when the ringing tails of several pulses
overlapped, thus interfering the with the major pulse lobe.
Energy in the form of spurious responses from the third
and fourth impulses from one pulse appears during the
sampling instant (T = 0) of another pulse.
Rectangular pulses will not remain rectangular in less than
an infinite bandwidth. The narrower the bandwidth, the
more rounded the pulses.
It causes crosstalk between channels that occupy
adjacent time slots in a time-division-mukltiplexed carrier
system. Special filters are called equalizers are inserted in
the transmission path to equalize the distortion for all
the frequencies, creating a uniform transmission medium
and reducing transmission impairments.
Intersymbol Interference (ISI)
Four Primary Causes
1. Timing Inaccuracies
Causes if the rate of
transmission does not
conform to the ringing
frequency designed into the
channel
2. Insufficient Bandwidth
When the bandwidth is
reduced, ringing frequency is
reduced, and ISI is more
likely to occur
Intersymbol Interference (ISI)
Four Primary Causes of ISI
3. Amplitude Distortion
Pulse Distortion results when the frequency
characteristics of a communications channel depart from
the normal or expected values. It occurs when the peaks are
reduced, causing improper ringing frequencies in the time
domain.
Amplitude Equalization compensation for pulse distortion
4. Phase Distortion
Occurs when frequency components undergo different
amounts of time delay while propagating through the
transmission medium
Special Delay Equalizers are placed in tranmission path to
compensate for the varying delays
Eye Pattern or Eye Diagram
is a convenient technique for determining the
effects of the degradations introduced into the
pulses as they travel to the regenerator
All waveforms are superimposed over adjacent
signaling intervals
Sample Eye Diagram
Vertical Hairs
represent decision time
Horizontal Hairs
represent decision level
Example:
If the opening of the eye pattern is 90% as shown in
the figure, find the ISI degradation.
Signal Power in Binary Digital Signals
Binary Digital Signals
a. when /T < 0.5
b. When /T = 0.5