I've seen several circuit diagrams having a 0.1 microfarad capacitor connected to the supply voltage.
How do capacitors work to prevent fluctuations in DC source voltage? Why don't they completely block DC and act as a sort of break in the circuit
I've seen several circuit diagrams having a 0.1 microfarad capacitor connected to the supply voltage.
How do capacitors work to prevent fluctuations in DC source voltage? Why don't they completely block DC and act as a sort of break in the circuit
The power distribution network (PDN) in a PCB is not ideal. It has non zero resistance and inductance.
Let's say an IC needs a sudden increase on supply current. The resistance and inductance of the PDN could cause that such a sudden increase in current consumption generates a temporary voltage drop (a local drop, close to the IC).
A local capacitor, very close to the IC, has the capability to provide the extra needed current until the PDN can keep up to the pace of change and provide that current by itself, recharging in the process the capacitor.
Capacitors "block DC" in the sense that in a steady state DC system the current through a capacitor is zero.
But we aren't typically dealing with a steady state DC system. We are dealing with components that are performing some time-varying task. The power supply demands of those components will in turn be time-varying.
If we had an ideal DC voltage source connected to our components by ideal wires then this variation in current wouldn't matter but we don't have ideal voltage sources and we don't have ideal wires. We have a real power supply with nonzero impedance and we have real wires and PCB traces with resistance and more importantly inductance. The inductance is particulally important it means that the effective impedance of the power network rises with frequency.
So variations in current demand, especially at high frequency, lead to variations in voltage. If those variations in voltage become too large they lead to misbehaviour. For example crosstalk and feedback in analog circuits or glitches in digital circuits.
To reduce the variations in voltage we need to reduce the impedance of the supply to the chip. We can do this by putting a capacitor across it. Depending on the frequency range of the problem different types and sizes of capacitors may be used, but as a rule of thumb for moderate frequencies sticking a 100nF ceramic capacitor across each pair of power/ground pins as close to the chip as practical is normally sufficient.
The 0.1uF capacitor, is there to avoid high frequency noise. Generally is very useful on digital circuits to prevent microprocessor reset, or false High states on logic inputs. The capacitor will receive energy and will retain it for some time, like a water tank with a little hole is it bottom. If the water supply is constant, the tank will never be empty, but, if you close a little the water supply for a moment, the tank will start to discharge its contents, making the flow change less notorious.