Objective:: To Study Pulse Width Modulation and Demodulation Using 555 Timer IC
Objective:: To Study Pulse Width Modulation and Demodulation Using 555 Timer IC
Objective:: To Study Pulse Width Modulation and Demodulation Using 555 Timer IC
Required Components:
1. 555 timer IC -1
2. 10K potentiometer -1
3. 100ohm resistor -1
4. 0.1uF capacitor -1
5. 1k resistor -1 (optional)
6. Bread board -1
7. 9v Battery -1
8. LED -1
9. Multimeter or CRO -1
10. Jumper wire
This type of PTM is also called pulse width or pulse length modulation, however,
pulse duration modulation (PDM) is the preferred term. There are three different
classifications of PDM: symmetrical PDM, leading edge PDM, and trailing edge
PDM.
In a symmetrical PDM waveform, the modulation signal as sampled and both the
leading and trailing edges of the pulse are varied in accordance with the sample
amplitude. When the sample is a high negative difference duration, the spacing
between the center of the pulses remains constant as shown.
In leading edge type of PDM, the sample amplitude varies the leading edge of the
pulse. The trailing edge of each pulse is fixed and, therefore, the spacing or timing
between each pulses trailing edge is constant.
In trailing edge PDM, the sample amplitude varies the trailing edge of the pulse, with
the leading edge remaining fixed.
1. By keeping the leading edge constant and vary the pulse width with respect to
leading edge
2. By keeping the tailing constant.
3. By keeping the center of the pulse constant.
We can generate pulse width using different circuitry. In practical, we use 555 Timer
which is the best way for generating the pulse width modulation signals. By
configuring the 555 timer as monostable or astable multivibrator, we can generate
the PWM signals. We can use PIC, 8051, AVR, ARM, etc. microcontrollers to
generate the PWM signals. PWM signal generation has n number of ways. In
demodulation, we need PWM detector and its related circuitry for demodulating the
PWM signal. There are two important parameters for a PWM as discussed below:
We can notice if LED being OFF for half second and LED being ON for other half
second. But if Frequency of ON and OFF times increased from 1 per second to 50
per second. The human eye cannot capture this frequency. For a normal eye the
LED will be seen, as glowing with half of the brightness. So with further reduction of
ON time the LED appears much lighter.
Generation of PWM:
As shown in the figure, one input of the comparator is fed by the input
message or modulating signal and the other input by a sawtooth signal which
operates at carrier frequency.
Considering both ve sides, the maximum of the input signal should be less
than that of sawtooth signal.
The comparator will compare the two signals together to generate the PWM
signal at its output as shown in the third waveform of Fig6.
The rising edges of the PWM signal coincides with the falling edge of the
sawtooth signal.
When the sawtooth signal is at the minimum value which is less than the
minimum of the input signal, then the positive input of the comparator is at
higher potential which gives the comparator output as positive.
When the sawtooth signal rises and is at the maximum value, the negative
input of the comparator is at higher potential, which will produce the
comparator output to be negative.
Thus the input signal magnitude determines the comparator output and its
potential, which then decides the width of the pulse generated at the output.
In other words we can say that the width of the pulse generated signal is
directly proportional to the amplitude of the modulating signal.
PWM and PPM signal generation
DEMODULATION OF PWM
PWM pulse can be detected using Ramp generator and some circuit combinations.
We have discussed PWM generator circuit using 741 op amp in previous articles.
The coded message in the form of PWM can be easily decoded with the help of
a synchronous pulse. The most simple demodulation principle of PWM signals are
describes in this article
The block diagram itself explaining all the decoding principles. Waveforms at
different sections of Pulse width demodulation are also given here.
PWM signals have wide verities of applications like PWM Inverter circuit, PWM LED
brightness control or Dimmer circuit etc.
In this PWM generator circuit, as we mentioned above we have used 555 Timer IC
for generating PWM signal. Here we have controlled the output frequency of the
PWM signal by selecting resistor RV1 and capacitor C1. We have used a variable
resistor in place of fixed resistor for changing duty cycle of the output signal.
Capacitor Charging through D1 diode and Discharge through D2 diode will
generates PWM signal at 555 timer's output pin.
Below formula is used for deriving the frequency of the PWM signal:
F = 0.693*RV1*C1