7805 Circuit Analysis
7805 Circuit Analysis
7805 Circuit Analysis
The
complex
history of
the Intel
i960 RISC
processor
Apple
iPhone
charger
teardown:
quality in a
tiny expensive package
A dozen
USB
chargers in
the lab:
Apple is
very good, but not quite
the best
A Multi-
Protocol
Infrared
Remote
Library for
Die photograph of a 7805 voltage regulator. Click to enlarge. the Arduino
2 of 25 10/16/2023, 7:11 AM
A 7805 voltage regulator in a metal TO-3 package. The 7805 is more commonly
found in a smaller plastic package.
one below, showing the collector (C), base (B), and emitter (E) 2023 (28)
of the transistor, The transistor is illustrated as a sandwich of P 2022 (18)
silicon in between two symmetric layers of N silicon; the N-P-N
2021 (26)
layers make a NPN transistor. It turns out that transistors on a
chip look nothing like this, and the base often isn't even in the 2020 (33)
middle! 2019 (18)
2018 (17)
2017 (21)
2016 (34)
2015 (12)
2014 (13)
December (1)
October (1)
September (3)
Mining Bitcoin with
An NPN transistor and its oversimplified structure. pencil and paper:
0.67 hashes ...
The photo below shows one of the transistors in the 7805 as it
Why the Z-80's data
appears on the chip. [6] The different brown and purple colors pins are scrambled
are regions of silicon that has been doped differently, forming N
Reverse engineering a
and P regions. The gray areas are the metal layer of the chip counterfeit 7805
on top of the silicon - these form the wires connecting to the voltage reg...
collector, emitter, and base.
May (2)
March (1)
February (5)
2013 (24)
2012 (10)
2011 (11)
2010 (22)
2009 (22)
2008 (27)
4 of 25 10/16/2023, 7:11 AM
Reverse engineering a <del>counterfeit</del> 7805 voltage regulator https://www.righto.com/2014/09/reverse-engineering-counterfeit-7805.html
5 of 25 10/16/2023, 7:11 AM
Reverse engineering a <del>counterfeit</del> 7805 voltage regulator https://www.righto.com/2014/09/reverse-engineering-counterfeit-7805.html
6 of 25 10/16/2023, 7:11 AM
Reverse engineering a <del>counterfeit</del> 7805 voltage regulator https://www.righto.com/2014/09/reverse-engineering-counterfeit-7805.html
The feedback voltage divider inside the 7805 voltage regulator consists of two
resistors.
7 of 25 10/16/2023, 7:11 AM
Reverse engineering a <del>counterfeit</del> 7805 voltage regulator https://www.righto.com/2014/09/reverse-engineering-counterfeit-7805.html
8 of 25 10/16/2023, 7:11 AM
Reverse engineering a <del>counterfeit</del> 7805 voltage regulator https://www.righto.com/2014/09/reverse-engineering-counterfeit-7805.html
9 of 25 10/16/2023, 7:11 AM
Reverse engineering a <del>counterfeit</del> 7805 voltage regulator https://www.righto.com/2014/09/reverse-engineering-counterfeit-7805.html
10 of 25 10/16/2023, 7:11 AM
Reverse engineering a <del>counterfeit</del> 7805 voltage regulator https://www.righto.com/2014/09/reverse-engineering-counterfeit-7805.html
11 of 25 10/16/2023, 7:11 AM
Reverse engineering a <del>counterfeit</del> 7805 voltage regulator https://www.righto.com/2014/09/reverse-engineering-counterfeit-7805.html
12 of 25 10/16/2023, 7:11 AM
Reverse engineering a <del>counterfeit</del> 7805 voltage regulator https://www.righto.com/2014/09/reverse-engineering-counterfeit-7805.html
with what's inside the chip. Some 7805s are closer to the
LM109 than to other 7805s, and some LM340s are closer to
7805s than to other LM340s.
13 of 25 10/16/2023, 7:11 AM
Reverse engineering a <del>counterfeit</del> 7805 voltage regulator https://www.righto.com/2014/09/reverse-engineering-counterfeit-7805.html
14 of 25 10/16/2023, 7:11 AM
Reverse engineering a <del>counterfeit</del> 7805 voltage regulator https://www.righto.com/2014/09/reverse-engineering-counterfeit-7805.html
Inside a 7805 voltage regulator. The tiny silicon die is visible in the middle of the
TO-5 package.
The photo above shows the 7805 regulator after removing the
top with a hacksaw. The metal package is almost entirely empty
inside - the silicon die is very small compared to the space
available. The metal acts as an effective heat sink to cool the
chip under high load. Even without magnification, the large
output transistor is visible at the right side of the die. The thin
wires between the pins and die are visible, including the two
separate wires to the output pin.
Conclusion
I hope this article has given you a better understanding of how
a voltage regulator works and what's inside a silicon chip.
Perhaps it has even inspired you to saw open some chips of
your own to explore the tiny world on a silicon chip for yourself.
And while you sit at your computer, think of the many voltage
regulators around you quietly keeping your electronics working
smoothly, whether made by their supposed manufacturer or
not.
15 of 25 10/16/2023, 7:11 AM
Reverse engineering a <del>counterfeit</del> 7805 voltage regulator https://www.righto.com/2014/09/reverse-engineering-counterfeit-7805.html
[5] While the 7805 chip has a single layer of metal over the
silicon to interconnect the circuitry, modern CPUs use many
more layers of metal due to their complexity. For example,
Haswell uses 11 layers while IBM's POWER8 uses an
astounding 15 metal layers. Needless to say, I'm not going to
figure out how those chips work with my microscope.
16 of 25 10/16/2023, 7:11 AM
Reverse engineering a <del>counterfeit</del> 7805 voltage regulator https://www.righto.com/2014/09/reverse-engineering-counterfeit-7805.html
[14] You might wonder how the error output knows what voltage
to switch at. For a Darlington pair (Q7/Q8) to be active, the
base voltage must go above 2VBE (Wikipedia). The bandgap
reference was constructed assuming that at the reference
voltage, there will be VBE drops across Q7 and Q8. Thus, it's
not a coincidence that Darlington pair Q7/Q8 is right in the
active region (2VBE) at the bandgap voltage making the error
output very sensitive to any moves away from the reference
voltage. If the output voltage rises or falls, the voltage at the
base of Q7 rises or falls accordingly, and the transistors greatly
amplify this change. Also note that an increase in output
voltage causes a decrease in the error output, yielding negative
17 of 25 10/16/2023, 7:11 AM
Reverse engineering a <del>counterfeit</del> 7805 voltage regulator https://www.righto.com/2014/09/reverse-engineering-counterfeit-7805.html
18 of 25 10/16/2023, 7:11 AM
Reverse engineering a <del>counterfeit</del> 7805 voltage regulator https://www.righto.com/2014/09/reverse-engineering-counterfeit-7805.html
32 comments:
Anonymous said...
Great job! I appreciate the circuit description and pictures.
September 6, 2014 at 10:53 AM
Anonymous said...
I'm a complete electricity nitwit, but stuff like this is always
interesting and even mildly comprehensible. Thanks for
this!
September 6, 2014 at 1:01 PM
Anonymous said...
Thank's Ken for another enlightening post!
KE5FX said...
Fantastic post, Ken. As your footnote says, I'd always
assumed the Zener was responsible for the reference
voltage in a 78xx part. I'm looking forward to more posts
like this one.
September 6, 2014 at 6:23 PM
19 of 25 10/16/2023, 7:11 AM
Reverse engineering a <del>counterfeit</del> 7805 voltage regulator https://www.righto.com/2014/09/reverse-engineering-counterfeit-7805.html
Joe said...
This was absolutely amazing! I found it from another site,
but have followed you in my blog reader thingie (sorry, not
very good with technology).
Can't wait for your next post! I don't suppose you would
mind emails, would you?
September 6, 2014 at 9:20 PM
Anonymous said...
Your blog is wonderful. Please continue to share your
knowledge of electronics and your discoveries regarding
consumer devices.
September 6, 2014 at 10:09 PM
Anonymous said...
I have used so much of your insight and information which
is either nicely written up or beutifully built. Keep it coming.
September 6, 2014 at 11:09 PM
Andreas said...
Great work with the interactive schematic/layout! I've just
challenged a colleague by emailing him a link to the bare
schematic and asked him to identify the largest transistor
in the schematic. (Although I'm pretty sure that he will find
it almost immediately...)
September 8, 2014 at 2:25 AM
Anonymous said...
Thanks Prof Ken
September 8, 2014 at 10:25 PM
Anonymous said...
Graet ! Thank you !
September 8, 2014 at 11:39 PM
Unknown said...
Thanks for another great post, this was a nice read!
After reading I had to read the Bob Pease post you linked
to about Widlar, and then I had to end up reading more
about Widlar which was pretty fascinating. It's very
interesting to think of how these designs were first
20 of 25 10/16/2023, 7:11 AM
Reverse engineering a <del>counterfeit</del> 7805 voltage regulator https://www.righto.com/2014/09/reverse-engineering-counterfeit-7805.html
Anonymous said...
When I was a chip designer, the block diagrams and
schematics on the datasheet were usually drawn by
someone in marketing, and usually without any input from
the circuit designers. Perhaps this was to avoid leaking
any super-secret IP :-) Reading the datasheet and finding
out what was supposed to be in my chips was usually
surprising and sometimes quite amusing. I would not read
too much into the schematic on a datasheet, in fact many
times the schematics have obvious errors that would make
them not work. It's a pity that the schematics aren't
accurate (with transistor sizes and netlists provided) as
this would allow much better spice models. Other IC
companies have no trouble reverse engineering the chips
in any case.
September 9, 2014 at 6:32 AM
Anonymous said...
Thank you for this !
September 9, 2014 at 8:44 AM
Anonymous said...
Would be interesting to compare with a guenine ST part,
before assuming it is counterfeit.
September 9, 2014 at 10:41 AM
Crow said...
In 1984 at my first job, the boss decided to "save a few
bucks" and ordered some TO-220 7805s from Europe.
These things did not work at all. They did pass a voltage
but it was not regulated. I remember taking one and
cracking it open in a vise to discover there was no chip
inside--the Vin and Vout leads were a single stamp of
metal making a wire. It turns out these things were from
the former USSR via some distributor in Poland. I got the
boss to go back to Hamilton-Avnet.
September 9, 2014 at 9:51 PM
Anonymous said...
Thanks Prof Ken for the great post. How did you make that
interactive chip viewer?
21 of 25 10/16/2023, 7:11 AM
Reverse engineering a <del>counterfeit</del> 7805 voltage regulator https://www.righto.com/2014/09/reverse-engineering-counterfeit-7805.html
MeJMe said...
Please don't take this as a negative comment, but I was
concerned about your comments concerning sawing the
tops off metal-can power devices, especially when you
'want to show kids what ICs look like inside'.
Anonymous said...
Hi,
22 of 25 10/16/2023, 7:11 AM
Reverse engineering a <del>counterfeit</del> 7805 voltage regulator https://www.righto.com/2014/09/reverse-engineering-counterfeit-7805.html
Heeroyui said...
Excellent post, I really learn something new from you.
thanks for sharing.
May 23, 2015 at 2:19 PM
Anonymous said...
I remember that in the late 70s was common to find 7805
marked 2805 but i do not know the story behind. I still
have some on circuits in my recycle bin
August 19, 2015 at 11:13 AM
Foundling said...
"2805" on the die is likely a date code: 28th week of 2005.
October 13, 2015 at 12:32 PM
Anonymous said...
The best, you got very good semiconductor knowledge.
hope you post more.
June 8, 2016 at 10:36 PM
Unknown said...
i am using this chip from past 1 year and we have
developed more then 2000 power supply units and used
this as a 5 volt provider. and nowadays when the
user(Indian army) started using this chip is failing very
frequently.i could not find the root cause. can somebody
help me.all the i/p, o/p, are within the specifications.
August 2, 2016 at 1:43 AM
Anonymous said...
Thanks for the effort that went into this. Interesting read.
October 2, 2016 at 4:43 AM
Alain said...
Looking closely at the die, I wonder how can those tiny
wires going from and to the casing can withstand 1 amp of
DC current ???
23 of 25 10/16/2023, 7:11 AM
Reverse engineering a <del>counterfeit</del> 7805 voltage regulator https://www.righto.com/2014/09/reverse-engineering-counterfeit-7805.html
Sorin C. said...
Indian army should use indian designs, i.e. Tata motors
design, so ur 5V stabs are good enough for indian army:)
December 27, 2017 at 10:01 PM
Brian said...
I have a KIA78R08API which is believe is a clone of the
Fairchild KA78R08C LDO regulator. This regulator has an
enable/disable 4th pin. I would be interested in knowing
what would cause this pin to pull itself low with a +voltage
applied to it.
I know, it's weird but maybe theirs a simple reason.
Thanks and this blog is fantastic!
February 8, 2018 at 10:04 AM
Anonymous said...
Probably one of the most interesting articles I've ever read.
Thank you very much for this!
February 10, 2021 at 7:34 AM
Richard said...
I took some pictures of a ST 7824C:
https://www.richis-lab.de/voltageregulator12.htm
The circuit of the 7824C fits to the schematic in the
datasheet.
It really looks like ST has put different circuits in the TO3
and the TO220/D2PAK packages (7800 vs. 7800C). That
explains why the specifications of the TO3 are different to
the T220 and D2PAK.
May 19, 2021 at 2:19 PM
24 of 25 10/16/2023, 7:11 AM
Reverse engineering a <del>counterfeit</del> 7805 voltage regulator https://www.righto.com/2014/09/reverse-engineering-counterfeit-7805.html
Post a Comment
25 of 25 10/16/2023, 7:11 AM