4 ms·
I'd love to get an explanation behind the last one. It can be very hard for a non player to understand how connecting power rails like this does anything positi
by ggm 3y ago
I'd love to get an explanation behind the last one. It can be very hard for a non player to understand how connecting power rails like this does anything positive, and why it works better closer to the active element in question.
- thsksbd 3y agoThe power rails have a non zero impedance (as in not DC), and large currents flow through the rails. These currents will create voltages that will seem to be noise to anything connected to them. The caps provide a low Z path to ground so the currents so your rails are stable. Circuits really need schematics though, so its kinda hard to explain w/out. The fundamental idea is easy enough, but dealing with this properly is very hard.
- sheepshear 3y agoSmall caps near a chip are like an L1 current cache for all the transitor switching events.
- ggm 3y agoSo it imparts hysteresis and prevents parasitic events in current switching contexts? Would you still need these if somehow the circuit was a low frequency continuous wave function? If feels like these are a side effect of digital use, high speed switching states.
- sheepshear 3y agoI chose a software analogy and digital example because this is a software forum. Don't read too much into it. In a different analogy, you could say that capacitance gives inertia to voltage and inductance gives inertia to current. The power loop acts as an inductor and antenna. It's susceptible to disturbances from the chip, the power supply, and interference. Analog chips are particularly susceptible to such disturbances. It's possible sometimes to not use a cap.
- atoav 3y agoWhenever your chip draws current from the power-rails in short bursts you esentially momentarily pull down the voltage of the power rail, and it can do that because the power supply has a non-zero internal resistance and thus forms a voltage divider with everything that is connected to it. This dip in voltage can affect neighbouring chips. The solution is to install a small bucket/reservoir (a capacitor) which is filled with enough charge to serve that burst and smooth it's effect on the power rails (and thus decoupling it from the neighbouring components). The size of that capacitor depends on the load, but for most ICs it is enough to put one 100nF capacitor per power rail, but check the datasheet for more info.