DC Unit 2
DC Unit 2
1 | Unit 2 DC
Fig 1 Uni-polar NRZ
Advantages
The advantages of Unipolar NRZ are −
It is simple.
A lesser bandwidth is required.
Disadvantages
The disadvantages of Unipolar NRZ are −
No error correction done.
Presence of low frequency components may cause the signal droop.
No clock is present.
Loss of synchronization is likely to occur (especially for long strings of 1s and 0s).
Unipolar Return to Zero RZ
In this type of unipolar signaling, a High in data, though represented by a Mark pulse,
its duration T0 is less than the symbol bit duration. Half of the bit duration remains high
but it immediately returns to zero and shows the absence of pulse during the remaining
half of the bit duration.
It is clearly understood with the help of the following figure.
Fig 2 Unipolar RZ
2 | Unit 2 DC
Advantages
The advantages of Unipolar RZ are −
It is simple.
The spectral line present at the symbol rate can be used as a clock.
Disadvantages
The disadvantages of Unipolar RZ are −
No error correction.
Occupies twice the bandwidth as unipolar NRZ.
The signal droop is caused at the places where signal is non-zero at 0 Hz.
Polar Signaling
There are two methods of Polar Signaling. They are −
Polar NRZ
Polar RZ
Polar NRZ
In this type of Polar signaling, a High in data is represented by a positive pulse, while
a Low in data is represented by a negative pulse. The following figure depicts this well.
Disadvantages
The disadvantages of Polar NRZ are −
No error correction.
No clock is present.
The signal droop is caused at the places where the signal is non-zero at 0 Hz.
3 | Unit 2 DC
Polar RZ
In this type of Polar signaling, a High in data, though represented by a Mark pulse, its
duration T0 is less than the symbol bit duration. Half of the bit duration remains high but
it immediately returns to zero and shows the absence of pulse during the remaining half
of the bit duration.
However, for a Low input, a negative pulse represents the data, and the zero level
remains same for the other half of the bit duration. The following figure depicts this
clearly.
Fig 4 Polar RZ
Advantages
The advantages of Polar RZ are −
It is simple.
No low-frequency components are present.
Disadvantages
The disadvantages of Polar RZ are −
No error correction.
No clock is present.
Occupies twice the bandwidth of Polar NRZ.
The signal droop is caused at places where the signal is non-zero at 0 Hz.
Bipolar Signaling
This is an encoding technique which has three voltage levels namely +, - and 0. Such a
signal is called as duo-binary signal.
An example of this type is Alternate Mark Inversion AMIAMI. For a 1, the voltage level
gets a transition from + to – or from – to +, having alternate 1s to be of equal polarity.
A 0 will have a zero-voltage level.
Even in this method, we have two types.
Bipolar NRZ
Bipolar RZ
From the models so far discussed, we have learnt the difference between NRZ and RZ.
It just goes in the same way here too. The following figure clearly depicts this.
4 | Unit 2 DC
Fig 5 Bipolar RZ and Bipolar NRZ
The above figure has both the Bipolar NRZ and RZ waveforms. The pulse duration and
symbol bit duration are equal in NRZ type, while the pulse duration is half of the symbol
bit duration in RZ type.
Advantages
It is simple.
No low-frequency components are present.
Occupies low bandwidth than unipolar and polar NRZ schemes.
This technique is suitable for transmission over AC coupled lines, as
signal drooping doesn’t occur here.
A single error detection capability is present in this.
Disadvantages
Following are the disadvantages −
No clock is present.
Long strings of data causes loss of synchronization.
Power Spectral Density
The function which describes how the power of a signal got distributed at various
frequencies, in the frequency domain is called as Power Spectral Density PSD.
PSD is the Fourier Transform of Auto-Correlation Similarity between observations. It is
in the form of a rectangular pulse.
5 | Unit 2 DC
Fig 6 PSD
Key Takeaways:
Line coding determines how the binary data is represented on the link.
The mark density (MD) of a binary data pattern is defined as the number of one bit in
the pattern, divided by the length of the pattern:
6 | Unit 2 DC
Basic Elements of PCM
The transmitter section comprises of Sampling, Quantizing and Encoding. The low pass
filter prior to sampling prevents aliasing of the message signal.
The basic operations in the receiver section are regeneration of impaired signals,
decoding, and reconstruction of the quantized pulse train.
Fig.7: PCM
Low Pass Filter
This filter eliminates the high frequency components present in the input analog signal
to avoid aliasing of the message signal.
Sampler
It helps to collect the sample data at instantaneous values of message signal, so as to
reconstruct the original signal. The sampling rate must be in accordance with the
sampling theorem.
Quantizer
It reduces excessive bits and confines the data. It reduces the redundant bits and
compresses the value of the sampled output.
Encoder
The digitization of analog signal is done by the encoder. It designates each quantized
level by a binary code. Encoding minimizes the bandwidth used.
Regenerative Repeater
It 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.
Decoder
The decoder circuit decodes the pulse coded waveform to reproduce the original
signal. This circuit acts as the demodulator.
7 | Unit 2 DC
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.
Hence, the Pulse Code Modulator circuit digitizes the given analog signal, codes it and
samples it, and then transmits it in an analog form. This whole process is repeated in a
reverse pattern to obtain the original signal.
Key takeaway
The transmitter section comprises of Sampling, Quantizing and Encoding. The low pass
filter prior to sampling prevents aliasing of the message signal.
The basic operations in the receiver section are regeneration of impaired signals,
decoding, and reconstruction of the quantized pulse train.
2.4 Mary Pulse Modulation waveforms
This is called as M-ary Phase Shift Keying M−ary PSK
The phase of the carrier signal, takes on M different levels.
Representation of M-ary PSK
For equiprobable ones and zeros the PSD for M-ary PSK is
8 | Unit 2 DC
The symbols in this case are of duration , so the information (or bit) rate satisfies
A phase diagram and signal constellation diagram for the case of M = 8 are shown
below:
M-ary QAM
The QAM modulator essentially follows the idea that can be seen from the basic QAM
theory where there are two carrier signals with a phase shift of 90° between them. These
are then amplitude modulated with the two data streams known as the I or In-phase and
the Q or quadrature data streams. These are generated in the baseband processing
area.
Basic QAM I-Q modulator circuit
9 | Unit 2 DC
The two resultant signals are summed and then processed as required in the RF signal
chain, typically converting them in frequency to the required final frequency and
amplifying them as required.
Key takeaway
The QAM modulator essentially follows the idea that can be seen from the basic QAM
theory where there are two carrier signals with a phase shift of 90° between them.
These are then amplitude modulated with the two data streams known as the I or In-
phase and the Q or quadrature data streams.
The phase of the carrier signal, takes on M different levels.
Representation of M-ary PSK
11 | Unit 2 DC
Fig.11: DPCM
Key Takeaways:
DPCM code words represent differences between samples unlike PCM where code
words represented a sample value.
Basic concept of DPCM - coding a difference, is based on the fact that most source
signals show significant correlation between successive samples so encoding uses
redundancy in sample values which implies lower bit rate.
2.6 Multiplexing of PCM signals
In pulse modulation the time division multiplexing makes the maximum utilisation of the
transmission channel. The TDM can be analog or digital. The digital multiplexing is
discussed below. The block diagram for TDM is shown below. N PAM channels are
multiplexed and each channel to be transmitted is passed through the LPF. The input to
the commutators is the signal coming out from the LPF. The commutator rotates at the
rate of fs. A t the receiver the demodulator separates the time multiplexed input
channels. These signal pass through the low-pass reconstruction filters. If W is the
highest signal frequency then according to the sampling theorem fs 2W
12 | Unit 2 DC
Fig 12 TDM system block diagram and waveform [Ref 6]
The time space between two samples is given by
Ts = 1/fs
Ts 2W
If there are N input channels then the space between two samples is given by
Space between two samples = Ts/N
The number of pulses/secs are called as signalling rate of TDM denoted by r
r= Nfs
For PAM/TDM Signalling rate r 2NW
Synchronisation in TDM
There should always be synchronisation in transmitter and receiver. Usually,
markers are inserted to indicate the separation between the frames. Synchronisation
is obtained due to these marker pulses but the number of channels to be multiplexed
is reduced by one. They become N-1.
Crosstalk
In TDM transmission the signal is converted to smooth modulating waveform when
passed through the baseband filter. The baseband value passes through the values
of all the individual samples.
Due to this baseband filter crosstalk arises in between two samples. This interference
can be reduced by increasing the distance between individual signal samples. The
minimum distance required to avoid crosstalk between two samples is called as
guard time.
13 | Unit 2 DC
Fig 14 Applied rectangular pulse and its response
From above figure we see that even after the pulse is removed the response decays
from its value A and then takes longer period. The guard time Tg represents
minimum pulse spacing. After guard time end the pulse tail is less than Act.
Act = A
B= Bandwidth of signal
Key takeaway
The time space between two samples is given by
Ts = 1/fs
Ts 2W
The number of pulses/secs are called as signalling rate of TDM denoted by r
r= Nfs
For PAM/TDM Signalling rate r 2NW
Example
Twelve different message signals each of bandwidth 20kHz are to be
multiplexed and transmitted. Determine the minimum bandwidth required for
PAM/TDM system?
Sol: No. of channels N =12
Bandwidth of each channel fm = 20kHz
Minimum bandwidth required to avoid crosstalk is = Nfm = 20 x 12 = 240kHz
14 | Unit 2 DC
2.7 Delta modulation
The type of modulation, where the sampling rate is much higher and in which the
step size after quantization is of a smaller value Δ, such a modulation is termed
as delta modulation.
Features
The quality is moderate.
The design of the modulator and the demodulator is simple.
The stair-case approximation of output waveform.
The step-size is very small, i.e., Δ delta.
The bit rate can be decided by the user.
This involves simpler implementation.
Delta Modulation is a simplified form of DPCM technique, also viewed as 1-bit
DPCM scheme. As the sampling interval is reduced, the signal correlation will be
higher.
Delta Modulator
The Delta Modulator comprises of a 1-bit quantizer and a delay circuit along with
two summer circuits. Following is the block diagram of a delta modulator.
= ---------equation 6
Delay unit output is an Accumulator output lagging by one sample.
From equations 5 & 6, we get a possible structure for the demodulator.
A Stair-case approximated waveform will be the output of the delta modulator with
the step-size as delta (Δ). The output quality of the waveform is moderate.
Delta Demodulator
The delta demodulator comprises of a low pass filter, a summer, and a delay circuit.
The predictor circuit is eliminated here and hence no assumed input is given to the
demodulator.
Following is the diagram for delta demodulator.
16 | Unit 2 DC
Fig.16 Delta Demodulator
From the above diagram, we have the notations as −
vˆ(nTs) is the input sample
uˆ(nTs) is the summer output
x¯(nTs) is the delayed output
A binary sequence will be given as an input to the demodulator. The stair-case
approximated output is given to the LPF.
Low pass filter is used for many reasons, but the prominent reason is noise
elimination for out-of-band signals. The step-size error that may occur at the
transmitter is called granular noise, which is eliminated here. If there is no noise
present, then the modulator output equals the demodulator input.
Advantages of DM Over DPCM
1-bit quantizer
Very easy design of the modulator and the demodulator
Key takeaway
The type of modulation, where the sampling rate is much higher and in which the
step size after quantization is of a smaller value Δ, such a modulation is termed
as delta modulation.
2.8 Idling noise and slope overload
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 signal, most of the idling noise can be filtered out at the receiver.
17 | Unit 2 DC
Fig 17 Slope Overload
Slope Overload: Slope overload 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 reduces the probability of slope overload occurring.
General method to reduce the slope overload is to increase the magnitude of the size.
Assume the input for Delta modulation be f(t) = A cos ωmt.
If the step size used in the Delta modulation system is ‘Δ’, then the maximum (rate of rise) slope
over load is / Ts
18 | Unit 2 DC
Granular noise: In general, Granular noise occurs
When the original analog input signal has a relatively constant amplitude, the
reconstructed signal has variations that were not present in the original signal. This
is called granular noise
The granular noise is analogous to the quantization noise in a PCM system.
When the step size Δ is too large relative to the local slope characteristics of the
input waveform x(t), thereby causing the stair case approximation u(t) to hunt
around a relatively flat segment of the input waveform Granular noise can be
reduced by decreasing the step size so that the stair case approximation may
become more closer to the modulating signal.
There is a need to have a large step size to accommodate a wide dynamic range,
whereas small step size is required for the accurate representation of relatively low-
level signals.
Therefore, a granular noise can be removed by taking a small resolution of step size
and a slope over load distortion can be removed by taking a large resolution.
Key takeaway
The input for Delta modulation be f(t) = A cos ωmt.
19 | Unit 2 DC
2.9 Adaptive Delta Modulation
In digital modulation, we have come across certain problem of determining the step-
size, which influences the quality of the output wave.
A larger step-size is needed in the steep slope of modulating signal and a smaller
step size is needed where the message has a small slope. The minute details get
missed in the process. So, it would be better if we can control the adjustment of step-
size, according to our requirement in order to obtain the sampling in a desired
fashion. This is the concept of Adaptive Delta Modulation.
Following is the block diagram of Adaptive delta modulator.
20 | Unit 2 DC
The gain of the voltage-controlled amplifier is adjusted by the output signal from the sampler. The
amplifier gain determines the step-size and both are proportional.
ADM quantizes the difference between the value of the current sample and the predicted value of
the next sample. It uses a variable step height to predict the next values, for the faithful
reproduction of the fast-varying values.
Key takeaway
ADM quantizes the difference between the value of the current sample and the predicted value of
the next sample. It uses a variable step height to predict the next values
2.10 Adaptive DPCM
Adaptive Differential Pulse Code Modulation (ADPCM), also called Delta Pulse Code Modulation,
is a compression coding for a signal, which is based on differential values similar to Differential
Pulse Code Modulation (DPCM), and in which the scaling of the quantization stages is additionally
adjusted (adapted) depending on the signal curve.
ADPCM is a pulse code modulation with prediction function. When the signal is processed, an
attempt is made to predict the further course of the signal within the next section. For the
quantization of the signal in the next time step only the difference between predicted and real
signal is used. Due to this difference formation, fewer bits can be used to describe the signal.
With this method, both the prediction function and the quantization level are "adapted" anew with
each work step. This control loop provides a better signal prediction than DPCM.
2.11 Comparison of PCM and DM
21 | Unit 2 DC