Partial preview of the text
Download delta modulation delta modulation and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!
Delta Modulation We have seen in PCM that, it transmits all the bits which are used to code the sample. Hence signaling rate and transmission channel bandwidth are large in PCM. To overcome this problem Delta Modulation is used. 2.1 Delta Modulation 2.1.1 Operating Principle of DM Delta modulation transmits only one bit per sample. That is the present sample value is compared with the previous sample value and the indication,whether the amplitude is increased or decreased is sent. Input signal x({f) is approximated to step signal by the delta modulator. This step size is fixed. The difference between the input signal x(t) and staircase approximated signal confined to two levels, ie +6and-6. If the difference is positive, then approximated signal is increased by one step ie. '6. If the difference is negative, then approximated signal is reduced by โ5. When the step is reduced, โ0โ is transmitted and if the step is increased, โ1โ is transmitted. Thus for each sample, only one binary bit is transmitted. Fig. 2.1.1 shows the analog signal x(!) and its staircase approximated signal by the delta modulator. a an ne rn ee fone โ oe 4. I x (t) T 1. Amplitude โ i] tee [7 โ t โt Jit | Sampling | | toot period TT i i 1 ] | ro ppp dy | 4. 4 โ + | t t t Binary one 1+ H u | |} toi | uma โLom nitsequencer* 0} 1 1/4, 4) 1/4/0 1)G 0/0 a]4 alii Fig. 2.1.1 Delta modulation waveform 2-2 Delta Modulation The principle of delta modulation can be explained by the following set of equations. The error between the sampled value of x(t) and last approximated sample is given as, e(nT,) = xQ1T.)- k(n T,) w+ (2.1.1) Here, e(nT,) = Error at present sample x(nT,) = Sampled signal of x(t) X(nT,) = Last sample approximation of the staircase waveform. We can call u(#T,) as the present sample approximation of staircase output. Then, ul(1-1)T,] = ยฃ(nT,) we (21.2) = Last sample approximation of staircase waveform. Let the quantity (1 T,) be defined as, b(nT,) = dsenle (aT) eve (2.1.3) That is depending on the sign of error e(nT,) the sign of step size ยง will be decided. In other words, b(nT,) = +6 if x(nT,) 2 X(nT,) = -3 if = x(uT,) < &(nT,) wee (2.1.4) If b(nT,) = +8; binary โ1โ is transmitted and if b(nT,) = -8; binary โ0โ is transmitted. T, = Sampling interval. s 2.1.2 DM Transmitter Fig. 2.1.2 (a) shows the transmitter based on equations 2.1.3 to 2.1.5. The summer in the accumulator adds quantizer output (+8) with the previous sample approximation. This gives present sample approximation. i.e., u(nT,;) =u(nT, ~T,)+[+6] or = ul[(n-1)T,]+o(nT,) wee (2.1.5) The previous sample approximation ยซ[(1โ1)T,] is restored by delaying one sample period T,. The sampled input signal x(n T,) and staircase approximated signal X(nT,) are subtracted to get error signal ยข(nT;). 2-4 Delta Modulation 2.2 Advantages and Disadvantages of Delta Modulation 2.2.1 Advantages of Delta Modulation The delta modulation has following advantages 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. There is no analog to digital converter involved in delta modulation. 2.2.2 Disadvantages of Delta Modulation Granular noise Slope - overfoad distortion Staircase aa eee ut) t Fig. 2.2.1 Quantization errors in delta modulation The delta modulation has two drawbacks - 2.2.2.1 Slope Overload Distortion (Startup Error) This distortion arises because of the large dynamic range of the input signal. As can be seen from Fig. 2.2.1 the rate of rise of input signal x(t) is so high that the staircase signal cannot approximate it, the step size '6' becomes too small for staircase signal w(i) to follow the steep segment of x(t). Thus there is a large error between the staircase approximated signal and the original input signal x(t). This error is called slope overload distortion. To reduce this error, the step size should be increased when slope of signal of x(4) is high. Since the step size of delta modulator remains fixed, its maximum or minimum slopes occur along straight lines. Therefore this modulator is also called Linear Delta Modulator (LDM). 2.2.2.2 Granular Noise (Hunting) 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 2-5 Delta Modulation signal is changed by large amount (8) because of large step size. Fig. 2.2.1 shows that when the input signal is almost flat, the staircase signal w(t) keeps on oscillating by +6 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 (to reduce slope overload distortion) and small steps are required to reduce granular noise. Adaptive delta modulation is the modification to overcome these errors. um Example 2.2.1: Using predictability theory, prove that transmission of encoded error signal (rather than encoded signal itself is sufficient for reasonable reconstruction of signal. With the help of block schematic suggest any one technique to transmit and receive encoded errors, What are the limitations and advantages of such techniques with reference to linear or uniform PCM ? Solution: Here the technique that uses predictibility theory is basically delta modulation. The output of the accumulator in DM transmitter is given by equation 2.1.5 as, u(nT,) u[(i = 1)T, | b(nT,) ww (2.2.1) Here b(nT,) ยฃ8 or Ssgn[e(nT,)] Thus b(nT,) basically represents error signal. Sign of step size โ6โ depends upon whether e(nT,) is positive or negative. Now we will show that the signal can be reconstructed only with the help of encoded error signal, ie. nT,). The accumulator of Fig. 2.1.2(b) acts as a delta modulation receiver. u(n7,) is the output of accumulator. For simplicity let us drop T, in equation 2.2.1 Then we get, u(n) = u(n=1)+b(n) wwe (2.2.2) Observe that this is recursive equation. Hence u(nโ1) can be calculated as, a(nโ=1) = u(nโ2)+b(n-1) we (2.2.3) Hence equation 2.2.2 becomes, un) = u(n ~ 2) + b(n -1) + b(n) wee (2.24) From equation 2.2.3 we can calculate u(n โ 2) as, ula โ2) = u(nโ-3)+b(n-2) Hence equation 2.2.4 becomes, u(n) = uit โ 3) +6{n โ 2) +b(n โ1) +-0(n) 2-7 Delta Modulation For example if one bit quantizer output is high (1), then step size may be doubled for next sample. If one bit quantizer output is low, then step size may be reduced by one step. Fig. 2.3.2 shows the waveforms of adaptive delta modulator and sequence of bits transmitted. In the receiver of adaptive delta modulator shown in Fig. 2.3.1 (b) the first part generates the step size from each incoming bit. Exactly the same process is followed as that in transmitter. The previous input and present input decides the step size. It is then given to an accumulator which builds up staircase waveform. The low-pass filter then smoothens out the staircase waveform to reconstruct the smooth signal. a | . Time-=; jemi} + +] sf 1]0f of of of x] 0] 1 of] { L Lt. Fig. 2.3.2 Waveforms of adaptive delta modulation 2.3.3 Advantages of Adaptive Delta Modulation Adaptive delta modulation has certain advantages over delta modulation, i.e., 1. The signal to noise ratio is better than ordinary delta modulation because of the reduction in slope overload distortion and granular noise. 2. Because of the variable step size, the dynamic range of ADM is wide. 3. Utilization of bandwidth is better than delta modulation. Plus other advantages of delta modulation are, only one bit per sample is required and simplicity of implementation of transmitter and receiver. imp Example 2.3.1: Consider a sine wave of frequency f,, and amplitude A,, applied to a delta modulator of step size 5. Show that the slope overload distortion will occur if 2-8 Delta Modulation 6 An > aE where T, is the sampling period. (Nov/Dec.-2004, 4 Marks) Solution : Let the sine wave be represented as, x(t) = A,, sin(2xf,, 1) Slope of x(t) will be maximum when derivative of x(t) with respect to โtโ will be maximum. The maximum slope of delta modulator is given from Fig. 2.1.1 as, Step size Max. sh = โโ_iโโ_ ax. slope Sampling period _ i a we (2.3.1) Slope overload distortion will take place if slope of sine wave is greater than slope of delta modulator ie. d รฉ marl xt > rT max{ tA sin (Qn f, A > a" m max|Ay, 27 fy, OS (27 fy Of > Am 2 fy > wo alo oie 3 A โ_ > or m > OFT, (23.2) โmp Example 2.3.2: A delta modulator system is designed to operate at five times the Nyquist rate for a signal with 3 kHz bandwidth. Determine the maximum amplitude of @ 2 kHz input sinusoid for which the delta modulator does not have slope over load. Quantizing step size is 250 mV. Derive the formula that you use. Solution : In example 2.3.1 we have derived the relation for slope overload distortion which will occur if, รฉ An > fT By equation 2.3.2 ww (2.3.3) 2-11 Delta Modulation 4x103 2nx103 /(2x104) > 0.01273 We know that A is 0.1 V which is greater than 0.01273. Hence slope overload distortion will occur for step size of 4 mV. For k = 60 mV From equation 2.3.5 slope overload will occur if K A > poo 2mm | fs 60x 10-3 2nx109 /(2%104) > 0.19098 Since A is 0.1 V, the slope overload distortion will not ocur in this case. This is because A(0.1 V) is less than 0.19098 V. Hence slope overload distortion will not occur for step size of 60 mV. Sr, No, Step size k Slope overload distortion 1. k=4 mv Slope overload distortion occurs 2. k = 60 mv Slope overload distortion will not occur Table 2.3.1 Results ua Example 2.3.4: Find the signal amplitude for minimum quantization error in a delta modulation system if step size is 1 volts having repetition period 1 ms. The information signal operates at 100 Hz. Solution : The quantization error is minimum when slope overload distortion is absent. Then the quantization error is due to granular noise only. We know that the slope overload distortion is absent if, รฉ m An = โ 20 fy Ti 5 Here A,, is the signal amplitude 6 is step size. Given 1V fm iS signal frequency. Given 100 Hz T, is sampling duration. Given 1 ms. 2-42 Delta Modulation Hence signal amplitude becomes, 1 A > 2nx 100x1x10-3 ie. Ay $ 16V That is, the signal amplitude should be less than 1.6 volts to have minimum quantization error. muยป Example 2.3.5 : Derive an expression for signal to quantization noise power ratio for delia modulation. Assume that no slope overload distortion exists. [March-2006, 16 Marks] Solution : (i) To obtain signal power : In example 2.3.1 we have derived that slope overload distortion will not occur if 6 An ยฉ Say Here A,, is peak amplitude of sinusoided signal 6 is the step size Fry is the signal frequency and T, is the sampling period. From above equation, the maximum signal amplitude will be, - 3 Ay = oy, a (2.3.6) Signal power is given as, . Pere Here V is the rms value of the signal. Here V = &. Hence above equation becomes, A P=|-โ= R (J Normalized signal power is obtained by taking R = 1. Hence, AZ P= 2 2-14 Delta Modulation From equation 2.3.8, el E[e] = fe? โag fe + - 4S] 28| 3 5 1/63 83 ยง2 = ast s|-5 wo (2.3.9) Hence noise power will be, . 8? noise power = (=) R Normalized noise power can be obtained with R = 1. Hence, 82 noise power = โโ wsยป (2.3.10) 3 This noise power is uniformly BU) distributed over โf, to f, range. This is illustrated in Fig. 2.3.5. At the output of delta modulator receiver there is lowpass reconstruction filter whose cutoff frequency is "W'. This cutoff frequency is equal to highest signal t frequency. The reconstruction filter passes part of the noise power at the output as Fig. 2.3.5. From the geometry of Fig. 2.3.5, output noise power will be, Fig. 2.3.6 PSD of noise 2 Output noise power= W ynoise power = We = s Ss We know that f, =} hence above equation becomes, s WT,82 Output noise power= 3 w+ (2.3.11) 2-15 Delta Modulation (lil) To obtain signal to noise power ratio Signal to noise power ratio at the output of delta modulation receiver is given as, 5 Normalized signal power N Normalized noise power From equation 2.3.7 and equation 2.3.11, 82 S _ anyer? N WT,8? 3 S 3 NW Brewer we (2.3.12) This is an expression for signal to noise power ratio in delta modulation, iim Example 2.3.6 : A DM system is designed to operate at 3 times the nyquist rate for a signal with a 3 kHz bandwidih. The quantizing step size is 250 mV. (i) Determine the maximum amplitude of a 1 kHz input sinusoid for which the delta modulator does not show slope overload. (ii) Determine the postfiltered output SNR for the signal of part (i). (May/June-2004, 8 Marks] Solution : Given data Bandwidth, W Signal frequency, f,,, Nyquist rate = 2f,, = 2x1 kHz = 2 kHz 3 kHz 1 kHz Mt Sampling frequency, f, = 3x myquist rate = 3x2kHz = 6 kHz Step size,6 = 250 mV 1 T, E 1 6000 2-17 Delta Modulation โโ, see. 200x103 (i) To obtain step size From equation 2.3.4 we have, 6 An S = mS fm Ts Under this condition slope overload will not occur. From above equation step size will be, 6 > 2mfTsAn Putting values in above equation, 1 & = 2nx10,000x โโโ___ x 200x103 0.5 2 0157 V Thus the step size greater than 157 mV will prevent the slope overload. {ii) To obtain signal to noise ratio Signal to noise ratio of delta modulation system is given by equation 2.3.12 as, s 3 N ~ gn2wfet This is post filtered signal to noise ratio. In this example value of 'W' is not given. Hence we will calculate signal to noise ratio from equation 2.3.7 and equation 2.3.10 as, 52 S$ _ bn? f2T 2 N $2 = _ 3 - entfaTZ Putting values in above equation. er Nex (10,000)2 Hwan ny (200x103) 15.2 = 11.8 dB. a 2-18 Delta Modulation im Example 2.3.8: Consider the test signal m(t) defined by a hyperbolic tangent function m(t) = A tani (Bt), where A and B are constants. Determine the minimum step size 6 for delta modulation (DM) of this signal, which is required to avoid slope overload. Solution : The given signal is, m(t) = A tanh (Bt) 4 yy = A.โB__ dt m() A cosh(Bt) To avoid slope overload, 6 d a mi(t) | 7, 7 mex 6 B โ > a T; mals cosh 2p] = ABmax| COs np Maximum value of is 1. Hence above equation becomes, 1 cos h? (Bt) 6 Fr? 4B or 6&2 APT, Thus the minimum value of step size is, Simin = ABT, to avoid slope overload. imp Example 2.3.9 : In a single integration DM scheme the voice signal is sampled at a rate of 64 kHz. The maximum signal amplitude is 2 volts. Voice signal bandwidth is 3.5 kHz. Determine the minimurn value of step size to avoid slope over load and calculate granular noise power. Solution : The given data is, . 1 64x10ยฐHz =. iT, = fs 564x103 Ay = 2V im fa = W=35 kHz = 3500 Hz 2-20 Delta Modulation 1l< 2nx 3500x โ_ 64105 6 = 0.3436 volts ii) To obtain granular noise power Noise power is given by equation 2.3.11 as, wy. = WTS? _W5? rn a) a 3.5x 103 x (0.3436)? 3x 64103 2.15 mW iii) To obtain S/N ratio Amplitude of the signal is 1V. For sinusoidal signal, the signal power will be 1 = Hse P= 7] 5 W Hence signal to noise ratio will be, 5 = Signal power _ 1/2 N ~ Noise power 215x109 7323 = logo % = 23.66 4B g โ Zim a i] iv) To calculate < ratio if signa! is uniformly distributed over the range (โ1, 1) fx) 4 Fig. 23.6 shows the pdf of the signal. It can be easily calculated that fx (2) = } if itis distributed over (-1, 1). 1 1 x Hence mean square value of the signal can be calculated as, ae 2 Fig. 2.3.6 Uniformly distributed signal 2-21 Delta Modulation โ 1 f tones [2-2 12]! M 4b 2s i, -1 1 ~ 3 tad is q a Normalized signal power = โ~~ =X? withR=1 _i = gw Hence signal to noise ratio becomes, 1 S$ _ Signal power _ 3 N Noise power 215x107 = or (ยฉ) = 10log 155 = 21.9 aB NJas