As a dac designer? Kind of has some of that look to it. You did ask about what would sound different if using linear power supplies. We're like, you don't already know that???
Last edited:
Well, as I said.. I'm a mechanical engineer. This is my second ever PCB design. So ye I'm very much a beginner. I just try to get as far as I can in the first attempt. Thats also why I said its going to eveolve over the next years, as I try different things and learn from my mistakes 😉As a dac designer?
I have build a qouple of speakers by now, but all have been driven by Hypex modules so I only know that sound as a reference. Thats SMPS and AKM. If I can ever get to that level I will be waaay more than happy 😀 But i'm aware I wont get there in my first try. probably also not the 10th 😉
Okay, understood. But we would hope you would like the design in progress to sound reasonably close to what the chosen simple dac chip is capable of. To me if you continue with the SMPS ideas, you are just repeating the same errors many of us already made. Maybe everyone's biggest mistake is to believe that datasheets exist to tell you everything you need to know to get great results out of a product. Not quite that simple. We all studied the datasheets too, and then some of us started to realize the main purpose of datasheets is to help sell ICs. That's what application engineers who write app notes are being paid for as well. For the most part, nobody in any business feels obligated to tell you why you shouldn't buy their product. That would be insane from a business perspective, and often quick grounds for getting fired. So, like with anything else its, buyer beware.
Short story: SMPS in dacs tends to be asking for trouble, even though the datasheets show you how to do it. IMHO, time to learn about that is probably now, not later. If you want, why not design the dacs so you can do an A/B test? Put an extra connector and some jumpers so you can cut off incoming SMPS power and bring in clean +- power? Then you will have done a hopefully useful lab class at this stage of your learning. And part of the lesson is to learn how to hear the difference. Do you have any idea what veiled sound is? Would you recognize it if you heard it?
If you find it to be a small difference, then I would suggest to listen to clean power only for a few months, then switch back to SMPS. Has your brain processing learned to recognize it yet? Because if you want to get good at audio design, it can help a lot develop more skill at listening.
Short story: SMPS in dacs tends to be asking for trouble, even though the datasheets show you how to do it. IMHO, time to learn about that is probably now, not later. If you want, why not design the dacs so you can do an A/B test? Put an extra connector and some jumpers so you can cut off incoming SMPS power and bring in clean +- power? Then you will have done a hopefully useful lab class at this stage of your learning. And part of the lesson is to learn how to hear the difference. Do you have any idea what veiled sound is? Would you recognize it if you heard it?
If you find it to be a small difference, then I would suggest to listen to clean power only for a few months, then switch back to SMPS. Has your brain processing learned to recognize it yet? Because if you want to get good at audio design, it can help a lot develop more skill at listening.
Last edited:
Your overall design is excellent and clean. You already placed a back-emf diode across the relay coil (D1) — good catch! Keep relay control lines separate from analog lines as much as possible to avoid noise coupling. Use good-quality caps for the RC — preferably film capacitors if possible for best audio clarity (electrolytics are fine if size is a problem). Since you are working with PCM5102A, here is another device based on PCM5102A, that may interest you. It's a Raspberry Pi HAT. You can connect your Raspberry Pi to your HiFi system using this HAT.Hi there !
After an attempt to design a bluetooth DAC, with questionable technical choices, I decided to be reasonable and make an S/PDIF version.
The DAC is still based on the PCM5102A chip, without additional preamplification stage, and the 100x50mm 4-layer PCB receives one ground plane per layer, connected together by vias.
I will use this module for S/PDIF to I2S conversion: https://www.audiophonics.fr/en/inte...spdif-to-i2s-dir9001-24bit-96khz-p-17274.html
For volume control, I'll use this: https://www.audiophonics.fr/en/preamplifier-modules/motorized-volume-control-board-50k-p-15006.html
From what I understand, the DIR9001 module will synchronize to the S/PDIF clock, and the PCM5102A will also synchronize via the I2S bus. I still connected the MCK pin of the DIR9001 module to an oscillator, so the DAC should keep running correctly without an S/PDIF signal, because my Tripath amp does not like to operate without a source.
I placed an LC filter at the 12V input because the DAC will be powered by an external SMPS power supply. Please tell me if the values of this filter are correct.
As advised for my previous design, the low noise 3.3V LDO is cascaded to a much larger 5V LDO to lighten its workload.
As this design was quite conventional, I couldn't resist adding a quirk, a high pass RC filter, for optional use.
Indeed, I chose the PCM5102A because it is the only decent DAC chip that I felt capable of implementing, being a beginner. But I know that it tends to be a little too generous in low frequencies.
So I added this high pass RC filter which cuts at 48Hz in the hope of being able to obtain more controlled and clean bass, if the need arises. I can use capacitors with significantly different values to fine-tune the filter. Let me know if this is a bad idea 🙂
EDIT : I just saw a big error on my high pass filter which in reality is a low pass 🤣. I am going to correct this and I am thinking of using a relay in order to be able to bypass this filter easily.
And here are the pictures :
View attachment 1284352View attachment 1284353View attachment 1284354View attachment 1284355View attachment 1284356
https://www.pcbway.com/project/shareproject/BassWasp_HAT.html
RPi is a notorious source of conducted and radiated EMI/RFI. It can easily couple into hat dacs. Moreover, RPi GPIO bus I2S clocking is known to be quite jittery.
Absolutely!But we would hope you would like the design in progress to sound reasonably close to what the chosen simple dac chip is capable of
Good point on the datasheets.. Never thought of that perspective :O
The external SMPS can of course easily be replaced with whatever. The input power connector is a 6 pin connector. The idea is to be able to supply 5Vdigital, 6Vanalog reference, +14VAnalog, -14Vanalog for op amp power, a gnd pin and a mute control pin. How these voltages are supplied is something I will experiment with in the future.If you want, why not design the dacs so you can do an A/B test?
The on-board SMPS dual rail thingy can be de-soldered and then the plus minus voltages can be supplied from the 6 pin connector directly.
So hopefully I can have one DAC board with the on-board supply and one with external supply. This should allow some sort of A/B test. Where one DAC is powered without any SMPS at some point.
Good point. And I certainly want to do more listening and experiments. I just started the journey 🙂Because if you want to get good at audio design, it can help a lot develop more skill at listening.
That being said, I'm not sure my goal is the ultimate HiFi performance. The most important thing for me is that I like the sound. Those things can probably be the same but my goal is that I will be happy for the sound not that it's the most HiFi possible.
The current China prototype sounds okay but it is plauqed by noise. I think most of it is power supply related as the noise is there even when the dsp is turned off (only amp powered but wired to the dsp via RCA). When I power it off I currently only cut the positive wire. So the gnd wire from the not-so-great 12v wall wart currently used is still connected to everything through a filter though.
If I unplug the 12v wall wart completely but leave the amp connected then the speakers go dead silent.
Once this noise problem is solved then I can better compare the sound of my dsp vs. My Hypex modules 🙂
Thanks!Your overall design is excellent and clean
Rodger!Keep relay control lines separate from analog lines as much as possible to avoid noise coupling
I just changed the design to allow both NOG and caps with 5mm pin spacing. Such as wima caps.Use good-quality caps for the RC
Thanks for the inspiration link 🙂
Thanks for your help! However, as said earlier in the thread, I had to put the project on hold. This gave me plenty of time to think and learn, and my future project will be more ambitious and based on another chip. To be continued 🙂Your overall design is excellent and clean. You already placed a back-emf diode across the relay coil (D1) — good catch! Keep relay control lines separate from analog lines as much as possible to avoid noise coupling. Use good-quality caps for the RC — preferably film capacitors if possible for best audio clarity (electrolytics are fine if size is a problem). Since you are working with PCM5102A, here is another device based on PCM5102A, that may interest you. It's a Raspberry Pi HAT. You can connect your Raspberry Pi to your HiFi system using this HAT.
https://www.pcbway.com/project/shareproject/BassWasp_HAT.html
- Home
- Design & Build
- Electronic Design
- DAC design based on PCM5102A