Audio Switch Board Grounding
In order to minimize noise on the audio signal, what is the best way to handle grounding? Should I have two isolated ground planes, one for signal and one for digital circuitry, or is having one ground plane with the components laid out so that the microcontroller switching current doesn't flow near signal lines sufficient?


Ideally connect the digital and audio grounds at only one point.


  Secondly, should I include a relay to switch the signal grounds, or leave them connected? Are there any potential issues with leaving the two output grounds connected, even if only one output is on?


Don't switch the signal grounds with the relay but, if possible connect the output lines to ground when switched off. If you leave them floating they will pick up stray hum.







simulate this circuit &ndash; Schematic created using CircuitLab

Figure 1. The ground connection when the relay is off ensures that there is no noise on the output in the off condition.

If your relays are not changeover type you might reduce the noise by addition a a resistor between LEFT OUT and ground. Make it low enough to present a reasonable load to the noise but high enough that it doesn't load the previous stage excessively.

Since the previous stages may have a DC blocking capacitor on their output the voltage on the LEFT IN line may start to rise (due to leakage across the capacitor). Addition of R1 will discharge this line to ground preventing a DC thump when the relay is energised.