Digital Communication - Introduction
Digital Communication - Introduction
Communication System
Voice,
Video,
data
Source of Destination
Information Information
Transmitted Received
Signal Signal
Transmitter Channel Receiver
Communication System
Data Communication Terms
Data - entities that convey meaning, or
information
Signals - electric or electromagnetic
representations of data
Transmission - communication of data by
the propagation and processing of signals
Examples of Analog and Digital
Data
Analog
Video
Audio
Digital
Text
Integers
Analog Signal
Digital Signal
Analog Signals
A continuously varying electromagnetic wave that
may be propagated over a variety of media,
depending on frequency
Examples of media:
Copper wire media (twisted pair and coaxial cable)
Fiber optic cable
Atmosphere or space propagation
Analog signals can propagate analog and digital
data
Digital Signals
A sequence of voltage pulses that may be
transmitted over a copper wire medium
Generally cheaper than analog signaling
Less susceptible to noise interference
Suffer more from attenuation
Digital signals can propagate analog and
digital data
Analog Signaling
Digital Signaling
Time-Domain Concepts
Analog signal - signal intensity varies in a smooth
fashion over time
No breaks or discontinuities in the signal
Digital signal - signal intensity maintains a
constant level for some period of time and then
changes to another constant level
Periodic signal - analog or digital signal pattern
that repeats over time
s(t +T ) = s(t )
where T is the period of the signal
Time-Domain Concepts
Aperiodic signal - analog or digital signal pattern
that doesn't repeat over time
Peak amplitude (A) - maximum value or strength
of the signal over time; typically measured in volts
Frequency (f )
Rate, in cycles per second, or Hertz (Hz) at
C 2 B log 2 M
6
8 10 2 10 log 2 M
6
4 log 2 M
M 16
TRANSMISSION MEDIA
Communication Channels
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Y0011011 0000X0XX 12 3 4 5 6 78
8 BITS PER CHL
ALTERNATE
EACH BIT = 488 n sec
FAW 2 FRAMES FRAMES 1 TO 15
Y10XXXXX 12 3 4 5 6 78
DIGIT 1 TO 4 FOR DIGIT 5 TO 8 FOR
CHL 1 TO 15 CHL 16 TO 30
SIGNALLING SIGNALLING 1 = LOSS OF MULTI FRAME
1 = LOSS OF FRAME ALIGNMENT ALIGNMENT
Spectrum & Bandwidth
Spectrum
range of frequencies contained in signal
Absolute bandwidth
width of spectrum
Effective bandwidth
Often just bandwidth
PULSE
PULSE CODE
AMPLITUDE
MODULATED
MODULATED SIGNAL
SAMPLING
(PAM) SIGNAL
CLOCK (PCM)
QUANTIZER DIGITIZED
SAMPLING VOICE
AND
CIRCUIT SIGNAL
COMPANDER
ANALOG
VOICE VOICE BAND
SIGNAL FILTER
PULSE MODULATION
Signal
PAM
PWM
PPM
CODEC
• SAMPLING
• QUANTIZING
• ENCODING
Analog Digital
signal signal
SAMPLER QUANTIZER ENCODER
Pulse Code Modulation(PCM)
If a signal is sampled at regular intervals at a
rate higher than twice the highest signal
frequency, the samples contain all the
information of the original signal
(Proof - Stallings appendix 4A)
Voice data limited to below 4000Hz
Require 8000 sample per second
Analog samples (Pulse Amplitude Modulation,
PAM)
Each sample assigned digital value
SAMPLING THEOREM
STATEMENT :- Any signal with a bandwidth of W can be completely reconstructed if it
is sampled at a rate of 2W.
Original
waveform
samples
Capacitor
discharges
Capacitor
charges
Thus by sampling first at the transmitter and then passing the samples through a LPF the original
waveform can be completely reconstructed
EFFECT OF UNDER SAMPLING
WRONGLY
ORIGINAL RECONSTRUCTED
SIGNAL AT 3 Hz SAMPLES AT LESS SIGNAL AT 1 Hz
SAMPLING RATE AT 2 Hz
8
IF WE CHOOSE 8 BIT PCM, THEN THE TOTAL No. OF LEVELS ARE 2 = 256
HENCE THE BIT RATE OF EACH SPEECH CHANNEL IN 8 BIT PCM IS 64 kbps
DIAGRAMMATIC REPRESENTATION OF 3 BIT PCM
4
CODE No. 7 3.5
3
CODE No. 6 2.5
2
CODE No. 5 1.5
1
CODE No. 4 0.5
0
CODE No. 3 -0.5
-1
CODE No. 2 -1.5
-2
CODE No. 1 -2.5
-3
CODE No. 0 -3.5
-4
THIS MEANS THAT THE STEP SIZE IS MAINTAINED SMALL FOR THE REGION
WHERE THE SIGNAL AMPLITUDE IS SMALL. CORRESPONDINGLY, THE STEP
SIZE FOR THE LARGE SIGNALS ARE MADE LARGE.
THIS PROCESS OF VARYING THE STEP SIZE DURING THE ENCODING PROCESS
IS CALLED COMPRESSING AND THE CORRESPONDING RECEIVER WILL DO
EXPANDING TO REVERSE THE DISTORTION INTRODUCED AT THE ENCODER.
THIS PROCESS IS CALLED COMPANDING.
THIS TYPE PCM IS KNOWN AS NON-LINEAR OR LOGRITHMIC PCM
NON-LINEAR QUANTIZATION
40dB 40dB
20dB 20dB
m(t) ERROR
DIFF AMP QUANTISER
~
m(t)
INTEGRAT DE-
OR QUANTISER
IT MAY BE NOTED THAT EACH STEP IN THIS DPCM IS 0.5V WHEREAS THE STEP
SIZE IN THE CORRESPONDING PCM SYSTEM WAS 1V.
ADAPTIVE DPCM OR ADPCM
IN THIS SYSTEM THE SPEECH WAVEFORM IS PREDICTED AND THE
DIFFERENCE BETWEEN THE PREDICTED VALUE AND THE PREVIOUS VALUE IS
ENCODED AND SENT.
THE ADVANTAGE OF THIS SYSTEM IS THAT DUE TO PREDICTION THE ERROR
MAGNITUDE REDUCES DRASTICALLY AND THUS THE BANDWIDTH ALSO
REDUCES CORRESPONDINGLY.
ERROR
m(t) DIFF AMP QUANTISER
~ m(t)
ADAPTIVE DE-
PREDICTOR QUANTISER
m(t) PULSE
MOD
COMPARATOR
~
m(t)
D/A UP/DN
CONVERTOR COUNTER
~
V(n) = +1 if m(t) >= m(t)
V(n) = -1 if m(t) < ~
m(t)
GRAPHICAL REPRESENTATION OF DELTA MODULATION
AND THE PROBLEMS THEREIN
SLOPE
OVERLOAD
~
m(t)
m(t)
PROBLEM DUE TO
SMALL STEP SIZE
time
PROBLEMS IN DELTA MODULATION
THE MAJOR PROBLEMS OF DELTA MODULATION ARE :-
(a) SLOPE OVERLOAD WHICH RESULTS WHEN THE SLOPE OF THE SIGNAL EXCEEDS THE
SLOPE OF THE DELTA MODULATOR. THIS PROBLEM CAN BE OVERCOME BY USE OF A
LARGE STEP SIZE.
(b) SMALL SIGNAL VARIATIONS OF THE SIGNAL RESULT IN ALTERNATE 1’s AND 0’s WHICH
DURING RECONSTRUCTION, WILL RESULT IN A dc LIKE SIGNAL. THIS PROBLEM CAN BE
OVERCOME BY USE OF A SMALL STEP SIZE.
THESE CONFLICTING DEMANDS OF A LARGE STEP SIZE AND SMALL STEP SIZE CAN BE
OVERCOME BY USE OF SPECIAL DELTA MODULATOR WHICH
- USES A SMALL STEP SIZE WHEN THE SIGNAL VARIATIONS ARE SMALL
- USES A LARGE STEP SIZE WHEN THE SIGNAL VARIATIONS ARE LARGE
PULSE
GENERATOR
m(t) DIFFERENCE
MODULATOR
AMPLIFIER
~
m(t)
VARIABLE
INTEGRATOR
GAIN AMP
SQUARE LAW
DEVICE
VARIABLE STEP SIZE OF ADM
1
1
VARIABLE STEP SIZE 0 1 0
AT THE INPUT OF THE
INTEGRATOR 0
1
DM OUTPUT
1 0
P I * R
2
THE DECIBEL
The decibel is widely used in
transmission system
The decibel is a unit that describes a
ratio. It is logarithmic with base 10
dB = 10 log (P2/P1)
Where P1is input level & P2 is output
level
dB
1W 2W
Net work
Gain (dB)=10 log (output/input) = 10 log
2/1
= 10(0.30103) = 3.0103
approximately 3 dB gain
dB
RATIO dB
2 3
3 5
10 10
4 = 2*2 ?
5 = 10/2 ?
80 = 2*2*2*10 ?
500 = 5*100 ?
1000/2
.001=1/1000 ?
0.02 = 2/100 ?
dB
RATIO dB
2 3
3 5
10 10
4 = 2*2 3+3 = 6
5 = 10/2 10 – 3 =7
80 = 2*2*2*10 3+3+3+10 = 19
500 = 5*100 7 +20 = 27
1000/2 30 – 3 =27
.001 = 1/1000 – 30
0.02 = 2/100 3 - 20 =-17
dB
RATIO dB
10 10
100 20
1000 30
10,000 40
0.1 -10
0.01 -20
0.001 -30
0.0001 -40
BASIC DERIVED DECIBEL
UNIT
( E 2 / 600) ( E 2 / 150)
Error =
Error in dB = 10 log( E 2 / 600) 10 log( E 2 / 150)
10 log(150 / 600) 6 dB
CORRECTION FACTOR
Thus the correction factor = +6
dB
4 mw ?
-12dB +35 dB -10dB
?
1w Net work 27 dB
loss
10 w Network 27 dB ?
gain
ZERO TRANSMISSION LEVEL
POINT (ZTLP)
ZTLP – it is the point in the system at
which the standard test tone has an
absolute power of 1mw or 0 dBm
It is a reference level for the system
Generally situated in the trunk
exchange at the transmit end of a long
haul system
RELATIVE TRANSMISSION
LEVEL(dBr)
The level of any point in the system
expressed in dB relative to ZTLP is
referred to as dBr of that point
E.g. –33 dBr point in the system will be
33 dB below the ZTLP
RELATIVE POWER
LEVEL(dBmo)
The term dBmo is a measure of power at any
dBr point with reference to 0 dBm at the
ZTLP
dBmo = dBm - dBr
E. g. A tone of +36 dBm measured at +19
dBr transmission level point is equivalent to
+17 dBmo
A tone of +17 dBmo is equivalent to +7 dBm
measured at – 10 dBr point
NOISE MEASURING UNITS
The interfering effect of noise on
speech telephony is a function of
response of human ear to specific
frequencies in the voice channel
1000Hz tone at –90 dBm was chosen as
reference
Any level below -90 is not ordinarily
audible
dBrn
Western electric 144 hand set used
1KHz at –90 dBm taken as reference
0 dBrn = -90 dBm at 1000 Hz
+90 dBrn = 0 dBm or 1 mW
Weighing net work provides 8 dB
attenuation at 3KHz band of white noise
dBrn = dBm + 82 for white noise of 3 KHz
dBa
dBa – stand for dB reference noise adjusted
Western electric w-3 type F1-A hand set
used
1000 Hz at –85 dBm taken as reference
0 dBa = - 85 dBm at 1KHz
Weighing net work provides 3 dB
attenuation when subjected to 3 KHz band
of white noise
dBa = dBrn – 5 for 1KHz tone
= dBm +82 for white noise of 3 KHz band
dBrnc
Western electric type 150 hand set used
1000Hz at – 90 dBm taken as reference