Hi all,
This is my first post on this forum. So if have any comments regarding what I should or shouldn't do in relationship to the post I would welcome it but keep it short so it doesn't clutter this thread.
What this post is about is a component analysis of a LM358 die which is a dual op-amp. It's my first attempt so I might be wrong so feel free to correct me. Even though I think I figured it out I still have queries for which I would welcome input.
For this post I'm just looking at one side of the op-amp and not the current bias (although I have also figured that out and will post later).
The die shot I'm using is one of Richi's (who started this thread) LM358 die shots and according to his index (
https://www.richis-lab.de/Opamp.htm) is a National Semiconductor LM358. It's from a Western Digital Cavier 22500 HDD.
The link to the original article and image is
https://www.richis-lab.de/HDD_WD_Caviar_22500.htm#LM358.
Richi actually didn't post it to this forum as far as I can see so a just added this post after the last message in this thread.
The reason I chose this over other LM358/LM124/LM324 die shots is because of it's clarity that allows the doped regions to be determined. Big thumbs up to Richi for this brilliant shot because I was struggling using other die shots.
Note that I mentioned LM124/LM324 opamps as well as these are the quad version of the LM358.
I've scaled Richi's original image by a factor of 2 below to allow for a quick comparison with the image at the end with the components outlined.

Credit: Richi @
https://www.richis-lab.de/The die presented here uses a five collector transistor current mirror (Some LM358 designs use a three collector transistor current mirror).

The best schematic I can find for the LM358 that uses the five collector transistor current mirror is below.

Its from a LM358 Fairchild datasheet.
https://web.archive.org/web/20171003174216/https://www.fairchildsemi.com/datasheets/LM/LM358.pdfIt shows all components except for a missing "diode" (more about that later) and a bunch of components represented by the current source on the left of the schematic.
The current source is actually representative of the "common bias" used by both opamps.
For the analysis the big mystery to me was figuring out where the output stage components Q18, Q21, and R2 were. I figured out the others but was left with the following space to figure out.

On close examination I figured out the Q18 was actually a small lateral NPN transistor which I didn't notice at first sight as shown in the picture below. This transistor along with R2 acts as a current limiter that steals base current from Q19 so it only needs to be small.

So that left R2 and Q21 to be discovered.
R2 caries the source current for the output stage. On some schematics I have seen it is given as 25 ohms. On closer examination it seems R2 is actually two parallel resistors each in it's own P well (green) between the fingers shown.

That left Q21 which is the PNP output sink transistor shown own the schematic. On closer examination of the doped areas in the area I determined that this transistor is the outer part of this region and is almost two separate transistors. I marked the PNP doped regions on the following picture to make it easier to see. Note the top base region (Q21.1) seems thicker than the bottom base region (Q21.2). This isn't the case on other LM358/LM124/LM324 die shots I have seen and I have no clue why it is the case here.

On examining the die picture I determined there was an additional component not mentioned in the schematic. Its between the emitter of Q11 and the base of Q15 and runs to Vee.

If you look closely you can see its actually a NPN transistor with an unconnected base.
In National Semiconductor's LM358 datasheet simplified schematic this is shown as a resistor between Q11 and Q12 (different transistor labelling).
https://web.archive.org/web/20240723125259/http://web.mit.edu/6.115/www/document/LM158.pdfA possible explanation of this is given by the following quote in regards to LM124
"R1 proved to be a floating base NPN transistor, perhaps to be used as an over temperature and/or an over voltage shut down device to protect the circuits output [6]"
"Variations in SET pulse shapes in the LM124A and LM111" Paywall:
https://ieeexplore.ieee.org/document/1045536[6] is a reference to Patent US4011470 CIRCUIT UTILIZING OPEN-BASE TRANSSTOR AS LEAKAGE BYPASS DEVICE : William Folsom Davis, Thomas Marinus Frederiksen
https://patents.google.com/patent/US4011470A/enGiven one of the patent assignees is "Thomas Marinus Frederiksen" who was the designer of the LM324/LM358 its a good bet that this is exactly what this is.
In the Texas Instrument application note "Application Design Guidelines for LM324 and LM358 Devices" it mentions there are two diodes in the op-amp. Given I cant find any other component that suits I assuming that this is the diode as it's somewhat acting like a reversed diode so I tagged it with "D1".
Finally one component which I'm sure is R1 is an IC resistor type I have never seen before. It could be a version of a pinched resistor but it almost looks like somebody soldered a resistor in! Could somebody enlighten me on this.

So here is the final result. Not as pretty as some component pictures I seen here but it does the job.

Cheers
Andy