How to Use IC 555 for Generating PWM Outputs
We can also see the pin #2 and pin#5 assigned as clock and modulation inputs respectively.
The output is taken from the usual pin#3 of the chip.
In the above straightforward configuration the IC 555 is all set for generating the required PWM pulses, it just requires a square wave pulse or a clock input at its pin#2, which determines the output frequency, and a variable voltage input at pin#5 whose amplitude or the voltage level decides the pulse width dimensions at the output.
The pulses a pin#2 generates a correspondingly alternating triangle waves at pin#6/7 of the IC, whose width is determined by the RA and C timing components.
This triangle wave is compared with the instantaneous measure of voltage applied at pin#5 for dimensining the PWMs pulses at pin#3 output.
In simple words we just need to supply a train of pulses at pin #2 and a varying voltage at pin #5 for achieving the required PWM pulses at pin#3 of the IC.
The amplitude of the voltage at pin#5 will be directly responsible in making the output PWM pulses stronger or weaker, or simply thicker or thinner. The modulation voltage can be a very low current signal, yet it would give the intended results.
For example suppose we apply a 50 Hz square wave at pin#2 and a constant 12V at pin#5, the result at the output will show PWMs with an RMS of 12V and frequency of 50Hz.
For reducing the RMS we just need to lower the voltage at pin#5. If we vary it the resultant will be a varying PWM with varying RMS values.
If this varying RMS is applied to a mosfet driver stage at the output, any load that is supported by the mosfet will also respond with correspondingly varying high and low results. If a motor is connected to the mosfet, it will respond with varying speeds, a lamp with varying light intensities while an inverter with modified sine wave equivalents.
The Output Waveform
The above discussion can be witnessed and verified from the given waveform illustration below:
The topmost waveform represents the modulation voltage at pin#5, the bulge in the waveform represents the rising voltage and vice versa.
The second waveform represents the uniform clock pulse applied at pin#2. It’s just for enabling the IC to switch at a certain frequency, without which the IC wouldn’t be able to work as a PWM generator device.
The third waveform depicts the actual PWM generation at pin#3, we can see that the width of the pulses is directly proportional to the top modulation signal. The pulse widths corresponding to the “bulge” can be seen as much wider and closely spaced which proportionately becomes thinner and sparse with the fall in the modulation voltage level.
The above concept can be very easily and effectively applied in power control applications as discussed earlier in the above article.
For more info, you may read this article: http://www.ti.com/lit/ds/symlink/ne555.pdf