Current mirror: real-life examples?
Ask QuestionAsked 5 days agoActive todayViewed 417 times2
I’m looking for examples of how current mirror is used in real life.
Most tutorials cover the circuit itself but don’t go into examples. Therefore, I’m still struggling to understand how it’s used and what the benefits of it are.
Update: I’m looking for simple enough examples for a newbie to understand, please don’t post complete op-amp schematics, etc. Thanks!transistorscircuit-analysiscurrent-sourceShareEditFollowFlagedited Jan 24 at 7:03asked Jan 24 at 4:12Rodion Degtyar38777 bronze badges
- 5Look into the inside circuit diagram of any analog chip. For example that one of an operational amplifier. They use plenty of those. You can find them in datasheets. – Janka Jan 24 at 4:19
- 2Like differential pairs, you probably won’t find too many examples of current mirrors outside of an IC. The reason being that both require matched transistors so you see them a LOT more in an IC where this is very easy and convenient to do than outside of an IC. Not all approaches are suitable in all areas. – DKNguyen Jan 24 at 8:26
Current mirrors are quite common in audio power amplifiers as well:
TR10-TR11 pair in the schematic above (bottom-left) form a current mirror to make the collector currents of TR2-TR3 differential pair equal.
Fun fact: A class-AB power amp is a bigger (more powerful) version of a transistor-operational-amplifier.ShareEditFollowFlagedited Jan 24 at 17:42answered Jan 24 at 4:41Rohat Kılıç9,75033 gold badges1515 silver badges3535 bronze badges
- OMG, your real life example is so complicated. Can you give a two transistor circuit for me too newbie? Thanks and cheers. – tlfong01 Jan 24 at 4:48
- 1@tlfong01 Sorry. My intention is just to show the current mirror usage in a real-life example hoping you to see the tiny subcircuit to the left. Anyway, just look at the input stage (the current source at the top, the diff. pair formed by TR2-TR3, and the current mirror at the bottom) and ignore the rest. – Rohat Kılıç Jan 24 at 4:53
- Ah thanks a lot for your quick reply. I must apologize that I did not read the OP’s question too carefully. I misunderstood that he was asking for a circuit design, not a usage example. By chance I am using a current sensing amplifier chip using a current mirror amplifier. So perhaps I can also give an example later. Cheers. – tlfong01 Jan 24 at 4:59
Here is a trivial, but real life example.
I had an existing design of a product with a motherboard having a built in current pwm sink for controlling the backlight of a single screen on the front panel.
For a new product I needed to add a second screen without changing the motherboard PCB in any way.
The question was how to control the brightness of the second screen (I could switch it on and off over its interface, but the backlight was separate). Finding a way to switch the backlight was doable, but I only had that one current sinking control line for the brightness and the supply voltage was not sufficient to support just throwing the backlight LEDs in series.
A PNP current mirror in the anode circuit to make the current in the second screen match that in the first was the solution, simple, one dual PNP transistor in a SC-70 package and a couple of 0603 resistors, job done, took about a minute to cad up, and was obviously going to work.
There are hundreds of those boards out there at this point.ShareEditFollowFlaganswered Jan 24 at 17:29Dan Mills14.4k11 gold badge1616 silver badges3030 bronze badgesadd a comment3
Current mirrors are frequently used in linear integrated circuits such as op amps. They are used to provide a stable current for biasing transistors and transistor pairs such as differential pairs.ShareEditFollowFlaganswered Jan 24 at 4:19Math Keeps Me Busy2,62111 gold badge44 silver badges2020 bronze badgesadd a comment3
I saw a real life use of a discrete current mirror a couple of months ago in this question.
Here’s the circuit diagram from the question:
The circuit originally came from this thesis (see page 14.)
There’s a current mirror in the upper left corner. It is used to convert the voltage at Vin to a current to control the charge current (and thus the frequency) of the 555 oscillator. The circuit as a whole is a voltage to frequency converter – which happens to work by converting the voltage to a current and then to a frequency.
Varying Vin causes a varying current to flow through the left transistor. Because of the way the current mirror works, the same current flows through the right transistor. This takes the place of the fixed resistor you would normally find connecting V+ and pin 7 in a normal 555 circuit.
The CA3096AE contains multiple matched transistors. They aren’t as good as having identical transistors made on one chip, but they are closer to identical than you will get by trying to manually match transistors yourself.
For comparison, a regular 555 oscillator:
From the TI LM555 datasheet.
The current mirror takes the place of RA in the example from TI. RA (together with RB) controls the charge time of the capacitor, and thus the frequency.ShareEditFollowFlaganswered Jan 24 at 13:30JRE44.8k88 gold badges7373 silver badges123123 bronze badgesadd a comment3
The two transistors in a current mirror should have equal characteristics; therefore, current mirrors are almost never built from discrete transistors, but are used inside chips where the transistors are next to each other on the same die. As a newbie, you would probably never design a circuit with a current mirror.
In practice, current mirrors are most often used as an active load in the input stages of op amps and comparators. A current mirror has a lower voltage drop than reasonable emitter resistors, and allows larger amplification. (Its primary purpose is not really to mirror the current.)
One of the simplest devices is the LM339 comparator:
To understand how it works, ignore the diodes, and first replace the current mirror with two resistors. Also note that in a comparator, the two inputs should not have equal voltages, which implies that the current mirror fails to have equal currents; you get a digital output that is either high or low.
Application Design Guidelines for LM339, LM393, TL331 Family ComparatorsShareEditFollowFlaganswered Jan 24 at 10:00CL.12.6k44 gold badges3030 silver badges5353 bronze badges
- Your LM339 Quad Differential Comparator OpAmp circuit is newbie friendly, I like it! Cheers. – tlfong01 Jan 24 at 10:25
Are there are real life examples of using a current mirror?
I am using the following current sensing amplifier chip, which is using a current mirror.
My real life project still in progress is to plot the I-V curve of a tunnel diode. Because the current I am measuring is very small, in the range of uV to a couple of mV, so I need a current sense amplifier to convert the tiny current to 0 ~ 5V, and I also use a 12-bit ADC to read the digital value which will be read and stored by a Raspberry Pi.
The photo below shows my calibration hardware setup.
Wiring the tiny MAX4172 is a bit tricky. There is no assembled module available, so I need to do the point to point wiring, luckily only 8 pins, to a SOC8 to DIP8 breakout board. I have about 100 hours of SMD hand soldering experience, so it took me only 15 minutes to do the first chip, and then 10 minutes in average for the later ones. The photo below shows my craftmanship. 🙂
The software part is not that difficult. I skimmed the datasheet, and found that there is actually no programming required. I only need to find out the a bit complicated amplification gain factor table, and choose the gain resistor to fit my current range. My datasheet summary is show below.
The picture below shows my working on the current sense and output resister values.
My quick and dirty conclusion is that the hardware soldering is a bit tricky, but there is no software need, just simple calculation.
So all in all, a damn cheap newbie friendly toy to learn new stuff.
MAX4172 is an example of using current mirror at the current sensing amplication application level. Another example of using current mirror at the circuit design level can be found in Refs 6, 7, where current mirror is used in CCS, Constant Current Source
(1) MAX4172 Low-Cost, Precision, High-Side Current-Sense Amplifier Product Sheet – Maxim
(2) MAX4172 Low-Cost, Precision, High-Side Current-Sense Amplifier Datasheet -Maxim
(3) Maxim MAX4172ESA High Side Current Sense Amplifier – TaoBao ¥1.25
(4) SOP8 SMD to DIP8 Breakout Board – TaoBao, ¥2/10pcs
(5) Current Mirror – Wikipedia
(6) The Basic MOSFET Constant-Current Source June 06, 2016 by Robert Keim – aac
ShareEditDeleteFlagedited just nowanswered Jan 24 at 5:03tlfong011,45411 gold badge55 silver badges99 bronze badges
- Your “answer” does very little to address how a current mirror is used in real life. Most of your answer is talking at length on the progress of your personal projects. – JRE Jan 24 at 18:06
Leave a Reply