Beruflich Dokumente
Kultur Dokumente
DIGITAL COMMUNICATION
1.0 INTRODUCTION:
COMMUNICATION: Communication is process of transferring message or information from one place to
another.
ANALOG COMMUNICATION:- It is the type of communication in which the message or information
signal to be transmitted is analog in nature. This means that in analog communication, the modulating signal is
an analog signal.
DIGITAL COMMUNICATION:- In digital communication, the message signal to be transmitted is digital in
nature. This means that digital communication involves the transmission of information in digital form.
Analog and digital signals:
SIGNAL:- It is a physical quantity which varies with time either continuously or discretely.Signals which are
representing in many forms in which it is divided into analog and digital form.
Analog signals:
Analog signals are in the form of continuousvariable such as electric current. An analog signal has
infinitely many levels of intensity over a period of time. As the wave moves from
Value A to value B, it passes through and includes an infinite number of values along its path.
The simplest way to show signals is by plotting them on a pair of perpendicular axes. The vertical axis
represents the value or strength of a signal. The horizontal axis represents time. The below Figure illustrates an
analog signal and a digital signal. The curve representing the analog signal passes through an infinite number of
points.
Ex. Voice , pressure, ECG signal etc.,
Digital Signal:
Digital signals are in the form of discretequantities and has binary digits. A digital signal, on the other
hand, can have only a limited number of defined values. Although each value can be any number, it is often as
simple as 1 and O. The vertical lines of the digital signal, however, demonstrate the sudden jump that the signal
makes from value to value.
Ex. Information in bits or bytes.
Representation of data in signals:
Signals are the electric or electromagnetic encoding of data. Signals are used to transmit data. There are
two types of signals i.e., analog and digital. These two types of signals can be transmitted as an analog signal or
as a digital signal. This means that an analog signal can be transmitted as it is as an analog signal or it can be
transmitted as a digital signal by encoding the signal certain methods. Similarly, a digital signal can be
transmitted as it is as digital signal or it can be encoded as analog signal before transmission Thus there are 4
possible combinations
1.Analog Signal, Analog Transmission AM,FM,PM
2.Digital Signal, Digital Transmission -- NRZ,RZ,Bi phase encoding
3.DigitalSignal, Analog Transmission ASK,PSK,FSK
4.Analog Signal, Digital Transmission -- PCM,DM
1.2 COMPARE ANALOG COMMUNICATION WITH DIGITAL COMMUNICATION
1. Analog data is in the form of continuous 1. Digital data is in the form of discrete
variable such as electric current. quantities and has binary digits.
7.Modulationtechniques:AM,PM,FM,PAM
7.PCM,DM,ASK,PSK,FSK,QAM
etc.
9.Ex: Voice, video and radio transmission 9.Text ,Data & integers in CD/DVD
Transmission of digitally encoded analog signals requires significantly more bandwidth than that
required for transmission of the original analog signal.
Digital transmission requires precise time synchronization between the clocks used in transmitters and
receivers, thereby a significant part of their resources are required to be allocated.
There is need of additional hardware for encoding for converting analog signals to digital pulses prior to
digital transmission, as well as additional decoding circuitry at the receiver to convert back to the
original signals.
1.3 INFORMATION CAPACITY:
The amount of information that can be transmitted over a channel is called information capacity of a
channel.
The maximum information that can be transmitted over a channel in a given time depends on the
characteristics of the channel. According to Hartleys law the information capacity is directly
proportional to the bandwidth of the channel and transmission time.
I BT
I = KBT
Where, I is information capacity of channel in bits/sec (bps)
K is constant
B is Bandwidth of the channel in Hz
T is transmission time in seconds
K is also directly proportional to I
The greater the bandwidth of the channel, the greater will be the amount of information that can be
transmitted in a given time.
But there is a limit to the amount of data can be sent in a given bandwidth. This limits is given by
Shannon Hartleys theorem which is given by
C = 2B log2 M
Where,
C= information capacity (or) channel capacity in bps.
B=Bandwidth of channels in Hz
M=No.of levels transmitted
From the above equation any desired amount of information can be transmitted in a given
channel by increasing the number of levels. But, it is not possible because of noise.
The receiver may be recognizing the levels wrongly because of noise. Therefore there will be maximum
data rate for a given noise level. The maximum rate is called Shannon Limit which is given by
C = B log2 (1+SNR) bits per second
Where, C = Information capacity in bps
B=Bandwidth of channel in Hz
SNR=signal to Noise ratio.
In the above equation SNR should be power ratio not in decibels.
1.4 .SAMPLING THEOREM AND ITS SIGNIFICANCE:
Sampling is a process of which continuous signal is converted into discrete time signals.The process of
transmitting signals in the form of pulses (discontinuous signals) by using special techniques.The signal is
sampled at regular intervals such that each sample is proportional to the amplitude of signal at that instant. This
technique is called sampling.Sampling is common in all pulse modulation techniques.
Analog signal is sampled every TS secs. Tsis referred to as the sampling interval.
fs = 1/Tsis called the sampling rate or sampling frequency.
SAMPLING THEOREM:
Sampling theorem states that if the sampling rate in any pulse modulation system exceeds twice
the maximum frequency of the message signal (fs 2fm), the original signal can be reconstructed in the
receiver with minimum distortion.
Sampling Rate:
It is rate of taking samples taken to gather the actual information from a signal. Sampling rate is defined
as inverse of sampling frequency.
Ts = 1 / fs where fs is sampling rate
Tsis sampling frequency
1.Pulse Amplitude Modulation(PAM): In PAM, the amplitude of each carrier pulse is varied in
accordance with the instantaneous amplitude of the message signal. The amplitude of each pulse is
proportional to the amplitude of the message signal at the instant of sampling.
2.Pulse Time Modulation (PTM): In PTM, the timing of the pulses of the carrier is varied in
accordance with the instantaneous amplitude of the message signal. There are two types of PTM
PWM, PPM.
a)Pulse width modulation(PWM):-It is also known as pulse duration modulation(PDM) and also
known as Pulse Length Modulation(PLM). In PWM, the width of the carrier pulse is varied in
accordance with the instantaneous values of the message signal. The width of each pulse is proportional
to the amplitude of the message signal.
b) Pulse position modulation (PPM) :In PPM the position of the carrier pulse is varied in accordance
with the instantaneous amplitude of the message signal. The position of each pulse is proportional to the
amplitude of the message signal.
DIGITAL PULSE MODULATION
In analog pulse modulation, time is discrete, but the pulse parameters are analog. Both time and
pulse parameters are discrete in pulse digital modulation. There are different types of pulse digital
modulation systems. They are
a) Pulse Code Modulation(PCM) : If the amplitude of the can be approximately represented by a
discrete amplitude value, then it is known as pulse code modulation. It is the process in which
message signal is sampled and th amplitude of each pulse is rounded off to the nearest one of a finite
set of allowable values.
b) Differential Pulse Code Modulation (DPCM)
Differential pulse code modulation is a technique of analog to digital signal conversion. This
technique samples the analog signal and then quantizes the difference between the sampled value and its
predicted value. It then encodes the signal to form a digital value.
c) Delta Modulation
Delta modulation uses a single bit PCM code to achieve digital transmission of analog signals.
Only a single bit is transmitted which simply indicates whether that sample is larger (or) smaller than the
previous sample.
d) Adaptive Delta Modulation
ADM quantizes the difference between the current sample and the predicted value of the next
sample. Adaptive Delta Modulation (ADM) is another voice coding because of it have bit error
robustness and its low implementation cost.
1.6 EXPLAIN PAM, PWM & PPM WITH WAVEFORMS
Pulse Amplitude Modulation (PAM):
It is a process in which the amplitude of the carrier pulse train varies in accordance with the
instantaneous values of the message signal. (or)
In PAM, the amplitude of each carrier pulse is varied in accordance with the instantaneous amplitude of
the message signal. The amplitude of each pulse is proportional to the amplitude of the message signal at
the instant of sampling.
In some PAM systems, the amplitude of each pulse is directly proportional to the instantaneous
modulating-signal amplitude at the time the pulse occurs. In other PAM systems, the amplitude of each pulse is
inversely proportional to the instantaneous modulating-signal amplitude at the time the pulse occurs. In still
other systems, the intensity of each pulse depends on some characteristic of the modulating signal other than its
strength, such as its instantaneous frequency or phase .
PAM is only one of several forms of pulse modulation. Other methods include varying the durations
(or widths), the frequencies, the positions, or the intervals of the individual pulses in a sequence.
PULSE WIDTH MODULATION:
It is a process in which the width of the carrier pulse train varies in accordance with the
instantaneous values of the message signal. Pulse-width modulation (PWM), or pulse-duration modulation
(PDM), is a modulation technique used to encode a message into a pulsing signal. Although this modulation
technique can be used to encode information for transmission, its main use is to allow the control of the power
supplied to electrical devices.
PWM is sometimes called pulse duration modulation (PDM) or pulse length modulation (PLM), as the
width (active portion of the duty cycle) of a constant amplitude pulse is varied proportional to the
amplitude of the analog signal at the time the signal is sampled.
The maximum analog signal amplitude produces the widest pulse, and the minimum analog signal
amplitude produces the narrowest pulse. Note, however, that all pulses have the same amplitude.
PULSE POSITION MODULATION:
It is a process in which the position of carrier pulse train is varied in accordance with the
instantaneous values of the message signal. (or)
In PPM the position of the carrier pulse is varied in accordance with the instantaneous amplitude of the
message signal.The position of each pulse is proportional to the amplitude of the message signal.
The fig shows the block dig of PAM generator. It consists of LPF, a multiplier and pulse train
generator. Initially, the modulating signal is passed through the LPF. The LPF removes all the frequency
components which are higher than the frequency fm. this is known as band limiting. The band limiting is
necessary to avoid the aliasing affect in the sampling process. The pulse train generator generates a pulse
train at a frequency fs such that fs fm. Thus the Nyquist criteria is satisfied. The pulse sampling network
does the shaping work to give flat tops.
Power will be variable because of varying in width of pulse. Transmitter can handle the power
even for maximum width of the pulse.
Bandwidth should be large to use in communication, should be huge even when compared to the
pulse amplitude modulation.
Applications of Pulse Width Modulation (PWM):
2. Amplitude of the pulse is Width of the pulse is The relative position of the
proportional to amplitude proportional to amplitude of pulse is proportional to the
of message signal modulating signal amplitude of the message signal.
3. The bandwidth of the Bandwidth of the transmission Bandwidth of transmission
transmission channel channel depends on raise time channel depends on rising time
depends width of the pulse. of the pulse. of the pulse.
4. The instantaneous power of The instantaneous power of the The instantaneous power of the
the transmitter various. transmitter various. transmitter remains constant.
5. Noise interference is high. Noise interference is minimum. Noise interference is minimum
6. Similar to amplitude Similar to implement similar to Similar to implement similar to
modulation. FM. PM.
7. System is complex. Simple to implement Simple to implement
8. Synchronization pulses are Synchronization pulses are not Synchronization pulses are
not needed needed needed
1.14 QUANTIZATION
The process of converting a discrete-time continuous amplitude signal such as the sampled version of
analog signal into a discrete-time signal is called Quantization. This is done by approximating the amplitude
of each sample value to the nearest value from a set of pre determined discrete amplitude levels is called
quantization level.
(or) Quantization is the process of rounding off the sampled voltages to a nearest values to produce
digitalized output.
For given 8 quantization levels the step size will be 8 V/8= 1V. That means the quantization
levels will be -3.5v, -2.5v, -1.5v, -0.5v, 0.5v, 1.5v, 2.5v, 3.5v. To represent 8 distinct quantization levels, we
require 3 bits. So, the corresponding code number and binary representation will be 0(000), 1(001), 2(010),
3(011), 4(100), 5(101), 6(110) and 7(111).
Fig.Quantization Process
Note that the quantization levels are separated by an amount . On the other hand, the separation of
extreme levels Vmin & Vmax each from their nearest quantization level is only /2. It should also be noted that
at any time the quantization error, has a magnitude which is equal to or less than /2.
It is thus seen that the quantized signal is an approximation to the original signal. The approximation
can be improved by reducing the size of the steps, thereby increasing the no of allowed levels.
1.15 QUANTIZATION NOISE
In quantizing, the actual amplitude at the sampling instant is not transmitted, but nearest standard level is
transmitted in coded form. The quantizing process then introduces an error in the transmitted signal which is
called quantizing error or quantizing noise.
The error is small if a large no of standard levels are used for a given range of the signal. The 7-digit
code giving 128(27) steps is a standard for transmitting voice signal in telephony. However, when more no. of
levels are used, more bits required to be sent per step and requiring more bandwidth.
The quantization process will produce errors called quantization error or noise. It is the difference
between input and output signal of the Quantizer. The difference between x(t) and xq(t) is called quantization
noise. It is shown in fig.
Quantization Noise ea(t) = x(t) - xq(t)
Where ea(t) = Quantization noise
x(t) = Actual message signal
xq(t) = Quantizing signal.
The message signal from PCM signal can be recovered by using the process shown in fig.
Regenerator : The regenerator at the start of PCM receiver reshapes the pulses and removes the noise. The
signal is then converted to parallel digital words for each sample.
Pulse code modulation is used in telecommunication systems, air traffic control systems etc.
Pulse code modulation is used in compressing the data that is why it is used in storing data in optical
disks like DVD, CDs etc. PCM is even used in the database management systems.
Pulse code modulation is used in mobile phones, normal telephones etc.
Remote controlled cars, planes, trains use pulse code modulations.
On the next clock pulse, the up/down counter is incremented to a count of 1. The DAC now outputs a
voltage equal to the magnitude of the minimum step size (resolution). The steps change value at a rate equal to
the clock frequency (sample rate). Consequently with the input signal shown, the up/down counter follows the
input analog signal up until the output of the DAC exceeds the analog sample , then the up/down counter will
begin counting down until the output of the DAC drops below the sample amplitude.
In the digitalized situation(shown in the above figure). The DAC output follows the input signal. Each
time the up/down counter decremented, a logic 0 is transmitted.
Since the step size of delta modulator remains fixed, its maximum or minimum slopes occur along
straight lines. Therefore this modulator is also called liner delta modulator (LDM).
Granular noise:
Granular noise occurs when the step size is too large compared to small variations in the input signal.
That is for very small variations in the input signal, the staircase signal is changed by large amount because of
large step size. Figure shows that when the input signal is almost flat, the staircase signal keeps on oscillating
around the signal. The error between the input and approximated signal is called Granular noise. The solution to
this problem is to make step size small.
Thus large step size is required to accommodate wide dynamic range of the input signal and small steps
are required to reduce granular noise. Adaptive delta modulation is the modification to overcome these errors.
Advantages and disadvantages:
The delta analog-to-digital modulation technique is widely used in voice transmission applications such
as telephone and radio communications, which use the principles of modulation to transmit voice signal
frequencies over carrier signals. Delta modulation is specifically applied where timely data delivery at the
receivers end is more important than data quality. It enjoys particular advantages over other analog-to-digital
modulation techniques, including lower noise (or) disruption in transmitted data, lower bandwidth consumption,
cost-effective operations and data delivery acknowledgment.
There are two major disadvantages of delta modulation:
1. Slope overload distortion: occurs when modulating signal varies faster than counter recovered signal.
2. Granular noise: occurs when variation in modulating signal is smaller than step size.
Applications of DM:
1. Telecommunication 2. Instrumentation
3.Computer communication 4. Satellite communication
1.20 COMPARISON OF PCM, DM & ADM
S. PCM DM ADM
No. Parameter
(Pulse Code Modulation) (Delta Modulation) (Adaptive Delta Modulation)
1. It can be use 4, 8 or 16 It can be use one bit per Only one bit is used to
No. of bits
bits per sample. sample. encode one sample
2. The number of levels According to the signal
Levels and step Step size is fixed and
depend on number of bits variation, step size varies
size cannot be varied.
Level size is kept fixed. (i.e .adapted).
3. Quantization Quantization error Slope overload Quantization noise is
error and depends upon the number distortion and granular present but other errors
distortion of levels used. noise are present. are absent.
4. Complexity of
System is complex Simple Simple.
implementation
5. Highest bandwidth is
Transmission Lowest bandwidth is Lowest bandwidth is
required since the no. of
bandwidth required. required.
bits are high.
6. There is no feedback in Feedback exists in
Feedback Here, feedback exists.
transmitter or receiver. transmitter.
7. Signal to Noise
good Poor Better then DM
Ratio
8 Sampling Rate 8 64-128 45-64
9. Bits/Sample 7-8 1 1
10. Applications Audio & Video telephony Speech & Images Speech & Images
1.21 ADVANTAGES OF DELTA MODULATION OVER PCM
The delta modulation has following advantage over PCM.
1. Delta modulation transmits only one bit for one sample. Thus the signaling rate and transmission
channel bandwidth is quite small for delta modulation.
2. The transmitter and receiver implementation is very much simple for delta modulation.
3. There is no analog to digital converter involved in delta modulation.
The fig shows a simple pulse excited linear predictive vocoder. It has a white noise generator useful for
unvoiced signals and a variable frequency pulse generator for producing voiced sounds. The pulse generator
creates a tone rich in harmonics as the sound produced by human vocal cords. An electronic switch
appropriately selects pulse generator or white noise source depending on input signal is voiced or unvoiced. A
digital filter designed to stimulate the human system generates the synthesized output.
Advantages:
1.Requirement of bandwidth is low.
2.Appropriate output is produced.
Disadvantages:
Vocoders can be used for only voice, where as the PCM system can be used to send only 64kb/sec data
stream including music, fax etc.,
Applications:
1. In Telecommunication, to reduce the bandwidth.
2. In music industries.
3. Talking computers and robots.
4. Television and film industries for mimicking the voice.
Generally with data compression more bandwidth is required to transmit an analog signal in digitl form.
For instance, analog telephony requires less than 4KhZ per channel with single side band AM transmission.
Digital telephony operates at 64Kbps.
To use digital techniques in wireless communication, it is very desirable to reduce the bandwidth. Hence
data compression is required.
There are two main categories of data compression. They are
1. Lossy compression
2. Lossless compression
Lossy compression:
Lossy compression can involve reducing the number of bits per sample or reducing the sampling rate.
Lossy compression method is based on knowledge of the type of signal as well as knowledge of human
perception. A Vocoder is an example for lossy compression applied to human speech. Lossy compression
allows for reduction in the qualities of transmitted signal.
Lossless Compression:
Lossless compression involves, transmitting all the data in the original signal using fewer bits. Lossless
compression generally using redundancies in the data.
The redundancies strings of characters can be replaced with a code that tells the receiver the length of
the repeated strings of characters can be replaced with a code that tells receiver the length of the repeated strings
of characters. This technique is called as Run length Coding. It is very useful in FAX.
PROBLEMS ON PCM:
Problem 1: Calculate the number of levels if the number of bits per sample is a)8 b) 16
a) N= 2m b)N= 2m
8
=2 = 256 216 = 65,536.
Problem 2: Find the maximum dynamic range for a system using 16-bit quantizing
DR =1.76 + 6.02m dB
1.76 + 6.02 X 16 dB
98.08 dB
Problem 3 : Find the maximum data rate needed to transmit audio with a sampling rate of 40KHz and
14-bits per sample.
D = fs.m
= 40KHz X 14
560 Kbps
Problem4: A modulator transmits symbols each of which has 64 different states, 10000 times per second.
Calculate the baud rate and bit rate.
M =64 Baud rate (S) = 10000
Bit rate ( C) = S log2 M = 10 X log2 (64) = 60kbps
Problem 5: A telephone line has a bandwidth of 3.2Khz and a signal to noise ratio of 35db. A signal is
transmitted down this line suing a four level code, What is the maximum theoretical data rate.
Bandwidth (B) = 3.2Khz SNR = 35dB M = 4
First we use the shanon hartly theorem to find the maximum data rate for a four level code in the bandwidth
available, ignoring noise
C = 2 B log2M = 2 X 3.2K X log2 4 = 12.8 kbps
Next, we use the shanon limit to find the maximum data rate for any code, given the bandwidth and Signal to
noise ratio.
REVIEW QUESTIONS
Short Questions :
1. Compare analog and digital communication techniques
2. List the advantages and disadvantages of Digital communication
3. Classify pulse modulation techniques
4. Define information capacity of a channel and write the expression
5. State sampling theorem and explain its significance
6. State the advantages and disadvantages of PAM
7. Compare PAM, PPM and PWM.
8. Write applications of PCM
9. State the advantages and disadvantages of PPM
10. Define Quantization and Quantization error
11. State the advantages and disadvantages of PWM
12. What is the principle of pulse code modulation
13. Compare PCM,DM and ADM
14. Write a short note on vocoders
15. Define bit rate and dynamic range for PCM systems
Essay Questions
1. Explain the PCM. Describe the coding and decoding of a PCM in detail
2. Briefly describe about Delta modulation
3. Explain the operation of Vocoders
4. Explain about pulse modulation techniques
5. Compare PAM,PPM and PWM
6. Explain PAM,PPM and PWM with waveforms
7. Explain the generation and demodulation of PAM signal
8. Describe different data compression technique.