I have difficulty in imagining the ideal audience for this discussion. An absolute beginner might not know how to use OpAmps yet, while a more advanced electronic engineer will probably find this post too elementary for them.
Nonetheless, I set off with the goal of adding 0.01V to a part of my circuit, and have decided that this particular configuration is ideal. So I'll discuss my reasoning and hopefully other engineers here can comment.
Motivation
I'm configuring a constant current sink (0mA through 500mA) when I started to calculate some "worst case errors". Lets assume the input is varying somewhere between 1V to 5V, and I'd like to program a DAC + Constant Current to subtract a (configurable) voltage off of the input.

For the beginners: the OpAmp sets the voltage at R1 very accurately to the DAC_Output voltage. Because R1 is connected to Ground, this means we very accurately control the current flowing down through R1 (with the NMOS in voltage-follower configuration, the voltage at the source follows the voltage at the gate).
Because R2 is connected on this circuit, the current configured at R1 is innately the same as the current flowing through R2. And now we have an accurate subtraction operation configured with the DAC
Looks straightforward, except for one thing. OpAmps like the MCP6006 have an unpredictable Voffset of 0.003V. Across my circuit, there's three OpAmps this calculation goes through, so I'd like to add 0.009V (aka: three times the Voffset) so that I have enough "wiggleroom" for the DAC to trim-away all possible errors.
Adjustment Circuit
I did switch to MINDI as Microchip's MCP6006 OpAmp is only accurately simulated in MINDI.

As the title implies, its just a combination Wildar+Peaking current mirror to generate a constant current, and then an OpAmp to subtract 0.01V from the feedback (which causes the output to "negate" and become +0.01V).
Basic Current Mirrors
https://wiki.analog.com/university/courses/electronics/text/chapter-11
Analog.com has a great wiki which goes over the Wildar + Peaking current mirror. Although they call it the "Stabilized Current Source".
The original current mirror is as follows:

A matched-pair BJT serves as the basis. (such as the BCM847B by diotec, diodes or many other manufacturers. The "M" is important with guaranteed matching specs). The left transistor converts a current into a voltage... specifically the exact voltage that is associated to the current.
Ex: 500uA current probably turns into 0.53V or so, it all depends on temperature and manufacturing, and Beta... but guess what? The two transistors are guaranteed to match (within 0.002V base offset, and within 10% Beta).
So when you take this voltage from the left transistor, and apply it to the right transistor, the right transistor now "copies" or "mirrors" the current. IE: the right transistor converts 0.53V (or whatever it was) back into 500uA or so.
This switching from Current input -> Voltage in the middle -> Current output is possible only because BCM847B has guaranteed matching specs. Alternatively, you can manually search through a pile of transistors for matching Vbe and/or Hfe/Beta (and in the 80s, people would manually measure and search for matching specs out of a box).
Peaking Current

Ah, but I don't have a basic current mirror in my circuit, do I?
This here is the "Peaking Current Mirror". Analog.com's wiki has a reasonable explanation, but this other article has a better explanation that worked for me: https://www.edn.com/peaking-current-source-has-high-rejection/
The conversion from Current -> Voltage is far more complex with the "peaking" circuit. The gist is that the additional resistor (R2 in this case) serves as negative feedback against VCC. As VCC increases, Q1 will pull pull Vce down, towards 0V (ground). And as VCC decreases, that also pulls Vce down towards 0V (because VCC going down is uhhh... just voltage dropping).
These two dropping effects create a "peak" at exactly Vcb == 0.026 Volts (assuming room temperature of 25C). I've configured the 10k resistor and 59 ohm resistor such that this peak occurs around 5V-input, the operating point of my circuit.
Now why do this? Well, this makes Q1's output voltage more independent of VCC. Or in other words, this "creates" Power-supply rejection. If VCC has noise or other regulation issues, this creates a "Zero-gain amplifier" effect where changes to VCC "refuse" to propagate down to the rest of my circuit... or at least are mitigated slightly at this juncture.
For example: a classic current mirror would output 50% more current as VCC moves from 4V to 6V. However, in this improved "peaking" circuit, the circuit barely changes between 4V and 6V.

Green is a traditional current mirror between 4V and 6V. Notice how its exactly proportional to the input voltage!!
Red is the "peaking" current mirror between 4V and 6V. By using negative-feedback to force the Vcb voltage down (as VCC goes up), the red line is far more stable against changes to VCC. In the EDN article, they run the current through TWO of these "peaking" circuits to double up on the stability. But one-layer of stability is likely sufficient for my purposes.
Wildar Current Source
Wildar is the legendary electrical engineer who designed the 741 OpAmp. As it turns out, Wildar's primary "move", the addition of one more resistor on the emitter, is compatible with the "Peaking" current source from before.
So why not combine the two techniques?
https://en.wikipedia.org/wiki/Widlar_current_source

The Wildar Current Source has numerous advantages. The main tidbit is that it helps negate the Early Voltage in BJTs (making our current-output more resilient against changes in output voltage).

Note the scale. All of this graph is zoomed in between 9uA and 10.5uA. So the "original" current mirror is still quite good at current regulation (only a 10% difference of current despite the voltage swinging from 0 through 10 volts).
However, we can improve upon this current regulation dramatically by adding the resistor turning us into a Wildar Current Source. The regulation tightens much more, with a minimum 9.78uA current to 10.03uA (only a 2.5% swing). This is because the emitter-resistor is hampering the "Early Effect" (discovered by Dr. Early), which kinda-sorta makes the BJT look like a non-ideal current source.
Note: a Wilson current mirror would work even better, but that requires 1.2V minimum. My circuit actually goes down to 0.9V, which is much too low for the Wilson current mirror.
Wildar Current sources also have additional benefits that aren't too relevant. First they require much smaller resistors, which is a benefit in ICs like the 741 OpAmp (even today large resistors are difficult to build on modern IC processes. Small resistors are just easier to make more consistent). Wildar Current Mirrors also don't need as tight matching between Beta/Hfe or Vbe between the two transistors. The resistors help stabilize the circuit vs changing manufacturing tolerances of the transistors. Finally, the Wildar Current Source actually makes the "peaking" circuit better at rejecting input voltage swings... a bit of unexpected synergy between these two designs!
Questions? Comments?
Its a bit of a stream of consciousness but I hope you all enjoyed this breakdown. Please let me know if I forgot something or if something is unclear.
All in all, a relatively high quality constant current sink can be implemented with just three resistors and one matched-pair BJT, for a total of 5 components on your PCB. Or alternatively, you flip it all around and use PNP Transistors to create a constant current source. Hopefully you analog engineers out there can use this technique to build something cool.
Voltage regulators are commonly solved with dedicated ICs today. But current sources are actually quite easy to make yourself out of just a few resistors and a matched-pair transistor.
The standard current mirror is much easier to think about (configured with basically a singular resistor, or even with "nothing" if you have a signal already in the form of some kind of current-output). However, the "peaking" circuit improves input voltage rejection with only one additional resistor, while the "Wildar" circuit improves output impedance with another additional resistor.
The downside is ... you need to do far more math and simulations to "set" the output current correctly. A lot more math (the emitter resistor on the output transistor has a logarithm relationship to the input... and the two input resistors to the peaking circuit have non-intuitive calculations). But anyone going into this hobby is probably not afraid of a few logarithms or math subjects, right?








