Browse over 10,000 Electronics Projects

555 timer teardown: inside the world’s most popular IC

555 timer teardown: inside the world’s most popular IC

 

If you’ve played around with electronic circuits, you probably know[1]
the 555 timer integrated circuit,
said to be the world’s best-selling integrated circuit
with billions sold.
Designed by analog IC wizard Hans Camenzind[2] in 1970, the 555 has been called one of the
greatest chips of all time with
whole books devoted to
555
timer
circuits.

Given the popularity of the 555 timer, I thought it would be interesting to find out what’s inside the 555 timer and how it works.
While the 555 timer is usually sold as a black plastic IC, it is also available in a metal can, which can be cut open with a hacksaw[3]
revealing the tiny die inside.


Inside the 555 timer. The tiny die in the package is connected to the 8 pins by wires.

Inside the 555 timer. The tiny die in the package is connected to the 8 pins by wires.

A brief explanation of the 555 timer

The 555 timer has hundreds of applications, operating as anything from a timer or latch to a voltage-controlled oscillator or modulator.
The diagram below illustrates how the 555 timer operates as a simple oscillator.
Inside the 555 chip, three resistors form a divider generating references voltages of 1/3 and 2/3 of the supply voltage.
The external capacitor will charge and discharge between these limits, producing an oscillation.
In more detail, the capacitor will slowly charge (A) through the external resistors until its voltage hits the 2/3 reference.
At that point (B), the upper (threshold) comparator switches the flip flop off and the output off. This turns on the discharge transistor, slowly discharging the capacitor (C). When the voltage on the capacitor hits the 1/3 reference (D), the lower (trigger) comparator turns on, setting the flip flop and the output, and the cycle repeats. The values of the resistors and capacitor control the timing, from microseconds to hours.[4]

Diagram showing how the 555 timer can operate as an oscillator.

Diagram showing how the 555 timer can operate as an oscillator.

To summarize, the key components of the 555 timer are the comparators to detect the upper and lower voltage limits, the three-resistor divider to set these limits, and the flip flop to keep track of whether the circuit is charging or discharging.
The 555 timer has two other pins (reset and control voltage) that I haven’t covered above; they can be used for more complex circuits.

The structure of the integrated circuit

The photo below shows the silicon die of the 555 through a microscope.
On top of the silicon, a thin layer of metal connects different parts of the chip. This metal is clearly visible in the photo as yellowish-white traces and regions. Under the metal, a thin, glassy silicon dioxide layer provides insulation between the metal and the silicon, except where contact holes in the silicon dioxide allow the metal to connect to the silicon. At the edge of the chip, thin wires connect the metal pads to the chip’s external pins.

Die photo of the 555 timer.

Die photo of the 555 timer.

The different types of silicon on the chip are harder to see.
Regions of the chip are treated (doped) with impurities to change the electrical properties of the silicon. N-type silicon has an excess of electrons (negative), while P-type silicon lacks electrons (positive).
In the photo, these regions show up as a slightly different color surrounded by a thin black border.
These regions are the building blocks of the chip, forming transistors and resistors.

NPN transistors inside the IC

Transistors are the key components in a chip. The 555 timer uses NPN and PNP bipolar transistors.
If you’ve studied electronics, you’ve probably seen a diagram of an NPN transistor like the one below, showing the collector (C), base (B), and emitter (E) of the transistor, The transistor is illustrated as a sandwich of P silicon in between two symmetric layers of N silicon; the N-P-N layers make an NPN transistor.
It turns out that transistors on a chip look nothing like this, and the base often isn’t even in the middle!

Schematic symbol for an NPN transistor, along with an oversimplified diagram of its internal structure.

Schematic symbol for an NPN transistor, along with an oversimplified diagram of its internal structure.

The photo below shows one of the transistors in the 555 as it appears on the chip.
The slightly different tints in the silicon indicate regions that has been doped to form N and P regions.
The whitish-yellow areas are the metal layer of the chip on top of the silicon – these form the wires connecting to the collector, emitter, and base. You can spot an emitter on the chip by its “bullseye” structure, while the base rectangle surrounds the emitter.

