Audio amplifier current mirrors AC behavior

Abstract

This investigation shows the effect of current mirror degeneration resistors on the AC behavior of different current mirrors. Further improvement of the AC response is discussed as well.

The background of this investigation is my observation that different degeneration of a current mirror being part of an audio amplifier may significantly deteriorate stability of an otherwise perfectly stable amplifier.

Setup

This investigation was preformed in simulation only using LTspice.

The input current is 10mA for all mirrors.

The intial investigation used only the BC546B transistor model. Due to observed different behavior of different transistor models, further transistor models were added: BC337-40 and BC547C.

The degeneration of the current mirrors was stepped exponentially from 25Ω to 3200Ω, i.e. 25Ω, 50Ω, 100Ω, 200Ω, 400Ω, 800Ω, 1600Ω and 3200Ω. The higher resistor values are impractical, but illustrate the trend beyond the typical range.

Widlar current mirror

Widlar current mirror schematic
The Widlar current mirror is the most basic current mirror.

The amplitude of the AC response of the Widlar current mirror is flat regardless of the value of the degeneration resistors and the transistor model.

The simulation of the AC response also shows that the current mirror contributes a significant pole with higher degeneration.

Most amplifier schematics I have seen so far use 68Ω to 120Ω for the Wilson current mirror degeneration resistors and simulation shows hat this is a good trade-off to take advantage of the positive effects that come with higher degeneration while maintaining acceptable bandwidth.

Widlar current mirror with shunt capacitors

Widlar current mirror schematic with shunt capacitors
Samuel Groner [1] has shown how to improve the AC behavior of heavily degenerated Widlar current mirrors by using capacitors to shunt the degeneration resistors. This mitigates the pole that results from heavy mirror degeneration. The shunt capacitance needs to be optimized for each application.

In the illustration shown here, 33pF capacitors are used regardless of the degeneration resistors value. Mirror bandwidth is still limited by degeneration, but phase shift is significantly lowered by the shunt capacitance.

Emitter follower current mirror

Emitter follower current mirror schematic
The emitter follower current mirror is an improvement of the simple Widlar current mirror. The additional emitter follower transistor reduces the DC mismatch by the beta of the emitter follower transistor.

The AC response of the mirror using BC546B models shows significant amplitude peaking with lower values of the degeneration resistors. The optimum value of the degeneration would be 200Ω.

The same mirror with BC337-40 transistor models shows lower peaking overall, but with every emitter resistor value.

Emitter follower current mirror with increased quiescent current

Emitter follower current mirror with increased quiescent current
Bob Cordell mentions a further improvement of the emitter follower current mirror in his book [2]: Addition of resistor "Rq" to increase the quiescent current through the emitter follower transistor. Given that the beta of the mirror transistors is high, the quiescent current trough the emitter follower transistor is very small, which results in sub-optimal operating conditions for the emitter follower. Resistor "Rq" ensures that the emitter follower transistor always has increased quiescent current improving the operating conditions.

The illustration shows the AC response with quiescent current increased by 10kΩ and 2kΩ. The quiescent current is a function of the ratio between resistor Rd and the resistor Rq. For illustration I just stepped Rd with two fixed values of Rq. It appears as if the exact value of Rq does not have big impact on the AC response. Any increase of the EF transistors Iq is an improvement.

With BC546B transistors, the AC response shows lower peaking of the amplitude with increased quiescent current through the emitter follower transistor. Also, the bandwidth of the current mirror is increased. Ideal values of Rd would be 100Ω, which yields improved bandwidth over the standard EF current mirror with 200Ω degeneration.

With the BC337-40 models, the mirror shows slightly improved bandwidth, but also more pronounced gain peaking, that can be tamed using rather high emitter degeneration resistors, which cuts into bandwidth in turn.

Emitter follower current mirror with increased quiescent current and Szymanski transistor

Emitter follower current mirror with increased quiescent current and Szymanski transistor added
While the resistor "Rq" improves Ac behavior, it also degrades DC accuracy. Szymanski [3] proposes the addition of another emitter follower transistor to improve DC accuracy of the emitter follower current mirror with increased quiescent current.

With the BC546B transistor model, this mirror shows somewhat similar AC behavior compared to the emitter follower current mirror with elevated quiescent current. AC amplitude peaking a a bit lower with small values of the mirror degeneration in the Szymanski variant.

AC gain peaking with low emitter degeneration gets worse using the BC337-40 transistor model. With 400Ω emitter resistors, the peak is gone, but bandwidth is mediocre.

Emitter follower current mirror with shunt capacitor

Emitter follower current mirror with shunt capacitors
Since the addition of shunt capacitors in parallel to the degeneration resistors works well with the Widlar current mirror, it seems obvious to try the same method with the emitter follower current mirror.

With the shunt capacitors applied to the emitter follower current mirror, the AC amplitude peak remains, and the improvement of the phase shift is observable, but not as effective as with the Widlar mirror. The best combination seems to be Rd=100Ω and Cs=10pF.

