PGA2310 2x1 Mixer Project

Status
Not open for further replies.

rwalters

Well-known member
I decided I wanted to build a mixer where the signal paths are entirely analog but all of the control is digital so that I could use less expensive trim pots and still get really good linearity and noise performance... I am about to submit the design to PCB.ng for fab but thought I would share the design here to see if anyone had any last minute advice before I commit.

pcb.png

My plan is to use sockets underneath all the expensive components to save on cost. In principle this means I could also use the PGA2311 or try different op-amps (I'm planning to use the OPA2134). All of the filters can be optionally bridged out across pairs of 0.1" headers, which also provides nice testpoints for measuring performance. I basically just copied the filter designs from Mark Hennessy's pre-amp (http://www.markhennessy.co.uk/preamp/). I specified 0.5% precision SMD components so hopefully that will be sufficient for matching purposes. The capacitors are all 25V+ rated so that the boards could be used with +/-15V analog supply, but I'm planning to use a MeanWell PD2505 +/-5 volt supply since I don't think I need so much gain (and the PGA2310 has better noise performance). I found some decent pots (TT P260) and some slick knobs (kilo OEJ series). I'm going to hang some monster 5mF electrolytic caps on the supply inputs off the edge of the board for good measure.

I don't have a great place to go for sheet metal prototyping (protocase is ok but expensive) so I will be laser cutting the enclosures from MDF and paneling the exterior with hardwood:

internal.jpg

finish.jpg

The teensy will forever measure the pot voltages and occasionally set the pga2310 output levels. I'm expecting some IIR filters with a few second time constant to be sufficient. The "fade" control pot will pan between the rear input and the front input, and the second knob will control volume.

I'd be grateful for feedback, especially if you spot anything problematic in the circuit. Since the minimum order is 6 boards on the pcb.ng run, I'll also have five extra pcbs if anyone is interested.

- Robb
 

Attachments

  • DipTrace Schematic - mixer.pdf
    87 KB · Views: 327
I finished the first pass on this project today. I think it came out very nicely and it looks and sounds better than the Rolls mimimix 2 it replaced.

IMG_20180429_154034.jpgIMG_20180502_101945.jpg

A couple of lessons learned:

- I should have optimized my potentiometer voltage divider circuit for better linearity. I end up using ~90% of the ADC levels in the first 20% of travel with the naive design. If I was to do this again I would divide my 3V reference by 3 and feed 1V as the external ADC reference. Then I could use a 10k pot with a 3:1 divider to drive the ADC with a more linear output to read off the knob position. I was also surprised at the variation in the full scale resistance of the pots and the fact that compression against the front wall with the retaining nut seems to change the full scale resistance.

- I mirrored the land pattern for the teensy and had to mount the board upside down. It's a good thing I can reprogram without hitting the button!

- I decided after ordering the pcba that I wanted an internal 3mm audio jack attached to a hidden chromecast audio rather than front panel RCA connectors. I made a little adapter board with OSHpark but I had to switch the left & right channel labels throughout the design as a consequence. I also failed to power the chromecast of the +5V and DGND without coupling all sorts of terrible radio noises into my audio output. I ended up adding a second 5V supply off the a/c input and the problem went away.

- The stereo crossfade formula was more complicated that I expected it to be. Linear ramps sounded way off so I did a bit of research (key terms "constant power crossfader") -- since power is signal^2, the linear scaling factors should obey a^2+b^2=1. This makes sin and cos convenient blending functions.

Source code attached.
 

Attachments

  • mixer.ino
    6.1 KB · Views: 202
Status
Not open for further replies.
Back
Top