An NPN transistor in the 555 timer chip. The collector (C), emitter (E) and base (B) are labeled, along with N and P doped silicon.

An NPN transistor in the 555 timer chip. The collector (C), emitter (E) and base (B) are labeled, along with N and P doped silicon.

Underneath the photo is a cross-section drawing illustrating how the transistor is constructed. There’s a lot more than just the N-P-N sandwich you see in books, but if you look carefully at the vertical cross section below the ‘E’, you can find the N-P-N that forms the transistor. The emitter (E) wire is connected to N+ silicon. Below that is a P layer connected to the base contact (B). And below that is an N+ layer connected (indirectly) to the collector (C).[5]
The transistor is surrounded by a P+ ring that isolates it from neighboring components.

PNP transistors inside the IC

You might expect PNP transistors to be similar to NPN transistors, just swapping the roles of N and P silicon. But for a variety of reasons, PNP transistors have an entirely different construction.
They consist of a small circular emitter (P), surrounded by a ring shaped base (N), which is surrounded by the collector (P). This forms a P-N-P sandwich horizontally (laterally), unlike the vertical structure of the NPN transistors.

The diagram below shows one of the PNP transistors in the 555, along with a cross-section showing the silicon structure.
Note that although the metal contact for the base is on the edge of the transistor, it is electrically connected through the N and N+ regions to its active ring in between the collector and emitter.
A metal line is routed between the collector and base, but is not part of the transistor.

A PNP transistor in the 555 timer chip. Connections for the collector (C), emitter (E) and base (B) are labeled, along with N and P doped silicon. The base forms a ring around the emitter, and the collector forms a ring around the base.

A PNP transistor in the 555 timer chip. Connections for the collector (C), emitter (E) and base (B) are labeled, along with N and P doped silicon. The base forms a ring around the emitter, and the collector forms a ring around the base.

The output transistors in the 555 are much larger than the other transistors and have a different structure in order to produce the high-current output. The photo below shows one of the output transistors. Note the multiple interlocking “fingers” of the emitter and base, surrounded by the large collector.

A large, high-current NPN output transistor in the 555 timer chip. The collector (C), base (B) and emitter (E) are labeled.

A large, high-current NPN output transistor in the 555 timer chip. The collector (C), base (B) and emitter (E) are labeled.

How resistors are implemented in silicon

Resistors are a key component of analog chips. Unfortunately, resistors in ICs are large and inaccurate; the resistances can vary by 50% from chip to chip. Thus, analog ICs are designed so only the ratio of resistors matters, not the absolute values, since the ratios remain nearly constant.

A resistor inside the 555 timer. The resistor is a strip of P silicon between two metal contacts.

A resistor inside the 555 timer. The resistor is a strip of P silicon between two metal contacts.

The photo above shows a 1KΩ resistor in the 555, formed from a strip of P silicon (visible as an outline). Note that the resistor connects two metal wires and another metal wire crosses it.
The resistor below is an L-shaped 100KΩ pinch resistor.
A layer of N silicon on top of the pinch resistor makes the conductive region much thinner (i.e. pinches it), forming a much higher but less accurate resistance.

A pinch resistor inside the 555 timer. The resistor is a strip of P silicon between two metal contacts. An N layer on top pinches the resistor and increases the resistance.

A pinch resistor inside the 555 timer. The resistor is a strip of P silicon between two metal contacts. An N layer on top pinches the resistor and increases the resistance.

IC component: The current mirror

There are some subcircuits that are very common in analog ICs, but may seem mysterious at first. The current mirror is one of these.
If you’ve looked at analog IC block diagrams, you may have seen the symbols below, indicating a current source, and wondered what a current source is and why you’d use one. The idea is you start with one known current and then you can “clone” multiple copies of the current with a simple transistor circuit, the current mirror.

Schematic symbols for a current source.

Schematic symbols for a current source.

