Updated New Zealand edition
Latest
Dev Notes · Archive

The Miller effect: first draft

From the archive
Electronics note
The Benytone CD33 was a first-generation budget CD player marketed in Europe by Marubeni Corporation of Japan
Photo: Retired electrician / Wikimedia Commons, CC0
From the carcino.gen.nz archive. This Electronics note was written for the original site and is kept as published; newer systems and toolchains may behave differently. A later version of this note lives at The Miller effect.

Quick explanation: The Miller effect is a funny way of dealing with a situation where the voltages at both ends of a capacitor change at the same time, either independantly or dependantly. In certain circuits, instead of taking into account what actually happens with the voltage, we can say that this is equivalent to having a larger capacitor.

Say you have a capacitance between the base and collector of a transistor in a common-emitter amplifier: when you change the voltage at the base, the collector voltage will also change, by -(the base voltage change)*(the gain of the circuit). Thus the change in voltage across the capacitor is not just the change in the base voltage, but (1+gain)*(change in the base voltage) - effectively as if the capacitor were (1+gain) times as big as it actually is. Confused? Read on...

Introduction

While doing my electrical engineering degree, we frequently had to consider the "Miller effect", usually when we were analysing the AC behaviour of a transistor amplifier circuit. However, no-one ever explained why it actually happened (well, either they didn't, or I was asleep that lecture - actually this is just as likely, come to think of it...), and it wasn't until reading an article [1] recently that I saw a convincing explanation.
"The Miller effect states that the simultaneous switching of both terminals of a capacitor will modify the effective capacitance between the terminals.

For instance, if wire A switches from 0 to VDD while adjacent wire B switches from VDD to 0, the effective voltage swing between the two terminals is 2VDD. From Q equals CV, the charge Q needed to switch wire A is now double that of the case where wire B is static. Alternatively, we can interpret this change as a doubling of "effective" capacitance C."

[1]

A normal circuit - no Miller effect

A capacitor, denoted by a certain value of capacitance in Farads, basically relates firstly the voltage across the capacitor to the charge stored in the capacitor (Q=CV), and then based on this, gives an equation for the current into the capacitor with changes in the voltage (i(t) = C*dV/dt).
Simple capacitor charging example schematic Figure 1: A simple circuit charging up a capacitor
Voltage across the capacito in Figure 1 Figure 2: The voltage across the capacitor in Figure 1, vs. time

Current through the capacitor in Figure 1 Figure 3: The current through the capacitor in Figure 1, vs. time
Have a look at Figure 1. Say that you have a 1uF capacitor, with one end grounded, with the initial voltage across the capacitor being 0V. You then plug in an ideal 1V DC voltage source with a 1kohm resistor (in series) (this happens at t=0 in the simulations).

Figure 2 shows the resulting voltage trace and Figure 3 the current trace. As expected, both are exponential curves, with the voltage exponentially approaching 1V and the current exponentially decaying from 1mA.

The "time constant" of both these exponential curves is 1ms (T=RC = 1*10-6 * 1*103).


A simple circuit showing the Miller effect

Miller-effect capacitor charging example schematic Figure 4: A circuit where the voltage at both ends changes at the same time
Figure 4 shows a similar circuit, but in this circuit, at the same time as the voltage at the top end of the capacitor rises by 1V, the voltage at the bottom end drops by 1V (the capacitor starts off with both ends at ground potential).
oltage across the capacito in Figure 3 Figure 5: The voltage across the capacitor in Figure 3, vs. time

Current through the capacitor in Figure 3 Figure 6: The current through the capacitor in Figure 3, vs. time
The voltage change across the capacitor (shown in Figure 5) is double the change in the circuit of Figure 1, and while the current into the capacitor (Figure 6) again starts at it's peak of 1mA, it decays a lot slower - in fact, it takes twice as long to charge. This is fine, and everything we know about capacitors is still true, but... If we look at it from the perspective of either of the voltage sources, the time constant that we saw, relating the rate of change of the current we're putting out to the voltage at our terminals, was twice what we expected. Yet, we said that the time constant T=RC, and neither R nor C have changed in this circuit so neither should T. What's happened?

This is the Miller effect. Simply put, the relationship between current and voltage that you see from one end of the capacitor depends on what happens at the other end of the capacitor: if the voltage at the other end stays constant (eg. if it's grounded), it'll work as expected, but if (as in this case) the voltage at the other end goes the other way, there will be double the voltage change across the capacitor which requires double the time to charge up.

(In this case, we could say something like "A capacitor experiencing identical but opposite voltage swings at its two terminals can be modelled as a capacitor to ground, whose capacitance is twice the original capacitance".)


A transistor amplifier affected by the Miller effect

Transistor amplifier affected by the Miller effect Figure 7: A common-emitter amplifier with a base-emitter capacitance
Things get a little more complex with a transistor, so I won't show a simulation. Instead, have a look at the generic common-emitter amplifier of Figure 7 and consider the effect of the capacitance between the base and the collector of the transistor (in practice this capacitance would most likely be inherent in the transistor, rather than an extra component).

It does matter that this transistor is being used in a common-emitter amplifier (not all transistor amplifiers suffer from the Miller effect), with the input fed in the base and the output taken from the collector.

If the base rises by a small amount, dV, the collector will drop by (gain)*dV, so the total voltage change across the capacitor (ie. between the base to the collector) will be dV+(gain)*dV or (1+gain)*dV.

So, once again it will appear that the capacitance is effectively larger than it really is, this time (1+gain) times larger. Again, this has happened because the collector voltage is not constant but rather is changing in response to the base voltage (if the collector was say wired straight to Vcc, the Miller effect would not occur, I think), it's not that the capacitor has actually got any larger - that's just an easy way to model it.

The biggest practical result of all of this is that it increases the effective capacitances seen in various parts of your transistor amplifier circuit, and this changes the cutoff frequencies for the various inherent high-pass and low-pass filters in the circuit. I won't go into the details - this page is just trying to explain why the Miller effect occurs, rather than it's implications and how to analyse it in circuits. Those of you studying E&E at the University of Canterbury should cover the Miller effect in 2nd Pro Electronics (and possibly elsewhere).


References

  1. D. Sylvester & Kurt Keutzer, "Rethinking Deep-Submicron Circuit Design", IEEE Computer Society "Computer" magazine, November 1999, page 25.


For more info

Read your textbook (sorry, can't recommend any, none of the ones I have cover it) or failing that contact the author. Any corrections welcome.

??

Newer on Dev Notes