Cursed circuits #5: capacitance multiplier
71 points
8 hours ago
| 3 comments
| lcamtuf.substack.com
| HN
kazinator
1 hour ago
[-]
These multiplication effects are unsurprising to hobbyists who studied electronics from the basics using a textbook.

Amplifier circuits multiply impedances. For instance in a common emitter amplifier stage around a BJT (bipolar junction transistor), the input impedance is much larger than what is implied by the emitter resistor. In effect, the transistor multiplies the apparent resistance of that component. If a capacitor is put in parallel with the emitter resistor, that capacitor looks smaller: from the base current's point of view, the capacitor is filling up very rapidly (which is due to the collector current) making it look shallower. The feedback capacitance in the stage is multiplied though (e.g. capacitor connected from collector to base, or such a naturally present parasitic capacitance). This is called the Miller effect.

Though this op-amp circuit creates a virtual larger capacitor, it's not useful as a general capacitor. You can't use this to make a 10,000 uF cap to use as a power supply filter; it doesn't actually have backing energy storage to deliver the transient current on demand. Now, yes, if that op-amp itself has a huge power reservoir behind it, then maybe this small capacitor can be made to work like a huge one in this manner. But it will be the op-amp circuit and its supply doing the actual work. This is essentially a voltage regulator.

In a voltage regulator circuit you have an amplifier with some capacitors upstream of it. The amplifier amplifies a fixed DC reference voltage to the desired voltage level. It holds that level very stiff: much more stiffly than those upstream capacitors would be able to on their own, so effectively it multiplies them.

Another thing you can't do is use it as a coupling capacitor, which is very useful role, allowing an AC signal to pass between two domains that are biased to different voltage levels. In the circuit, one end of the capacitor is grounded, so ...

reply
inigyou
5 hours ago
[-]
The last circuit, in steady state, behaves exactly as R2, but when the signal changes, the current through the capacitor is the derivative of the signal, reducing the amount by which the circuit is just R2.

I speculate it acts like an inductor because that would be a logically silly thing for it to do but I'm not doing the math at 1am on my phone.

I've always admired lcamtuf.

reply
femto
3 hours ago
[-]
Yep. That topology is called a gyrator. Often used in IC's where it is hard to make an inductor.
reply
kazinator
57 minutes ago
[-]
I spotted a fixed equalizer in the middle of a guitar power amp schematic (Randall G3 series), so I banged it up in LTSpice for a simulation:

https://www.ssguitar.com/index.php?topic=5751.msg45172

I came up with a nice schematic layout whereby we have the gyrators in a column on the right and then the mixer resistors which plug them into the fixed equalizer to the right, making it easier to follow.

reply
pclmulqdq
5 hours ago
[-]
Wait until he hears about negative Miller capacitance.
reply
eulgro
2 hours ago
[-]
Yeah we can do really weird things with op amps, negative resistance and capacitance comes to mind.
reply