Hello,
my project involves both audio and digital path, and I’m getting some noise from the digital path into the audio path. I’d like some advice as to how to minimize it.
Now, for further details. I’m using one CORE, 2 DOUTs, 1 DIN, and a custom relay board that is triggered with some of the DOUT outputs (I’m using darlington arrays and everything). The MIDIBOX modules all come from Mike’s shop and are unmodified except for the power supply, which was taken off the CORE module (I had the same problems when it was still on the CORE module though).
On the audio path I’m using a dual opamp to make 2 impedance buffers, and the relays I mentioned before are used to route outboard effects in and out of the signal path (I’m basically building a MIDI effects switcher). I’ve done all I could think of to avoid ground issues (ground loops and all), I’ll come to it later.
My problem is that there is some noise coming from the digital space that goes into the audio path. The noise is basically 1kHz, and I’ve determined that it is directly related to the frequency to which I’ve told the PIC to update the DIN/DOUT (and it’s there even if I don’t actually call updates for the DOUTs). Taking the DOUTs or DIN off the system makes the noise disappear, I think that’s proof enough. I’ve made sure that each module is acting for some part in the noise, and the sum of them makes the overall noise worse, of course. For the record, I did put bypass capacitors on the shift register power supply pins.
As far as power supplies go, I’m feeding 12V DC to my system, which gets first through a diode bridge (just to be safe), then to a 2200uF cap, and then splits to feed 3 power regulating circuits.
An image is worth a thousand words, so you’ll find attached the schematic for the power supplies, I hope they’re clear enough (ignore the voltages I give though, they’re not correct).
So basically I made sure that the audio grounds are wired almost directly to the ground of capacitor C11, the darlington arrays are wired to the ground of C8, and so on and so forth. I was hoping to have different ground spaces this way (I’m voluntarily not using the word ‘plane’ here), but it doesn’t seem to suffice. I get some low noise when the buffers are inactive, and a lot more noise when they are active. BTW I have 2 buffers, but the noise level doesn’t change much between when only one buffer is active and when both are.
I’d like to know what I can do to resolve this issue. Add new capacitors with different values? Rework my grounding? I believe I could make 2 separate grounds (one for the digital path + relays and one for the audio/buffers) but I’m not sure how I could achieve that exactly.
Any help appreciated, I’m nearing completion but my project is worthless if I can’t resolve this.
