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
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
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
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
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
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
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
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
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
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
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:
All models came with the LTspice installation.