Unit - 3
Pulse modulation systems
In PAM, amplitude of pulses is varied in accordance with instantaneous value of modulating signal.
Fig 1 PAM waveform
PAM Generation:
The carrier which is in the form of narrow pulses has frequency fc. The uniform sampling takes place in multiplier to generate PAM signal. Samples are placed Ts sec away from each other.
Fig 2 PAM Modulator
- The circuit is simple emitter follower.
- In the absence of the clock signal, the output follows input.
- The modulating signal is applied as the input signal.
- Another input to the base of the transistor is the clock signal.
- The frequency of the clock signal is made equal to the desired carrier pulse train frequency.
- The amplitude of the clock signal is chosen the high level is at ground level(0v)
- Low level at some negative voltage sufficient to bring the transistor in cut-off region.
- When clock is high, circuit operates as emitter follower and the output follows in the input modulating signal.
- When clock signal is low, transistor is cut-off and output is zero.
- Thus, the output is the desired PAM signal.
PAM Demodulator:
The PAM demodulator circuit which is just an envelope detector followed by a second order op-amp low pass filter (to have good filtering characteristics) is as shown below
Fig 3 PAM Demodulator
Key takeaway
The carrier which is in the form of narrow pulses has frequency fc. The uniform sampling takes place in multiplier to generate PAM signal. Samples are placed Ts sec away from each other.
There are two types of PTM systems. They are Pulse width modulation (PWM) and Pulse Position Modulation (PPM).
Pulse Width Modulation
In this type of modulation, the amplitude is maintained constant but the width of each pulse is varied in accordance with instantaneous value of the analog signal. In PWM information is contained in width variation. This is similar to FM. In pulse width modulation (PWM), the width of each pulse is made directly proportional to the amplitude of the information signal.
Fig 4 PWM waveform
PPM
In this type of modulation, the sampled waveform has fixed amplitude and width whereas the position of each pulse is varied as per instantaneous value of the analog signal. PPM signal is further modification of a PWM signal.
PPM and PWM modulator
Fig 4 PTM Modulator
- The PPM signal can be generated from PWM signal.
- The PWM pulses obtained at the comparator output are applied to a mono stable multi vibrator which is negative edge triggered.
- Hence for each trailing edge of PWM signal, the monostable output goes high. It remains high for a fixed time decided by its RC components.
- Thus, as the trailing edges of the PWM signal keeps shifting in proportion with the modulating signal, the PPM pulses also keep shifting.
- Therefore, all the PPM pulses have the same amplitude and width. The information is conveyed via changing position of pulses.
Fig 5 PWM and PPM Modulation waveforms.
PWM Demodulator
Fig 6 PWM Demodulator
- Transistor T1 works as an inverter.
- During time interval A-B when the PWM signal is high the input to transistor T2 is low.
- Therefore, during this time interval T2 is cut-off and capacitor C is charged through an R-C combination.
- During time interval B-C when PWM signal is low, the input to transistor T2 is high, and it gets saturated.
- The capacitor C discharges rapidly through T2.
- The collector voltage of T2 during BC is low.
- Thus, the waveform at the collector of T2is similar to saw-tooth waveform whose envelope is the modulating signal.
- Passing it through 2nd order op-amp Low Pass Filter, gives demodulated signal.
PPM Demodulator
Fig 7 PPM Demodulator
- The gaps between the pulses of a PPM signal contain the information regarding the modulating signal.
- During gap A-B between the pulses the transistor is cut-off and the capacitor C gets charged through R-C combination.
- During the pulse duration B-C the capacitor discharges through transistor and the collector voltage becomes low.
- Thus, waveform across collector is saw-tooth waveform whose envelope is the modulating signal.
- Passing it through 2nd order op-amp Low Pass Filter, gives demodulated signal.
Key takeaway
In pulse time modulation system, we use the increased bandwidth consumed by pulses to obtain an improvement in noise performance by representing the sample values of the message signal by some property of pulse rather than amplitude.
Comparison between PAM, PPM and PWM
SR. NO. | PARAMETER | PAM | PWM | PPM |
1 | Type of Carrier | Train of Pulses | Train of Pulses | Train of Pulses |
2 | Variable Characteristic of the Pulsed Carrier | Amplitude | Width | Position |
3 | Bandwidth Requirement | Low | High | High |
4 | Noise Immunity | Low | High | High |
5 | Information Contained in | Amplitude Variations | Width Variations | Position Variations |
6 | Transmitted Power | Varies with amplitude of pulses | Varies with variation in width | Remains Constant |
7 | Need to transmit synchronizing pulses | Not needed | Not needed | Necessary |
8 | Complexity of generation and detection | Complex | Easy | Complex |
9 | Similarity with other Modulation Systems | Similar to AM | Similar to FM | Similar to PM |
10 | Output waveforms | Refer Figure down | Refer Figure down | Refer Figure down |
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.8: 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.
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.
This is a form of distortion of a signal, in which one or more symbols interfere with subsequent signals, causing noise or delivering a poor output.
Causes of ISI
The main causes of ISI are −
- Multi-path Propagation
- Non-linear frequency in channels
The ISI is unwanted and should be completely eliminated to get a clean output. The causes of ISI should also be resolved in order to lessen its effect.
To view ISI in a mathematical form present in the receiver output, we can consider the receiver output.
The receiving filter output y(t)y(t) is sampled at time ti=iTb (with i taking on integer values), yielding –
y(ti)= μ∑akp(iTb−kTb)
= μai+μ∑akp(iTb−kTb)
In the above equation, the first term μai is produced by the ith transmitted bit.
The second term represents the residual effect of all other transmitted bits on the decoding of the ith bit. This residual effect is called as Inter Symbol Interference.
In the absence of ISI, the output will be −
y(ti)=μai
This equation shows that the ith bit transmitted is correctly reproduced. However, the presence of ISI introduces bit errors and distortions in the output.
While designing the transmitter or a receiver, it is important that you minimize the effects of ISI, so as to receive the output with the least possible error rate.
Key takeaway
The main causes of ISI are −
- Multi-path Propagation
- Non-linear frequency in channels
An eye diagram or eye pattern is simply a graphical display of a serial data signal with respect to time that shows a pattern that resembles an eye.
The signal at the receiving end of the serial link is connected to an oscilloscope and the sweep rate is set so that one- or two-bit time periods (unit intervals or UI) are displayed. This causes bit periods to overlap and the eye pattern to form around the upper and lower signal levels and the rise and fall times. The eye pattern readily shows the rise and fall time lengthening and rounding as well as the horizontal jitter variation.
Fig. 9: eye diagram
For reliable communication, we need to have a quality output. The transmission losses of the channel and other factors affecting the quality of the signal. The most occurring loss, as we have discussed, is the ISI.
To make the signal free from ISI, and to ensure a maximum signal to noise ratio, we need to implement a method called Equalization.
Fig.10: Equalization
The noise and interferences which are denoted in the figure, are likely to occur, during transmission. The regenerative repeater has an equalizer circuit, which compensates the transmission losses by shaping the circuit. The Equalizer is feasible to get implemented.
Key takeaway
To make the signal free from ISI, and to ensure a maximum signal to noise ratio, we need to implement a method called Equalization.
There are two types of Quantization - Uniform Quantization and Non-uniform Quantization.
The type of quantization in which the quantization levels are uniformly spaced is termed as a Uniform Quantization. The type of quantization in which the quantization levels are unequal and mostly the relation between them is logarithmic, is termed as a Non-uniform Quantization.
Companding
It is a combination of Compressing and Expanding, which means that it does both. This is a non-linear technique used in PCM which compresses the data at the transmitter and expands the same data at the receiver. The effects of noise and crosstalk are reduced by using this technique.
There are two types of Companding techniques. They are −
A-law Companding Technique
- Uniform quantization is achieved at A = 1, where the characteristic curve is linear and no compression is done.
- A-law has mid-rise at the origin. Hence, it contains a non-zero value.
- A-law companding is used for PCM telephone systems.
µ-law Companding Technique
- Uniform quantization is achieved at µ = 0, where the characteristic curve is linear and no compression is done.
- µ-law has mid-tread at the origin. Hence, it contains a zero value.
- µ-law companding is used for speech and music signals.
µ-law is used in North America and Japan.
Key takeaway
A-law Companding Uniform quantization is achieved at A = 1, where the characteristic curve is linear and no compression is done.
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
Fig 11 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/sec 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.
Fig 12 TDM transmission with baseband filtering and its waveform
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.
Fig 13 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/sec 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
A line code is the code used for data transmission of a digital signal over a transmission line. This process of coding is chosen so as to avoid overlap and distortion of signal such as inter-symbol interference.
Properties of Line Coding
Following are the properties of line coding −
- As the coding is done to make more bits transmit on a single signal, the bandwidth used is much reduced.
- For a given bandwidth, the power is efficiently used.
- The probability of error is much reduced.
- Error detection is done and the bipolar too has a correction capability.
- Power density is much favorable.
- The timing content is adequate.
- Long strings of 1s and 0s is avoided to maintain transparency.
Types of Line Coding
There are 3 types of Line Coding
- Unipolar
- Polar
- Bi-polar
Unipolar Signaling
Unipolar signaling is also called as On-Off Keying or simply OOK.
The presence of pulse represents a 1 and the absence of pulse represents a 0.
There are two variations in Unipolar signaling −
- Non-Return to Zero NRZ
- Return to Zero RZRZ
Unipolar Non-Return to Zero NRZ
In this type of unipolar signaling, a High in data is represented by a positive pulse called as Mark, which has a duration T0 equal to the symbol bit duration. A Low in data input has no pulse.
The following figure clearly depicts this.
Fig 14 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 RZRZ
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 15 Unipolar RZ
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.
Fig 16 Polar NRZ
Advantages
The advantages of Polar NRZ are −
- It is simple.
- No low-frequency components are present.
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.
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 17 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.
Fig 18 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
Following are the 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.
Fig 19 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:
Assume that there are n channels each channel is bandlimited to fm to be time division multiplexed. Let N be the length of the PCM code so that there are 2N = L quantisation levels. Then the bit rate of the PCM system becomes
Bit rate = 2fm [n(N+1) + 1] Hz
If N>>1 and n>>1 for practical situations, the bit rate is given by
Bit rate = 2nNfm
Then bandwidth of PCM is given by
BW = Bit rate/2
Signal to noise ratio in PCM:
SNR= (signal power)/ (noise power)
Signal power=p Quantization error=ἐ=xq(nT)-x(nT) =(xmax-xmin)/2n
Where, n is code word length.
|e| =
Quantization noise power=E[e2]
(limits from - to )
(limits from - to )
If the signal is defined from –xmax to +xmax
Then Δ =(2xmax)/2n
(S/N) PCM=(12p)/(2xmax/2n)2
=(12p*22n)/(4xmax2)
=(3p*22n)/xmax2
For normalized signal xmax=1
Then SNR for normalized signal is slightly less than or equal to 3.1*22n i.e.
(S/N) PCM for normalized signal≤3.1*22n
(S/N) PCM in dB=10log10(3*22n) =4.8+6n
For increasing one bit then (S/N) PCB will increase to 6dB.
Key takeaway
(S/N) PCM for normalized signal≤3.1*22n
(S/N) PCM in dB=10log10(3*22n) =4.8+6n
Examples
Q1) A PCM system uses a uniform quantizer followed by a 7-bit encoder. The system bit rate is 50Mbits/sec. Calculate the maximum BW of the message signal for which this system operates?
A1) Bit rate r = 50Mbits/sec
N=7
Bit rate r=Nfs
fs=50Mbits/sec/7=7.14MHz
Maximum signal BW =fs/2 = 7.14/2= 3.57MHz
Q2) The BW of a video signal is 4.5MHz. The signal is to be transmitted using PCM with the number of quantization level Q = 1024. The sampling rate should be 20% higher than the Nyquist rate. Calculate the system bit rate?
A2) Band width W =4.5MHz
From Nyquist rate fs= 2W= 9MHz
But fs should be 20% higher than Nyquist rate
fs = 1.2 x 9MHz = 10.8MHz
Q=2N
1024=2N
N =10
System bit rate r= Nfs = 10x10.8MHz = 108MHz
Q3) A band-limited signal m(t) of 3 kHz bandwidth is sampled at rate of 33⅓ % higher than the Nyquist rate. The maximum allowable error in the sample amplitude (i.e., the maximum quantization error) is 0.5% of the peak amplitude mp. Assume binary encoding. Find the minimum bandwidth of the channel to transmit the encoded binary signal.
A3) The Nyquist rate is RN = 2 x 3000 Hz = 6000 Hz (samples/second), but the actual rate is 33⅓ % higher, so that is 6000 Hz + (⅓ x 6000) = 8000 Hz.
The quantization step is and the maximum quantization error is plus/minus /2. Hence, we can write
/2 =mp/L=0.5mp/100
L= 200
For binary coding, L, must be a power of two; therefore, knowing that L = 27 = 128 and 28 = 256, we must choose n = 8 to guarantee better than a 0.5% error.
Having chosen n = 8 to guarantee 0.5% error, to find the bandwidth required we note that Total number of bits per second = 8 bits 8000 Hz = 64,000 bits/second C However, we know we can transmit 2 bits/Hz of bandwidth, so it requires a bandwidth BT of
BT= C/2 =32000Hz or 32kHz
If 24 such signals are multiplexed on a single line (known as a T1 Line in the Telephone system, then CT1 = 24 x 64 kb/s = 1.536 Mb/s, and the bandwidth is 768 KHz.
Q4) We are given a signal m(t) = 2cos (2250 t) as the signal input. Find the SNR with 8-bit PCM.
A4) For 8-bit encoding, L = 2n where n = 8, therefore, the number of levels = 256.
The amplitude Am of the sinusoidal waveform means that mp = 2 volts.
The total signal swing possible (- mp to + mp) will be 2mp = 4 volts, therefore, the average signal power is Pave = [(Am )2 /2] = [22/2] = 2 watts.
The interval = [2mp /L] = 4 volts/256 levels = 1.625 10-2 volt
Using for the quantization noise Nq = [()2 /12], and taking Pave = 2 W, the SNR is given by
Q5) We are given a signal m(t) = 2cos(2250 t) as the signal input. If the minimum SNR is to be at least 36 dB, how many bits n are needed to encode the signal (i.e., find n)? Use signal power as mentioned in Q4.
A5) Note that 36 dB is numerically equivalent to 3,981 [about 4,000].
Remembering that the interval is = [2mp /L] and
2mp = 4 volts.
Therefore, we can determine the number of levels L, and then n.
The lowest integer number of bits n that will give at least 31.5 levels is n = 5 because 25 = 32 levels.
So, the answer is 5 bits.
Q6) The number of bits in a binary PCM system is increased from n to n+1. As a result, the signal quantization noise ratio will improve by a factor
(a) (n+ 1)/n
(b) 2(n+1) /n
(c) 4
(d)Which is independent of n.
A6)
For
Q7) The bandwidth required for the transmission of a PCM signal increases by a factor of _____when the number of quantization levels is increased from 4 to 64.
(a) 2 Times (b) 3 Times (c) 4 Times (d)Which is independent of quantization levels
A7)
(Bandwidth)PCM=nfm
Where n-number of bits n in PCM code fm – signal bandwidth
Q8) A sinusoidal signal with peak-to-peak amplitude of 1.536 V is quantized into 128 levels using a midtread uniform quantizer. The quantization noise power is (a) 0.768 V (b)48 × 10-6 v2 (c) 12 × 10-6 v2 (d)3.072 V
A8)
Q9) In a PCM system, the signal m(t) = {sin (100πt) + cos(100πt)} V is sampled at the Nyquist rate. The samples are processed by a uniform quantizer with step size 0.75 V. The minimum data rate of the PCM system in bits per second is?
A9) Nyquist rate =2x50=100 samples/s
Step size = m(t)max - m(t)min/L
Number of levels L = √2-(-√2)/0.75 = 4
Number of bits required to encode 4 levels = 2bits/level
Data rate = 2x100=200 bits/s
Q10) A television signal with a bandwidth of 4.2 Mz is transmitted using binary PCM. The number of quantization levels are 512. Calculate (a) code word length (b) Transmission bandwidth (c) Final bit rate (d) Output signal to quantization noise ratio
A10)
Signal Bandwidth =4.2 MHz, N=512
(a) n= codeword length
(b) Bandwidth
(c) Final bit rate
Bit rate
References:
[1] John G.Proakis, M. Salehi, Communication Systems Engineering, 2nd ed. New
Delhi, India. PHI Learning Private Limited, 2009.
[2] R.P Singh and S.D Sapre, Communication Systems Analog & Digital, 2nd ed. New Delhi, India. Tata McGraw Hill Education Private Limited, 2009.