Adc Notes
Adc Notes
V SEMESTER ECE
K.S.R.S. JYOTHSNA
Assistant Smt.
Professor, Dept. of ECE, CBIT
KSRS JYOTHSNA, Asst. Prof, Dept. of ECE
COMMUNICATION
The word communication arises from the Latin word commūnicāre, which means “to share”. Communication is
the basic step for exchange of information.
Communication deals with the principle of transferring information from one place to another.
Noise
ANALOG DIGITAL
Message Message
Transmitter Channel Receiver
Signal Signal
Transmitter: Its function is to process the message signal into a form suitable for transmission over the communication
channel. This is called modulation.
Channel: This is a medium which electrically connects the transmitter to the receiver. Its function is to provide a pathway
between the transmitter's outputand the receiver's input.
Receiver: The main purpose of the receiver is to create the original message signal from the degraded version of the
transmitted signal after propagation through channel i.e. It will apply the reverse process of the modulation used in the
transmitter. Smt. KSRS JYOTHSNA, Asst. Prof, Dept. of ECE
NEED FOR MODULATION
1.
• Frequency Multiplexing
2.
• Practicability of Antenna
3.
• Narrow banding or Common Processing
4.
• Reduction of Noise
Smt. KSRS JYOTHSNA, Asst. Prof, Dept. of ECE
TYPES OF MODULATION
Types of Modulation
Discrete / Pulse
CW Modulation
Modulation
Non-Linear
Linear Modulation
Modulation
Amplitude Angle
Modulation Modulation
Amplitude
Frequency
Phase
Let m(t) denote the message signal. Then the modulated signal s(t) is given by:
Let the frequency domain representation of m(t) i.e. the Fourier transform of m(t) is M(f):
Single tone modulation: Message signal will have only one frequency.
where
Modulation index or
Modulation factor
The maximum transmission efficiency of an AM signal is 33.33%, i.e., only one third of the
total transmitted power is carried by the side bands in an AM wave. The remaining two third of the total
transmittedpower gets wasted.
1. Wastage of Power.
2. Wastage of Bandwidth.
In the efficient power distribution case , i.e. μ=1, still 66.66% of Pt is wasted in the form of
transmission of additional carrier. This is the biggest drawback of AM.
Smt. KSRS JYOTHSNA, Asst. Prof, Dept. of ECE
DSB-SC
Double-sideband suppressed carrier (DSBSC) modulation technique is a modified form of
amplitude modulation technique in which the carrier signal is completely suppressed from
amplitude-modulated signal.
This form of linear modulation can be generated by using a simple product modulator which
multiplies message signal m(t) and carrier signal c(t).
DSB-SC modulation is reduced to zero whenever the The modulated signal s(t) undergoes a phase reversal
message signal m(t) is switched off. whenever message signal m(t) crosses zero.
Smt. KSRS JYOTHSNA, Asst. Prof, Dept. of ECE
FREQUENCY DOMAIN
REPRESENTATION
Wastage of Bandwidth.
Spectrum of Spectrum of
Smt. KSRS JYOTHSNA, Asst. Prof, Dept. of ECE
USB LSB
SPECTRUM OF SSB
Filter
m(t) ms(t)
Hs(f)
Where
We know the relationship between angular frequency ωi and angle θi(t) as:
Substituting, the above obtained θi(t) in the standard equation of angle modulated wave.
FM WAVE EQUATION:
Where
PM WAVE EQUATION:
In case of sinusoidal modulation, the basic difference between an AM signal and NBFM signal is that
the algebraic sign of the lower sideband frequency in the NBFM is reversed. Thus a NBFM signal is
essentially requires the same transmission bandwidth (i.e. 2W ) as the AM signal.
S(t)NBFM
S(t)AM
As each pair of sidebands gives a bandwidth of 2fm, (β + 1) sidebands will give a bandwidth of 2 x (β+1 ) x fm
Frequency
fc
200 KHz
MODULATOR
EXCITER SECTION POWER SECTION
SECTION
MODULATOR
EXCITER SECTION POWER SECTION
SECTION
Smt. KSRS JYOTHSNA, Asst. Prof, Dept. of ECE
RECEIVER
Radio receiver is an electronic device which receives the desired modulated signal,
amplifies it followed by demodulation to get back the original modulating signal.
Based on the principle of operation, the TWO popular radio receivers are:
i. Tuned Radio Frequency (TRF) Receiver
ii. Super heterodyne Receiver
fsi = fs + 2 fi
Bandwidth of station
AM: 10KHz
FM: 200KHz
Smt. KSRS JYOTHSNA, Asst. Prof, Dept. of ECE
WHITE NOISE
Definition: A random process is said to be a white noise process if the PSD is constant over
all frequencies. It is uniform and constant over all frequencies. Hence, it exists at all
frequencies.
White noise derives its name by analogy with “white light”, which contains all visible light
frequencies in its spectrum.
However, one type of real world noise closely approximates white noise. “Thermal Noise”
generated by thermal agitation of electrons in any electrical conductor has a power
spectrum that is constant up to very high frequencies and then decreases.
DSB-SC :
SSB :
Smt. KSRS JYOTHSNA, Asst. Prof, Dept. of ECE
SAMPLE NUMERICALS
The frequency deviation produced in a VHF carrier by a signal of 100 Hz is 50 kHz. The
frequency modulation index is:
Pulse /
Analog Digital
Discrete
Modulation Modulation
Modulation
Data: Analog Data: Digital
Carrier: Analog Data: Analog Data: Analog Carrier: Analog / Digital
Carrier: Discrete Carrier: Discrete
Output: Discrete Output: Digital
Discrete source can be characterized by the following: From these parameters, we can
1. Source alphabet construct a probabilistic model of the
2. Symbol rate (rs) information source and define the
3. Source alphabet probabilities Source entropy (H) and Source
4. Probabilistic dependence of symbols in a sequence. Information Rate (R).
Smt. KSRS JYOTHSNA, Asst. Prof, Dept. of ECE, CBIT
ELEMENTS OF DIGITAL COMMUNICATION SYSTEM
Source entropy (H) and Source Information Rate (R):
Source Information Rate (R): The rate at which source is emitting bits.
R = H. rs
It performs error control coding (error detection and correction) by adding few parity bits. These extra bits
do not convey any information but helps the receiver to detect and / or correct the errors in the information
bearing bits.
DATA
FORMATS
NRZ - M BI ϕ - M
FSK PSK
Parameters of a modulator:
1. Type of waveform used.
2. Duration of the waveform
3. Power level
4. Bandwidth
Parameters of a Channel:
1. Usable bandwidth
2. Amplitude and Phase response
3. Statistical properties of the noise
Smt. KSRS JYOTHSNA, Asst. Prof, Dept. of ECE, CBIT
ELEMENTS OF DIGITAL COMMUNICATION SYSTEM
RECEIVER
received signal
estimated estimated estimated
message Source source Channel channel
signal codeword decoder codeword Demodulator
decoder
User RECEIVER
Smt. KSRS JYOTHSNA, Asst. Prof, Dept. of ECE, CBIT
ANALOG Vs DIGITAL
Digital communications: Transmitted signals belong to a finite set of waveforms → The
distorted signal can be recovered to its ideal shape, hence removing all the noise.
Analog communications: Transmitted signals are analog waveforms, which can take
infinite variety of shapes → Once the analog signal is distorted, the distortion cannot be
removed.
While sampling converts a continuous time signal to a discrete time signal, quantizing converts a
continuous amplitude sample to a discrete amplitude sample. Thus Sampling and Quantizing
operations convert the output of an analog information source into sequence of levels (or Symbols) that
is, the analog source is transformed into discrete source.
Mapping /
Quantizing
Encoding
Sampling
Discrete Time Discrete Time
Analog Continuous Discrete Binary
Signal Amplitude Amplitude Sequence
Signal Signal
Uniform Quantization
Differential Quantization
If the value of X falls in the ith quantizing interval or bin, then the quantized value is taken to be the
midpoint of the interval or bin.
If ‘a’ and ‘b’ are the minimum and maximum values of X respectively, then the step-size or interval
length or bin size ∆ is given by:
The ratio ( Sq / Nq ) gives a measure of fidelity of the Uniform Quantizer. This ratio can be
computed if the pdf of X is known.
The Mid-Rise type is so called because the origin lies in the middle of a raising part of the stair-case like graph. The quantization
levels in this type are even in number.
The Mid-tread type is so called because the origin lies in the middle of a tread of the stair-case like graph. The quantization levels in
this type are odd in number.
Both the mid-rise and mid-tread type of uniform quantizers are symmetric about the origin.
Smt. KSRS JYOTHSNA, Asst. Prof, Dept. of ECE, CBIT
NON-UNIFORM QUANTIZATION
If the quantizer characteristic is nonlinear, then
the quantization is known as non-uniform
quantization.
In non-uniform quantization, the step size is
not constant.
The step size is variable, depending on the
amplitude of input signal.
Used to reduce quantization error and increase
the dynamic range when input signal is not
uniformly distributed over its allowed range of
values.
Smt. KSRS JYOTHSNA, Asst. Prof, Dept. of ECE, CBIT
NEED FOR NON-UNIFORM QUANTIZATION
Eg: Speech Signal
The most commonly used compander uses a logarithmic compression, Y = log X, where the levels are
crowded near the origin and spaced farther apart near the peak values of X.
m(t ) mˆ (t )
µ-law companding:
log e 1 (| x | / xmax
y ymax sgn( x )
log e (1 )
where
x and y represent the input and output voltages
is a constant number determined by experiment
In the U.S., telephone lines uses companding with = 255
Smt. KSRS JYOTHSNA, Asst. Prof, Dept. of ECE, CBIT
COMPANDING LAWS
A-law companding:
| x|
A
xmax | x| 1
ymax sgn( x), 0
(1 A) xmax A
y ( x)
| x|
1 log e A
xmax 1 | x|
ymax sgn( x), 1
(1 log e A) A xmax
where
x and y represent the input and output voltages
A = 87.6
A is a constant number determined by experiment
Smt. KSRS JYOTHSNA, Asst. Prof, Dept. of ECE, CBIT
DIFFERENTIAL QUANTIZATION
Differential quantizing schemes take into account the sample to sample correlation in the quantizing
process.
For a given number of levels per sample, differential quantizing schemes yield a lower value of
quantizing noise power than direct quantizing schemes.
Pulse code modulation (PCM) is essentially analog-to-digital conversion of a special type where the
information contained in the instantaneous samples of an analog signal is represented by digital words in a
serial bit stream.
Sampled 1.3 2.3 2.7 3.2 1.1 -1.2 -1.6 0.1 -1.2
values of an
analog signal
Nearest 1.25 2.25 2.75 3.25 1.25 -1.25 -1.75 0.25 -1.25
quantizer
level
Level 10 12 13 14 10 5 4 8 5
Number
Binary code 1010 1100 1101 1110 1010 0101 0100 1000 0101
Quaternary 22 30 31 32 22 11 10 20 11
code
Voltage
levels
Analog Binary PCM
Sampler Quantizer Encoder
Input Output
fs ≥ 2 f m TIMER
Low Pass Filter: This filter eliminates the high frequency components present in the input analog signal
which is greater than the highest frequency of the message signal, to avoid aliasing of the message signal.
Sampler: It is a process of conversion of a continuous-time signal to a discrete-time signal. The sampling
rate must be greater than twice the highest frequency component W of the message signal, in accordance
with the sampling theorem. Smt. KSRS JYOTHSNA, Asst. Prof, Dept. of ECE, CBIT
OPERATION OF PCM TRANSMITTER
Quantizer:
It assigns voltage level to each sample. Quantizing is a process of reducing the excessive bits and
confining the data. The sampled output when given to Quantizer, reduces the redundant bits and
compresses the value.
Encoder:
The digitization of analog signal is done by the encoder. It designates each quantized level by a
binary code.
The sampling done here is the sample-and-hold process. These three sections (LPF, Sampler, and
Quantizer) will act as an analog to digital converter. Encoding minimizes the bandwidth used.
DECISION
Distorted PCM wave EQUALIZER MAKING Regenerated PCM wave
DEVICE
TIMIMG
CIRCUIT
Regenerative Repeater: This section increases the signal strength. The output of the channel also
has one regenerative repeater circuit, to compensate the signal loss and reconstruct the signal, and
also to increase its strength.
The amplitude equalizer shapes the distorted PCM wave so as to compensate for the effects of
amplitude and phase distortions.
The timing circuit produces a periodic pulse train for sampling the equalized PCM pulses. This
pulse train is then applied to the decision making device.
The decision making device makes a decision about whether the equalized PCM wave at its input
has a ‘0’ value or ‘1’ value. Such a decision is made by comparing equalized PCM with a reference
level called decision threshold.
Sync TIMER
Regenerative Repeater: This section increases the signal strength. It reshapes the pulse and removes the noise.
The output of the channel also has one regenerative repeater circuit, to compensate the signal loss and reconstruct
the signal, and also to increase its strength.
Decoder: The signal at the output of the S/H circuit is allowed to pass through LPF to get the original message. The
decoder circuit decodes the pulse coded waveform to reproduce the original signal. This circuit acts as the
demodulator. Smt. KSRS JYOTHSNA, Asst. Prof, Dept. of ECE, CBIT
OPERATION OF PCM RECEIVER
Reconstruction Filter:
After the digital-to-analog conversion is done by the regenerative circuit and the decoder, a low-pass
filter is employed, called as the reconstruction filter to get back the original signal.
For a given number of levels per sample, differential quantizing schemes yield a lower value of quantizing noise
power than direct quantizing schemes.
The quantizer output would be written as, eq(nTs)= e(nTs)+ q(nTs) ……(2)
Here q(nTs) is quantization error. Smt. KSRS JYOTHSNA, Asst. Prof, Dept. of ECE, CBIT
DPCM TRANSMITTER
From the block diagram, the prediction filter input xq(nTs) is obtained by sum of x^(nTs) and the quantizer output
eq(nTs).
by substituting the value of eq(nTs) from the equation (2) in equation (3) we get,
Therefore, the quantized version of signal xq(nTs) is the sum of original sample value and quantized error q(nTs).
The quantized error can be positive or negative. So the output of the prediction filter does not depend on its
Smt. KSRS JYOTHSNA, Asst. Prof, Dept. of ECE, CBIT
characteristics.
DPCM RECEIVER
The receiver consists of a decoder to reconstructthe quantized error signal.
The quantized version of the original input is reconstructed from the decoder output using the same predictor as
used in the transmitter. In the absence of noise the encoded signal at the receiver input is identical to the encoded
signal at the transmitter output. Correspondingly the receive output is equal to xq(nTs), which differs from the
input x(nTs) only by the quantizing error q(nTs).
2 Voltage
levels
Analog Differential 1 - bit Binary DM
Sampler
Input Quantizer Encoder Output
Delta modulation is subject to rate of rise over load problems whenever the input changes too rapidly for
the stepped wave form to follow it. If the input signal level remains constant, the reconstructed Delta
modulation waveform exhibits a hunting behavior known as idling noise. This idling noise is a square wave
at one half the clock rate. If the clock rate is much greater than twice the highest frequency in the input
Smt. KSRS JYOTHSNA, Asst. Prof, Dept. of ECE, CBIT
signal, most of the idling noise can be filtered out at the receiver.
SLOPE-OVERLOAD DISTORTION
Slope Overload Distortion: Slope over load distortion occurs when the analog input
signal changes at a faster rate than the DAC can maintain it, the slope of the analog
signal is greater than the delta modulator can maintain. In general, when the slope of stair
case is less than (or) equal to modulating signal, the slope overloading occurs. Increasing
the clock frequency reducesthe probability of slope overload occurring.
If the step size used in the Delta modulation system is ‘∆’, then the maximum (rate of
rise) slope over load is ∆ / Ts.
KSRS. JYOTHSNA
Assistant Professor, DEPT. of ECE, CBIT
Smt. KSRS JYOTHSNA, Asst. Prof, Dept. of ECE, CBIT
UNCERTAINITY, INFORMATION & ENTROPY
Information theory is a mathematical approach to the study of coding of information along with the
quantification, storage, and communication of information.
Consider the event S = Sk, describing the emission of symbol s, by the source with probability Pk. Clearly, if
the probability Pk = 1 and Pi = 0 for all i≠k, then there is no "surprise," and therefore no "information,"
when symbol Sk is emitted, because we know what the message from the source must be. If, on the other
hand, the source symbols occur with different probabilities, and the probability Pk is low, then there is
more surprise, and therefore information, when symbol s, is emitted by the source than when symbol Si,
i≠k, with higher probability is emitted. Thus, the words uncertainty, surprise, and information are all
related.
Before the event S = Sk occurs, there is an amount of uncertainty. When the event S = Sk occurs there is an
amount of surprise. After the occurrence of the event S = Sk there is gain in the amount of information.
Moreover, the amount of information is related to the inverse of the probability of occurrence.
Discrete source:
EXAMPLE:
Where Sk is the output of the discrete memoryless source and bk is the output of the source encoder which is
represented by 0s and 1s.
Fixed Length
Coding
Source Coding
Variable
Length Coding
Smt. KSRS JYOTHSNA, Asst. Prof, Dept. of ECE, CBIT
SOURCE CODING THEOREM
Let us assume that the source has an alphabet with k different symbols and that the kth symbol Sk occurs with the
probability Pk, where k = 0, 1…k-1.
Let the binary code word assigned to symbol Sk, by the encoder having length lk, measured in bits.
Hence, we define the average code word length L of the source encoder as:
According to Source Coding Theorem, Entropy represents a fundamental limit on the average number of bits per
source symbol necessary to represent a discrete memoryless source.
Construct Shannon-Fano code to a Source having 8 equi-probable symbols and obtain the codewords.
A DML Source X has 5 symbols X1, X2, X3, X4 and X5 with probabilities P1 = 0.4, P2 = 0.19, P3 = 0.16, P4 =
0.15, P5 = 0.1 respectively. Construct Shannon-Fano code and obtain the codewords.
A DML Source X has 7 symbols X1, X2, X3, X4, X5, X6 and X7 with probabilities P1 = 0.05, P2 = 0.15, P3 = 0.2,
P4 = 0.05, P5 = 0.15, P6 = 0.3, P7 = 0.1 respectively. Construct Huffman code and Compute its efficiency.
DISCRETE
X MEMORYLESS Y
CHANNEL
The channel is said to be “discrete” when both alphabets x and y have finite sizes. It is said to be “memoryless” when
the current outputsymbol depends only on the current input symbol and not any of the previous ones.
Smt. KSRS JYOTHSNA, Asst. Prof, Dept. of ECE, CBIT
DISCRETE MEMORYLESS CHANNEL
Input alphabet:
Output alphabet:
JOINT PROBABILITIES:
LOSELESS CHANNEL
DETERMINISTIC CHANNEL
NOISELESS CHANNEL
Example:
Channel diagram:
Example:
Channel diagram:
Channel diagram:
P q
P q
1-P 1-q
Cascaded Equivalent Channel
Since:
Smt. KSRS JYOTHSNA, Asst. Prof, Dept. of ECE, CBIT
MUTUAL INFORMATION
If the channel bandwidth B Hz is fixed, then the output is also bandlimited signal completely
characterized by its periodic samples taken at the Nyquist Rate.