Delta modulation Report_
Delta modulation Report_
Course Instructors:
Dr. Lutfa Akter, Professor
Shafin-Bin-Hamid, Lecturer
i
Abstract:
Engineers working in the field of Speech Coding have been actively searching
for methods to reduce the bandwidth consumed by quantized speech signals. By
quantizing the amplitude difference (delta) between two samples rather than the
total sample amplitude, the delta modulation approach decreases the
unnecessary bandwidth and requires fewer quantization levels to maintain the
same signal quality. The present study experimentally investigated the encoding
and decoding of an analog signal using delta modulation. During the encoding
process, the analog signal has been sampled, quantized, and encoded to convert
into a digital signal whereas the decoding process recovered the original signal.
Introduction:
Analog and digital signals have been transformed into one another's forms in
modern times. Multiple approaches have been developed for this objective; each
has advantages and disadvantages. Delta modulation is one method used to
transform analog signals into digital signals or vice versa.
Delta modulation was introduced by John R. Pierce, who also invented video
telephony and the FM radio in his 1949 paper “Some novel methods for
transmitting the information.” It is a technology that helps increase the speed of
communication up to V2V and V2I communication.
L=2n ……………………………………………………(1)
Since L equals 2 and n equals 1, delta modulation can explain a single-bit
encoder as either 0 or 1.
Page 01
Literature Review:
As PCM has the property of converting message signal directly into a sequence
of a binary coded pulse, this resultantly increases the bandwidth requirement of
the system. So, in order to remove the drawbacks of PCM, delta modulation is
used.
The process of delta modulation compares the current sample value to the prior
sample value. The amplitude of the step signal will be raised or lowered based
on the difference. When the amplitude is raised, the signal is increased by one
step, resulting in bit 1. If the amplitude is lowered, the signal is reduced by one
step, resulting in bit 0.
________________________________________________________________________________________
Page 02
The integrator circuit has a Ts delay. The integrator’s output is a Ts-delayed
ramp approximation. The error signal is the difference between this ramp
approximation and the current sampling input signal.
This erroneous signal is sent into the sampler circuit, which is made up of a hard
limiter and an input-output relationship. The signal is sampled here into two
values, namely. The sampled output is unipolar and then it is converted to bipolar
signal to generate the appropriate Delta modulated wave.
Demodulation is performed in the receiver circuit using a low pass filter. The
modulated wave is then gone through a -60 dB low pass filter which is designed
with a certain cut off frequency (a bandwidth equal to the original signal
bandwidth) that directly reconstruct the input signal quite perfectly.
________________________________________________________________________________________
Page 03
Slope Overload Distortion
This distortion arises because of large dynamic range of the input signal.
We can observe from the given figure the rate of rise of input signal x(t) is so
high that the staircase signal cannot approximate it , the step size ‘Δ’ becomes
too small for staircase signal u(t) to follow the step segment of x(t).
Hence, there is a large error between the staircase approximated signal and
the original input signal x(t).
From the given figure we can see that when the input signal is almost flat, the
staircase signal u(t) keeps on oscillating by ±Δ around the signal. The error
________________________________________________________________________________________
Page 04
between the input and approximated signal is called granular noise. The
solution to this problem is to make the step size small.
Circuit Diagram:
________________________________________________________________________________________
Page 05
Circuit Design:
• Modulator
o Comparator: For our comparator, we will be using an Op-Amp (IC
741). This would compare our input message signal to the feedback
signal coming from our integrator circuit.
Page 06
o Clock Pulse: A 555 timer IC is to be used for generating the Clock
pulse. The frequency of our clock pulse would be around 10KHz
with duty cycle being less than 50%.
𝑡ℎ 𝑅1
𝐷𝑢𝑡𝑦 𝐶𝑦𝑐𝑙𝑒 = = ………..(ii)
𝑇 𝑅1+𝑅2
R1 = 476.2Ω ≈ 500 Ω
R2 = 952.4Ω ≈ 1000 Ω
Approximating R1 and R2 to 500 Ω and 1000 Ω respectively, we
get the below design values for our clock pulse
________________________________________________________________________________________
Page 07
• Demodulator:
________________________________________________________________________________________
Page 08
Simulation Model:
PSpice has been used to simulate our circuit based on the designs mentioned in
the previous section. The input message signal is a sinusoidal signal having
1KHz frequency. The schematics and the necessary plots have been presented
below:
5.0V
2.5V
0V
8.0ms 8.1ms 8.2ms 8.3ms 8.4ms 8.5ms 8.6ms 8.7ms 8.8ms 8.9ms 9.0ms
V(clock)
Time
Page 09
5.0V
0V
-5.0V
8.0ms 8.5ms 9.0ms 9.5ms 10.0ms 10.5ms 11.0ms 11.5ms 12.0ms
V(input) V(error) V(feedback)
Time
0V
-4.0V
8.0ms 8.5ms 9.0ms 9.5ms 10.0ms 10.5ms 11.0ms 11.5ms 12.0ms
V(input) V(pulse) V(feedback)
Time
0V
-5.0V
8.0ms 8.5ms 9.0ms 9.5ms 10.0ms 10.5ms 11.0ms 11.5ms 12.0ms
V(input) V(out) V(feedback)
Time
________________________________________________________________________________________
Page 10
2.0V
0V
-2.0V
8.0ms 8.5ms 9.0ms 9.5ms 10.0ms 10.5ms 11.0ms 11.5ms 12.0ms
V(input) V(dem_out)
Time
________________________________________________________________________________________
Page 11
Implementation & Data Collection
Description:
The whole project contains a modulator & a demodulator part for converting the
analog signal to digital and digital to analog form. In this way, the main message
signal is transmitted.
In the modulator part, an analog message signal is given as an input and a pulse
is generated throughout the process which is the modulated signal. To
accomplish different blocks, many essential components are used including IC
741, 555 Timer, IC 74HC74. Firstly, as we need to compare the present sampled
value with the previous sampled value, we have used an op-amp based
comparator. The output signal of the comparator which can be denoted as an
error signal, needs to be sampled and so it is sent to pin no 2 of D-Flip Flop (IC
74HC74). Another input of this D- Flip Flop is a clock which was generated
using a 555 Timer which had a 33% duty cycle & around 10kHz frequency. The
output is pin 5 of D-flip flop which is a pulse with two levels: 5V & 0V. This is
a unipolar signal that is to be converted to a bipolar signal with a peak-to-peak
voltage of 10V using another 741 Op-amp. This Op-amp’s noninverting pin gets
the output of D-flip flop and inverting pin gets +2.5V using voltage divider
across the resistor. The Op-amp then generates a bipolar signal having levels
+5V and -5V which is our desired Delta modulated signal. After that, this pulse
is sent to RC integrator which generates a delayed version of the output
modulated signal. This is then sent to the initial comparator where the two
signals are compared, generating an error signal.
In the demodulator part, the input is the delta modulated signal. The original
message signal is reconstructed after it passes through a -60dB low pass filter.
The LPF is designed with a cutoff frequency of 1kHz and so other high
frequency components are eliminated.
________________________________________________________________________________________
Page 12
Figure: Hardware Implementation of the Entire Project
________________________________________________________________________________________
Page 13
Data Collection:
Clock for Sampling:
Our target was to generate a clock of around 10kHz frequency & 33.33% duty
cycle.
From the oscilloscope plot,
Time period of the pulse, T = 0.104ms
Frequency of the pulse, f = 1/T = 9.615KHz
________________________________________________________________________________________
Page 14
Figure: Delta Modulated Signal along with Input signal
Integrator Output:
A pulse is sent into the integrator block which is an RC integrator and after
integrating, a triangular signal is produced. It is mainly generating a delayed
version of the modulated signal which is then sent to the comparator. At the peak
of the input signal, we observed small variation in the input wave. So, the ripples
were present at this part which represented granular noise.
________________________________________________________________________________________
Page 15
Comparator Output:
The comparator block compares the input signal & previous output signal.
From the oscilloscope plot, when the value of the message signal is higher than
the previous output signal, the comparator output is almost 5V and when the
value of the message signal is lower than the previous output signal, the
comparator gives an output of -2V. It matched with the simulated result.
________________________________________________________________________________________
Page 16
Demodulated Output:
We were able to reconstruct the original input signal after the delta modulated
signal passed through the low pass filter. However, as can be seen, the
reconstruction was not perfect. The presence of harmonic components resulted
in noticeable distortions in the final demodulated signal. Its amplitude was also
reduced and there was a slight phase shift.
________________________________________________________________________________________
Page 17
Figure: Reconstructed Signal along with Input Signal
when Slope Overload
________________________________________________________________________________________
Page 18
Granular Noise:
To observe granular noise, we decreased the main signal amplitude to 100mV
peak to peak. The waveform spreads as the slope decreases. Hence the
reconstruction was not perfect and showed significant amount of noise.
Analysis:
The most difficult part was to design the integrator as it had a significant role in
generating the previous value of the output modulated signal. An RC integrator
was used with a 1kHz resistor and a 0.1uF capacitor. The simulation showed an
optimum result so as the hardware. Another important part was the amplitude
and frequency of the message signal. If the amplitude & frequency of the
message signal was increased significantly, the reconstruction showed
discrepancies. As the low pass filter of the demodulator part was designed with
a cutoff frequency of 1kHz, increasing the input frequency will exceed this limit
and we won’t get our intended output. The final demodulated output showed
some unexpected noise which did not fully match with our simulations.
Results:
We ran simulations and examined each and every plot prior to putting the
hardware into place. The outcomes of our experiments and the simulations were
nearly identical. We can reduce the errors by improving the integrator and
making better implementation for the demodulator.
________________________________________________________________________________________
Page 19
Design Considerations:
Design Considerations for Public Health and Safety
When developing a hardware project, it's essential to prioritize public health and
safety considerations to ensure the safe operation of the system. We took
necessary design considerations in account for mitigating potential risks and
ensuring compliance with relevant safety standards.
By addressing these design considerations for public health and safety, we tried
to ensure that our hardware project involving delta modulation and
demodulation is not only technically sound but also safe for users and compliant
with regulatory requirements.
Designing the hardware for optimal energy efficiency helps reduce power
consumption during operation, minimizing the environmental footprint and
lowering energy costs. In out project, we tried to utilize as less resources as
possible, preferred low-power components, and optimizing algorithms for
energy efficiency.
Limitations of Tools:
While implementing the project on delta modulation and demodulation, we have
faced various limitations associated with the tools and techniques used in the
implementation of this project.
________________________________________________________________________________________
Page 20
modulation, which we could not add in our project due to lack of resources and
development time.
Impact Assessment
1)Assessment of Societal and Cultural Issues
As a modulation technique, delta modulation may have consequences in
different social and cultural contexts. The following are some things to think
about in terms of sociological and cultural aspects:
________________________________________________________________________________________
Page 21
educational programs to guarantee professionals have the necessary
skills to manage and troubleshoot systems that use delta modulation.
Consumer Electronics
• Cultural Impact: Products that use delta modulation may not be well
received on the market depending on consumer preferences and cultural
views regarding technology. It's critical that the technology be easily
integrated with current cultural norms and usage patterns.
Health Impacts
________________________________________________________________________________________
Page 22
• Human-Machine Interaction: Human-machine interaction can be
influenced by the layout and user interface of devices that use delta
modulation. User tiredness, eyestrain, and other health problems may
be exacerbated by poorly designed interfaces. These dangers can be
reduced through interface design that takes ergonomics into account.
Safety Impacts
________________________________________________________________________________________
Page 23
abide by the legal requirements of obtaining the necessary licenses for
spectrum usage and maintaining adherence to designated frequencies.
________________________________________________________________________________________
Page 24
Reflection on Individual and Team work:
Individual Contributions
Contribution
Student ID
________________________________________________________________________________________
Page 25
Log Book of Project Implementation
01/01/24 Selected the project 46, 55, 56, 57, 58, 59 The entire team
idea and prepared the all were present while conducted an online
project proposal preparing the proposal meeting for choosing
the project and
preparing the final
proposal
11/01/24 Circuit design for the 46, 55 presented a The designs were
modulator part design for the timer analyzed by the team
circuit
57,59 presented a
design for the flip flop
________________________________________________________________________________________
Page 26
14/01/24 Early-stage simulation 58 prepared an initial The simulation model
model simulation model was discussed and
based on the modulator analyzed by the team.
circuit design methods There were issues with
using Proteus outcomes of the model
which needed further
study
15/01/24 Final simulation model 57 presented the final The simulation model
simulation model using was discussed and
PSpice analyzed by the team
24/01/24 Demodulator circuit 56,58 provided the The design and the
design and simulations design for the simulation model were
demodulator circuit analyzed by the team
20/02/24 Final hardware 46, 58 implemented the The team made the
implementation modulator circuit final hardware
implementation of the
55, 57 implemented the entire circuit and took
timer circuit the necessary plot for
the final project report
56,59 implemented the
demodulator circuit
________________________________________________________________________________________
Page 27
User manual:
This project can be divided into two parts:
• Modulator:
1. Comparator
2. Sampler
3. Unipolar to bipolar converter
4. Integrator
5. Clock pulse
• Demodulator:
1. -60db low pass filter
Step by step guideline for the formulation of modulator circuit:
1.Comparator: An op-amp (IC 741) has been used as a comparator.
Connect terminal 3 of the op-amp to the signal generator and terminal 2 with the
output of the integrator circuit. Use +5V and -5V as the biasing of the op-amp
from a variable dc source, which should be connected with the terminal 7 and 4
of the op-amp.
The error voltage can be observed at terminal 6.
2.Sampler: D-Flip Flop (IC 74HC74) works as a sampler here. There is total 14
terminals on D-Flip Flop. Connect Pins 1,4 and 14 are to be supplied with +5V
DC supply and the Pin 7 is grounded. Connect output of the comparator is
supplied at Pin 2 as our input for the IC. A clock pulse (about 10KHz) is supplied
at Pin 3.
Unipolar signal is generated at Q (Pin 5) which is then sent to our next stage.
Page 28
Fig: Connection diagram of comparator, D-flip flop and Unipolar to bipolar
converter
Connect Terminal 6 of the op-amp with the integrator.
4.Integrator: Integrator circuit consists of 1k resistor and 0.1uF capacitor.
Connect one terminal of the resistor with the terminal 6 of the 2 nd op-amp and
other end with one terminal of the capacitor and connect this common point with
the 2nd terminal of the comparator. 2nd terminal of the capacitor is to be connected
with the ground.
5.Clock pulse: Connect the 555 timer IC according to the figure below which
generates clock pulse for sampling, having sampling frequency around 10Khz
and duty cycle 33.3%. Take the value of resistors and capacitor:
R1=500 Ohm, R2=1000 Ohm
C1=C2=0.1uF, Diode (IN4007)
________________________________________________________________________________________
Page 29
Fig: Schematic diagram of modulator circuit
________________________________________________________________________________________
Page 30
Future work:
In the project of delta modulation and demodulation there are some limitations
on which more work or research could be done further. Such as the demodulator
circuit has a cut off frequency of 1khz. So, it cannot reconstruct a signal having
frequency other than 1kHz. Further work can be done on this .The circuit is not
adaptive so it cannot avoid granular or slope overloading noise by changing its
step size. Predictor circuit can be used which will increase or decrease the step
size according to the signal to make less error. Future works on delta modulation
could focus on overcoming these limitations and improving its performance.
Here are some potential areas for future research:
1. Quantization Noise Reduction: Delta modulation suffers from high
quantization noise, especially at low signal-to-noise ratios. Future work could
explore advanced quantization techniques or noise shaping methods to
reduce the impact of quantization noise.
2. Adaptive Delta Modulation: Developing adaptive delta modulation
schemes that can adjust their parameters based on the characteristics of the
input signal. Adaptive algorithms could improve performance in varying
signal conditions and provide better compression in regions of the signal with
low variability.
3. Multirate Delta Modulation: Investigating multirate delta modulation
techniques that adapt the sampling rate based on the characteristics of the
input signal. Variable or adaptive sampling rates could be employed to
improve the coding efficiency for signals with different frequency
components.
4. Predictive Delta Modulation: Integrating predictive techniques to estimate
future samples and improve the predictive accuracy of delta modulation.
Predictive delta modulation can potentially reduce the quantization error by
predicting the next sample based on the previous samples.
Page 31
7. Robustness to Channel Errors: Designing delta modulation schemes that
are more robust to channel errors or variations. This is particularly relevant
for applications where the transmitted signal may be subject to channel
distortions or noise.
8. Applications in Emerging Technologies: Exploring the applicability of
delta modulation in emerging technologies such as Internet of Things (IoT),
wireless sensor networks, and edge computing. Adapting delta modulation to
the requirements of these new technologies may open up new possibilities
and use cases.
9. Machine Learning Integration: Investigating the integration of machine
learning techniques to enhance the performance of delta modulation.
Machine learning algorithms could potentially adapt the delta modulation
parameters based on the characteristics of the input signals, leading to
improved coding efficiency.
These future directions aim to address the limitations of delta modulation and
enhance its capabilities for various applications in the evolving field of digital
signal processing.
________________________________________________________________________________________
Page 32
Cost Analysis:
Jumper Wire
2 100 200
(40pc set)
IC 74HC74 1 40 40
IC 555 1 14 14
Diode (1N4007) 1 4 4
Resistor (1K) 7 5 35
Resistor (10K) 15 5 75
Capacitor (0.1u) 3 6 18
Capacitor (10n) 5 15 75
________________________________________________________________________________________
Page 33
References:
1. “What is slope overload distortion and granular noise in delta
modulation and how it is removed in adaptive delta modulation” -
https://electronicspost.com/what-is-slope-overload-distortion-and-
granular-noise-in-delta-modulation-and-how-it-is-removed-in-adm/
________________________________________________________________________________________
Page 34