The illustration shows Rd stepped with three different shunt capacitor from 10pF to 40pF in parallel. None of the AC plots look really promising in my opinion. This is obviously not the right way to deal with the gain peak in this kind of current mirror.

Emitter follower current mirror with EF shunt capacitor

Emitter follower current mirror with shunt capacitor for the follower transistor
Bob Cordell [4] and [5] suggests to add a 470pF capacitor from base to emitter of the emitter follower transistor to stabilize the emitter follower current mirror. The capacitor (Ce in the schematic) shunts the emitter follower transistor at high frequency, falling back to the Widlar current mirror.

This technique indeed works well, even with a slightly lower value of 330pF as illustrated in the plot of the AC response.

Capacitor Ce also improves phase shift, which recovers following a dip. I believe this is the best way to improve stability of the emitter follower current mirror.

The same method can be applied to the Szymanski variant: No extra capacitor Ce is required for the additional transistor proposed by Szymanski. When being applied to the Szymanski variant of the emitter follower current mirror, the 330 pF capacitor for the emitter follower transistors is far more effective with the BC546B current mirror than for the BC337-40 mirror.

Three transistor Wilson current mirror

Three transistor Wilson current mirror
Unlike the Widlar and emitter follower improved current mirrors discussed so far, the Wilson current mirror uses negative feedback [6] to achieve improved DC accuracy. The performance improvement overall is remarkable, but circuits using negative feedback may go unstable in general.

With the BC546B transistor model, the AC amplitude shows peaking with every value of the degeneration resistors, except the lowest resistance. Unlike with the other mirrors investigated so far, phase shift is almost independent of the degeneration resistors value.

The three transistor Wilson mirror simulated with the BC337-40 model shows gross gain peaking with any emitter resistor value.

Four transistor Wilson current mirror

Four transistor Wilson current mirror
The four transistor Wilson current mirror adds a diode connected transistor to equalize the VCE of the mirror transistors. Since the VCE is held nearly constant, VCE dependent nonlinearity of the transistors is reduced.

Surprisingly, addition of the fourth transistor also yields a perfectly flat AC amplitude response with BC546B transistors regardless of the Rd value. Phase shift is very low and almost independent of the mirror degeneration resistors value.

The same mirror with BC337-40 transistors shows similar AC gain peaking like the three transistor variant. Just like with the three transistor variant, there is no optimal emitter degeneration resistor yielding acceptable response.

Five transistor Wilson current mirror

Five transistor Wilson current mirror
Another variant of the Wilson current mirror proposes addition of a fifth transistor that is supposed to remove the high frequency amplitude peak [7].

The five transistor Wilson current mirror with BC546B transistors however looks like it needs some fix for the HF gain peak, whereas there is notable improvement with BC337-40 models.

I successfully used this kind of mirror with BC547C transistors degenerated using 200Ω resistors in an amplifier and got rid of the instability I encountered with the emitter follower current mirror.

Voltage step response

I simulated the current mirrors response to a sudden variation of the voltage across the mirrors. The supply voltage was reduced from 40V to 30V within 100ns, which means ΔV/Δt of 100V/µs. All mirrors simulated use the BC546B model and have 200Ω degeneration. The increased bias EF variant uses a 10kΩ resistor. No further compensation measures were applied.

The mirrors ability to keep the output current constant during a voltage fluctuation varies widely. Worst are the emitter follower enhanced mirrors and the five transistor Wilson mirror. Best are the three and four transistor Wilson mirrors and the plain Widlar is somewhere in between.

Conclusion

Given that enough voltage headroom can be sacrificed, higher degeneration of current mirrors seems desirable because transistor mismatch becomes swamped and noise is lowered with higher degeneration. Higher degeneration in turn adds a significant pole to the current mirror transfer characteristic, which may impact overall amplifier stability. Some methods to mitigate this pole have been investigated and may be useful to mitigate the pole while maintaining the benefits of high degeneration. Too low degeneration in turn results in amplitude peaking in some kinds of current mirrors with some transistors.

Different mirrors may behave differently dependent on the transistor used. This means that not only the mirror topology is relevant. The best example is the four and five transistor Wilson mirrors, that show very different AC response dependent on the transistor model.

In a practical implementation there are further factors that influence the AC behavior of any current mirror like the output impedance of the current source feeding into the current mirror and also the load attached to the current mirror. Any capacitive load significantly alters the AC response. I encountered this effect when designing an audio amplifier: Addition of a R-C-snubber at the output of the emitter follower current mirror resulted in a gain peak whose amplitude grew with increased load capacitance. The five transistor Wilson mirror seemed to best suit the given application in my case despite showing a rather ill AC response on its own.

Relevance

Apart from real issues with the EF current mirror mentioned earlier, I encountered instability with the Wilson mirror in simulation and this is why I expanded the investigation to include AC response for mirors using the BC337-40 transistor model.

