The IC 555 is an extremely useful and versatile device which can be applied for configuring many useful circuits in the field of electronics. One very useful feature of this IC is its ability to generate PWM pulses which can be dimensioned or processed as per the needs of the application or the circuit.

What's PWM


PWM stands for pulse width modulation, the process involves the control of the width of the pulses that's generated from a particular source as per the circuit specs.

Basically PWM is used for dimensioning or trimming the output voltage or power of a particular load as per individual or application requirements.

It is a digital way of controlling power and is more effective than analogue or linear methods.
There are many examples which illustrates the effective use of PWM in controlling the given parameters.

It's used for controlling the speed of DC motors, in inverters for controlling the RMS of the output AC or for producing modified sine wave outputs.

It can be also seen in SMPS power supplies for controlling the output voltage to precise levels.
It's also applied in LED driver circuits for enabling LED dimming functioning.

It's extensively used in buck/boost topologies for deriving stepped down or stepped-up voltages without using bulky transformers.

So basically it may be used for tailoring an output parameter as per our own preferences.

With so many interesting application options, does it mean the method may be too complicated or expensive to configure??

The answer is definitely, no. In fact it can be very simply implemented using a single IC the LM555.

How to Use IC 555 for Generating PWM Outputs


Let's learn the following simple circuit configuration:



IC 555 Pinout





The diagram shows the IC 555 wired up in an easy monostable multivibrator mode. We know that in this mode the IC is able to generate a positive pulse at pin#3 in response to every single negative trigger at its pin#2.

The pulse at pin#3 sustains for some predetermined time period depending upon the values of Ra and C.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.

How to Generate a Fixed 50% Duty Cycle from a IC 555 Circuit


The following figure shows a simple configuration which will provide you with a fixed 50% duty cycle PWMs across its pin#3. The idea was presented in one of the IC 555 datasheets, and this design looks very interesting and useful for applications which need a simple and quick 50% fixed duty cycle generator stage.





Need Help? Please send your queries through Comments for quick replies!