Skip to main content

How to Make a PWM Lamp Dimmer Using NE555


A simple and efficient PWM lamp dimmer using timer IC NE555 is discussed in this article. Yesterdays linear regulator based dimmers can only attain a maximum efficiency  of 50% and are far inferior when compared to the PWM based dimmers which can hit well over 90% efficiency. Since less amount of power is wasted as heat, the switching elements of PWM dimmers require a smaller heat sink and this saves a lot of size and weight. In simple words, the most outstanding features of the PWM based lamp dimmers are high efficiency and low physical size. The circuit diagram of a 12V PWM lamp dimmer is shown below.

We recommend 3 very good books to learn the basics and applications of the 555 timer IC. These books have been thoroughly reviewed and they can be purchased by clicking on this link:- 3 Great Books to Learn 555 Timer Circuits and Projects
Fig 1 : PWM lamp dimmer using NE555
As you can see, NE555 timer IC which is wired as an astable multivibrator operating at 2.8KHz forms the heart of this circuit. Resistors R1,R2, POT R3 and capacitor C1 are the timing components. Duty cycle of the IC’s output can be adjusted using the POT R3. higher the duty cycle means higher the lamp brightness and lower the duty cycle means lower the lamp brightness. Diode D1 by-passes the lower half of the POT R3 during the charging cycle of the astable multivibrator. This is done in order to keep the output frequency constant irrespective of the duty cycle. Transistors Q1 and Q2 forms a darlington driver stage for the 12V lamp. Resistor R4 limits the base current of transistor Q1.

Understanding the variable duty cycle astable multivibrator.

As I have said earlier, the variable duty cycle astable multi vibrator based on NE555 forms the foundation of this circuit and a good knowledge on it is essential for designing projects like this. For the ease of explanation the timing side of the astable multivibrator is redrawn in the figure below.
astable multivibrator variable duty cycle
Fig 2: Astable multivibrator with variable duty cycle
Upper and lower halves of the POT R3 are denoted as Rx and Ry respectively. Consider the output of the astable multivibrator to be high at the starting instant. Now the capacitor C1 charges through the path R1, Rx, and R2. The lower half of POT R3 ie; Ry is out of the scene because the diode D1 by-passes it. When the voltage across the capacitor reaches 2/3 Vcc, the internal upper comparator flips its output which makes the internal flip flop to toggle its output. As a result the output of the astable multivibrator goes low. In simple words, the output of the astable multivibrator remains high until the charge across C1 becomes equal to 2/3 Vcc and here it is according to the equation Ton =0.67(R1+Rx+R2)C1.

Since the internal flip flop is set now, the capacitor starts discharging through the path R2,Ry into the discharge pin. When the voltage across the capacitor C1 becomes 1/3 Vcc, the lower comparator flips its output and this in turn makes the internal flip flop to toggle its output again. This makes the output of the astable multivibrator high. To be simple, the output of the astable multivibrator remains low until the voltage across the capacitor C1 becomes 1/3 Vcc and it is according to the equation Toff = 0.67(R2+Ry)C1. Have a look at the internal block diagram of NE555 timer shown below for better understanding.
555 timer internal block diagram
Fig3: NE555 internal block diagram
How does the frequency remain constant irrespective of the position of POT3 knob?.

What ever may be the position of  POT3 knob, the total resistance across it remains the same (50K here). If anything decreases in the upper side (Rx) the same amount will be increased in the lower (Ry) and the same thing gets applied to the higher(Ton) and lower(Toff) time periods. The derivation shown below will help you to grasp the matter easily.

With reference to Fig 2, we have:

Ton = 0.67(R1+Rx+R2)C1

Toff= 0.67(R2+Ry)C1

Total time period of the output waveform “T” is according to the equation :

T = Ton + Toff

There fore, T = 0.67(R1+Rx+R2+R2+Ry)C1

                        T= 0.67(R1+2R2+Rx+Ry)C1

We know that Rx+Ry = R3

There fore T = 0.67(R1+2R2+R3)C1

Therefore frequency F = 1/(0.67(R1+2R2+R3)C1)

From the above equation its is clear that the frequency depends only on the value of the components C1, R1, R2  and the over all value of R3 and it has nothing to do with the position of R3 knob.

Comments

Popular posts from this blog

OP AMP INTEGRATOR CALCULATOR

Enter the Input Voltage,Vin: Volts Enter the Frequency, f: Hertz Enter the Input Resistance, Rin: Ohms Enter the Value of Capacitor, C: Farads Output Voltage, Vout: Volts OP AMP based Integrator Tutorial and Design

Block diagram of AM transmitter and receiver with explanation

Block diagram of AM transmitter and receiver with explanation AM Transmitter : Transmitters that transmit AM signals are known as AM transmitters. These transmitters are used in medium wave (MW) and short wave (SW) frequency bands for AM broadcast. The MW band has frequencies between 550 KHz and 1650 KHz, and the SW band has frequencies ranging from 3 MHz to 30 MHz. The two types of AM transmitters that are used based on their transmitting powers are: ·          High Level ·          Low Level High level transmitters use high level modulation, and low level transmitters use low level modulation. The choice between the two modulation schemes depends on the transmitting power of the AM transmitter. In broadcast transmitters, where the transmitting power may be of the order of kilowatts, high level modulation is employed. In low power transmitters, where only a few watts of transmitting power are required , low...

Using the TLP250 Isolated MOSFET Driver Explanation and Example Circuits

I’ve already shown how to drive an N-channel MOSFET (or even an IGBT) in both high-side and low-side configurations in a multitude of ways. I’ve also explained the principles of driving the MOSFETs in these configurations. The dedicated drivers I’ve shown so far are the TC427 and IR2110. Some people have requested me to write up on MOSFET drive using the very popular TLP250. And I’ll explain that here. The TLP250, like any driver, has an input stage, an output stage and a power supply connection. What’s special about the TLP250 is that the TLP250 is an optically isolated driver, meaning that the input and output are “optically isolated”. The isolation is optical – the input stage is an LED and the receiving output stage is light sensitive (think “photodetector”). Before delving any further, let’s look at the pin configuration and the truth table. Fig. 1 - TLP250 Pin Configuration Fig. 2 - TLP250 Truth Table Fig. 1 clearly shows the input LED side and the receiving photodetector as well...