When I simulated a CFA using a four transistor Wilson mirror, I observed severe open loop and closed loop gain peaking after changing the transistor model. The amplifier simulated fine with BC547C models for the mirror, and once I changed the mirror transistor models to BC337-40, a notable gain peak appeared beyond the amplifiers normal bandwidth. This even manifested in the transient response simulation as sustained low amplitude oscillation in the tens of MHz range atop the amplified signal.

Such local gain peaks of circuit blocks cause instability that cannot be remedied compensating the global feedback loop of an amplifier. It is therefore advisable to investigate and optimize each circuit block on its own to ensure proper operation. Once inside a complex assembly like an amplifier, it may become difficult to correctly identify the root cause of instability. Excessive compensation of the global feedback loop may be applied, but this is futile since the real root cause is different.

Change history

2023 April: Published

2023 December: Added voltage step response.

2024 January: Added two links to posts from Bob Cordell on the DIY Audio forum. Thanks to a reader for one of the links.

2024 April: Added mirrors simulated with BC337-40 transistor model and updated conclusions. Added Spice models.

References

[1] Samuel Groner: A New Amplifier Topology With Push-Pull Transimpedance Stage, Linear Audio Volume 2, August 2011

[2] Bob Cordell: Designing Audio Power Amplifiers, ISBN: 978-0-07-164024-4

[3] L. Szymanski: Improved accuracy current mirror, Stamford Lincolnshire, found a scan somewhere on the internet

[4] Bob Cordell on the DIY Audio forum https://www.diyaudio.com/community/threads/bob-cordells-complementary-ips-vas-topology.235453/post-3485102

[5] Bob Cordell on the DIY Audio forum https://www.diyaudio.com/community/threads/bob-cordells-power-amplifier-book.171159/post-5323409

[6] Douglas Self: Audio Power Amplifier Design, 6th edition, ISBN 978-0-240-52613-3, ISBN 978-0-240-52614-0, chapter six - the input stage - better current mirrors

[7] Wikipedia: Wilson current mirror

Models

For the sake of reproducibility, here are the transistor models for the investigation:

.model BC546B NPN(IS=2.39E-14 NF=1.008 ISE=3.55E-15 NE=1.541 BF=294.3 IKF=0.1357 VAF=63.2 NR=1.004 ISC=6.27E-14 NC=1.243 BR=7.946 IKR=0.1144 VAR=25.9 RB=1 IRB=1.00E-06 RBM=1 RE=0.4683 RC=0.85 XTB=0 EG=1.11 XTI=3 CJE=1.36E-11 VJE=0.65 MJE=0.3279 TF=4.39E-10 XTF=120 VTF=2.643 ITF=0.7495 PTF=0 CJC=3.73E-12 VJC=0.3997 MJC=0.2955 XCJC=0.6193 TR=1.00E-32 CJS=0 VJS=0.75 MJS=0.333 FC=0.9579 Vceo=65 Icrating=100m mfg=NXP)
.model BC337-40 NPN(IS=7.809E-14 NF=0.9916 ISE=2.069E-15 NE=1.4 BF=436.8 IKF=0.8 VAF=103.6 NR=0.991 ISC=6.66E-14 NC=1.2 BR=44.14 IKR=0.09 VAR=14 RB=70 IRB=2.00E-04 RBM=8 RE=0.12 RC=0.24 XTB=0 EG=1.11 XTI=3 CJE=3.579E-11 VJE=0.6657 MJE=0.3596 TF=5E-10 XTF=2.5 VTF=2 ITF=0.5 PTF=88 CJC=1.306E-11 VJC=0.3647 MJC=0.3658 XCJC=0.455 TR=2.50E-08 CJS=0 VJS=0.75 MJS=0.333 FC=0.843 Vceo=45 Icrating=500m mfg=NXP)
.model BC547C NPN(IS=4.679E-14 NF=1.01 ISE=2.642E-15 NE=1.581 BF=458.7 IKF=0.1371 VAF=52.64 NR=1.019 ISC=2.337E-14 NC=1.164 BR=11.57 IKR=0.1144 VAR=364.5 RB=1 IRB=1.00E-06 RBM=1 RE=0.2598 RC=1 XTB=0 EG=1.11 XTI=3 CJE=1.229E-11 VJE=0.5591 MJE=0.3385 TF=4.689E-10 XTF=160 VTF=2.828 ITF=0.8842 PTF=0 CJC=4.42E-12 VJC=0.1994 MJC=0.2782 XCJC=0.6193 TR=1.00E-32 CJS=0 VJS=0.75 MJS=0.333 FC=0.7936 Vceo=45 Icrating=100m mfg=NXP)

All models came with the LTspice installation.

Cookie policy

This website does not use cookies. However, Java Script local storage is used to store preferences set by the visitor. Preferences (if set) for language, website appearance and acceptance of this annoying notification are stored.

Ok, got it!