CS EXPERIMENT 11 01012021 095140am 18012021 012709am
CS EXPERIMENT 11 01012021 095140am 18012021 012709am
OBJECTIVE: The objective of this lab is to convert the analogue signal to digital signal using
the technique of delta modulation.
At the transmitter, the sampled value is compared with a predicted value and the difference
is quantized into one of the two values. The output of the quantizer is encoded using one binary
digit per sample and sent to the receiver.
With delta modulation, rather than transmitting a coded representation of the sample, only a
single bit is transmitted which simply indicates whether that sample is larger or smaller than the
previous sample. The algorithm for delta modulation is very simple. Since there is one bit of
quantization, the differences are coded into only of the two levels.
- If the current sample is smaller than the previous sample, a logic 0 is transmitted.
- If the current sample is larger than the previous sample, a logic 1 is transmitted.
The receiver reconstructs the staircase approximation directly from the received binary
information:
The system is in the form of a feedback loop (Figure 1). The sampler is clocked. The output from
the sampler is a bipolar signal, being either V volts. This is the data modulated signal, the
waveform of which is shown in Figure 2.
The integrator output is a sawtooth like waveform, also illustrated in Figure 13-2. The binary
waveform illustrated in Figure 13-2 is the signal transmitted.
This is delta modulation.
Intelligent selection of the following two parameters is important:
1) Step size
2) Sampling rate
Module
DCS-6000-04: Incorporates DCS7-1 DM Modulation Circuit and DCS68-1 DM
Demodulation Circuit
Circuit Diagram
Function
Generator (I)
500Hz/2V
Function
Generator (II)
32 kHz/5V
OSC
Figure 3: (a) Delta modulator block diagram (b) DCS58-1 delta modulator circuit diagram
The comparator U1 compares the audio signal with the output of the integrator. The D-type flip-
flop samples the output square wave to obtain the delta modulated signal. U2 is the unipolar to
bipolar converter. The analogue switch is used to vary the gain of the integrator. This has the
effect of varying the modulator’s step size.
The unwanted products of the modulation process, observed in the receiver, are of two kinds.
These are due to “slope overload” and “granuality”.
MEASUREMENT
1. Jumper J2 and J3 on the DCS7-1 board.
2. Input 500 Hz/2V sine wave to audio input port Audio I/P, and input 32 kHz/5V TTL
signal to the clock input port CLK I/P.
3. Use an oscilloscope to observe the signals at TP1 (comparator input), TP2
(comparator output), TP3 (unipolar-bipolar convertor output), TP4, and TP5
(integrator output).
4. Finally, connect the oscilloscope to DM O/P, and observe the delta modulated
signal.
5. You may jumper J2 and J4, input 1 kHz/2V sine wave to Audio I/P, and 64kHz/5V
TTL signal to CLK I/P, and observe the changes in the shape of the waveforms at
TP1 through TP5 and at DM O/P.
OBJECTIVE: The objective of performing this lab is to recover the original analogue signal
from the delta modulated digital signal.
The delta demodulator performs the reverse of the process implemented at the modulator in the
vicinity of the Sampler and the Integrator. The Sampler uses a clock stolen from the delta
modulator (transmitter). The Sampler accepts TTL signals as input, but gives an analogue output
for further analogue processing. The sampler which is clocked at the same rate as the clock at the
modulator, outputs a bipolar signal (+/-V volts). The integrator generates a sawtooth-like
waveform from it. This is an approximation to the original message. The sawtooth waveform
contains information at the message frequency, plus obvious unwanted frequency components
(quantizing noise). The unwanted components which are beyond the bandwidth of the original
baseband message are removed by a lowpass filter. You will find that the quality/shape of the
message output by delta modulation is relatively poor.
Circuit Diagram
DM O/P of
DCS7-1
32 kHz/5V
Function
Generator Analog
(II) O/P
hold on
for i=1:d
if d(i)>xn(i)
d(i)=0;
xn(i+1)=xn(i)-delta;
else d(i)=1;
xn(i+1)=xn(i)+delta;
end
end
plot(xn,'b*-');
xlabel('Xaxis');
ylabel('yaxis');
title('Delta Modulation-017');
legend('Real Signal','Delta Modulated Signal',' Delta Demodulated Signal')
Conclusion: