Decoupling Capacitor Placement in PCB Layout
Decoupling capacitors should be placed as close as possible to the source for the signal being decoupled. This means at the pin for ICs and near the connector for input and out signals. To remove LF transients from input and output signals, the capacitor should be placed in series with the trace.