The following circuit shows how a current mirror is implemented with two identical transistors.[6] A reference current passes through the transistor on the left. (In this case, the current is set by the resistor.) Since both transistors have the same emitter voltage and base voltage, they source the same current, so the current on the right matches the reference current on the left.

Current mirror circuit. The current on the right copies the current on the left.

Current mirror circuit. The current on the right copies the current on the left.

A common use of a current mirror is to replace resistors. As explained earlier, resistors inside ICs are both inconveniently large and inaccurate. It saves space to use a current mirror instead of a resistor whenever possible.
Also, the currents produced by a current mirror are nearly identical, unlike the currents produced by two resistors.



Advertisement1


Three transistors form a current mirror in the 555 timer chip. They all share the same base and two transistors share emitters.

Three transistors form a current mirror in the 555 timer chip. They all share the same base and two transistors share emitters.

The three transistors above form a current mirror with two outputs. Note the three transistors share the base connection, tied to the collector on the right, and the emitters on the right are tied together. The transistor on the left is a Widlar current source, a modified mirror that produces a smaller current. On the schematic, the two transistors on the right are drawn as a single two-collector transistor, Q19.

IC component: The differential pair

The second important circuit to understand is the differential pair, the most common two-transistor subcircuit used in analog ICs.[7]
You may have wondered how a comparator compares two voltages, or an op amp subtracts two voltages. This is the job of the differential pair.

Schematic of a simple differential pair circuit. The current sink sends a fixed current I through the differential pair. If the two inputs are equal, the current is split equally between the two branches. Otherwise, the branch with the higher input voltage gets most of the current.

Schematic of a simple differential pair circuit. The current sink sends a fixed current I through the differential pair. If the two inputs are equal, the current is split equally between the two branches. Otherwise, the branch with the higher input voltage gets most of the current.

The schematic above shows a simple differential pair. The current sink at the bottom provides a fixed current I, which is split between the two input transistors. If the input voltages are equal, the current will be split equally into the two branches (I1 and I2). If one of the input voltages is a bit higher than the other, the corresponding transistor will conduct more current, so one branch gets more current and the other branch gets less.
A small input difference is enough to direct most of the current into the “winning” branch, flipping the comparator on or off.

In the 555, the threshold comparator uses NPN transistors, while the trigger comparator uses PNP transistors. This allows the threshold comparator to work near the supply voltage and the trigger comparator to work near ground. The 555’s comparators also use two transistors on each input (Darlington pair) to buffer the inputs.

The 555 schematic interactive explorer

The 555 die photo and schematic[8]
below are interactive. Click on a component in the die or schematic, and a brief explanation of the component will be displayed. (Please view original article link below at Ken’s site to see the interactive explorer).

(For a thorough discussion of how the 555 timer works, see
555 Principles of Operation.)

For a quick overview,
the large output transistors and discharge transistor are the most obvious features on the die.
The threshold comparator consists of Q1 through Q8. The trigger comparator consists of Q10 through Q13, along with current mirror Q9.
Q16 and Q17 form the flip flop. The three 5KΩ resistors forming the voltage divider are in the middle of the chip.[9]
Urban legend says that the 555 is named after these three 5K resistors, but
according to its designer
555 is just an arbitrary number in the 500 chip series

How I photographed the 555 die

Integrated circuit usually come in a black epoxy package which require inconveniently dangerous concentrated acid to open.
Instead, I bought a 555 in a metal can (below).
To examine the die, I used a metallurgical microscope. Unlike a standard microscope, the metallurgical microscope shines light down through the lens allowing it to work with opaque objects (such as chips).
I stitched the photos together with Hugin (details).

The 555 timer in a metal can package. (Banana for scale)

The 555 timer in an eight-pin metal can package. (Banana for scale)

The failed improved 555

Given the popularity of the 555, it’s surprising that it has several rookie design flaws; unbalanced comparators, large operating currents, an asymmetric output waveform, and temperature sensitivity.[10]

In 1997, Camenzind redesigned the 555 to create a much better chip that could run at much lower voltages.
The improved chip was sold by Zetex as the
ZSCT1555, but unfortunately was a flop.
The continuing success of the original 555 and the failure of the improved successor can be viewed as an example of the worse is better principle.

Conclusion

I hope you’ve found this look inside the 555 timer chip interesting.
Next time you’re building a 555 project, you’ll know exactly what’s inside the chip.
If you enjoyed this article, I’ve also reverse-engineered the
741 op amp and
7805 voltage regulator.
Thanks to Eric Schlaepfer[11] for helpful comments.

Follow me on Twitter and you won’t miss an article!

Notes and references

[1]
The 555 timer is iconic enough to appear on
mugs, bags,
caps and
t-shirts.

The 555 timer is popular enough to appear on t-shirts. Courtesy of EEVblog.

The 555 timer is popular enough to appear on t-shirts. Courtesy of EEVblog.

[2]
The book Designing Analog Chips written by the 555’s inventor Hans Camenzind is really interesting, and I recommend it if you want to know how analog chips work.
Chapter 11 has an extensive discussion of the 555’s history and operation. Page 11-3 claims the 555 has been the best-selling IC every year, although I don’t know if that is still true.
The free PDF is here
or get
the book.

[3]

You can cut an IC can open with a plain hacksaw, but a jeweler’s saw gives a much cleaner cut. I got a jeweler’s saw on eBay for $14, and used the #2 blade. Make sure you cut near the top of the IC so you don’t hit the die as I did.

[4]
The brilliant part of the 555 timer is that the oscillation frequency depends only on the external resistors and capacitor and is insensitive to the supply voltage. If the supply voltage drops, the 1/3 and 2/3 references drop too, so you might expect the oscillations to be faster. But the lower voltage charges the capacitor more slowly, canceling this out and keeping the frequency constant.

This voltage insensitivity is so tricky that the chip’s designer didn’t figure it out until near the end of the 555’s design,
but it made a big difference.
The original design was more complex and required nine pins, which is a terrible size for an IC
since there are no packages between 8 and 14 pins.
The final, simpler 555 design worked with 8 pins, making the chip’s packaging much cheaper.
(See page 11-3 of Designing Analog Chips for the full story.)

[5]
You might have wondered why there is a distinction between the collector and emitter of a transistor, when the typical diagram of a transistor is symmetrical.
As you can see from the die photo, the collector and emitter are very different in a real transistor. In addition to the very large size difference, the silicon doping is different. The result is a transistor will have poor gain if the collector and emitter are swapped.

[6]
For more information about current mirrors, check wikipedia, any analog IC book, or chapter 3 of
Designing Analog Chips.

[7]
Differential pairs are also called long-tailed pairs.
According to
Analysis and Design of Analog Integrated Circuits
the differential pair is “perhaps the most widely used two-transistor subcircuits in monolithic
analog circuits.” (p214)
For more information about differential pairs, see wikipedia, any analog IC book, or chapter 4 of
Designing Analog Chips.

[8]

The 555 schematic used in this article is from the
Philips datasheet.

[9]

Note that the three resistors for the voltage divider are parallel and next to each other.
This helps ensure they have the same resistance even if there are electrical variations across the silicon.

[10]

I’m not criticizing the 555; Hans Camenzind points out the
design flaws and attributes them to “the early period
of IC design (and the inexperience of a rookie designer)”;
see Designing Analog Chips, page 11-4.
The design of a 555 replacement is discussed in detail in
“Redesigning the old 555”, IEEE Spectrum, September 1997.
That article makes it clear how much much faster IC design is now than in 1970.
It took months to create the layout of the 555 chip by hand and manually verify it for correctness.
The new chip took two days to layout and 20 minutes to verify.

[11]
Evil Mad Scientist sells a very cool

discrete 555 timer kit
, duplicating the 555 circuit on a larger scale with individual transistors and resistors — it actually works as a 555 replacement.
Their 555 footstool is also worth a look.

Large-size 555 timer created by Evil Mad Scientist Lab.

Large-size 555 timer created by Evil Mad Scientist Lab.
 


Top