Sunday, November 29, 2015
Soekris R2R Dam Dac - Modding
Thought it would be good to rate the mods below
Biggest one is changing the reference voltage to the shift registers. That is one of the more complicated changes, but it makes a big difference.
Next was using battery power for the front end, either the amanero or exD card and for isolated 3.3. For some reason, this made a big improvement.
3.3V is next, and 1.2V is last.
At least that is my current rating of the main changes I made. As always YMMV.
tirnahifi dac thread
Most of the mods are from this thread. Its where I got the ideas for what is presented below.
NOTE on Batteries
batteryspace 26650 lifepo4 clone
This is a clone of the 26650 lifepo4 cell. They have worked well for me.
They are easy to use, and easy to charge. To charge, you just need to provide them with around 3.3VDC, regulated. I've charged as high as 3.6V, and as low as 2.5V. 2.5 volt is using two in series to generate 5vdc. I did this in my PC.
For some of the cells, I add a small value, 1W resister, to current limit between the charger and the battery. I used 1.5 ohm resistors, will describe where later.
These types of batteries can draw a lot of charging current, and you do not want to provide too much current. But if you keep them charged all the time, or at least close to full charge, this really is not an issue. I haven't decided yet if it matters if I apply the battery charging voltage when I listen to the DAC.
Remove output opamps
EDIT: Need to mention another part to remove, two really, C135 and C143. In the picture below, they were already removed, the purple wires pass right by them. They caps are on the output, as part of a high frequency filter, but I think they hurt the sound. If you think you need high frequency filtering, I would add a high quality, small value film cap from each output to ground. I didn't find a need to add a cap here.
I only use the raw output, so I don't need these opamps. And these are the only parts that use "PWR A+" and "PWR A-". This makes modding the power section of the DAC easier, and you can run the DAC from a lower voltage.
New Reference Voltage to Shift Registers
But I went a different route, I supplied +3.3V and -3.3V from LIFEPO4 cells to power the shift registers. They run fine on this voltage, and the dac sounds really good using lifepo4 batteries here.
Initially, I wired the + and -3.3VDC to a cap next to the op amp with a small wire. Wire goes directly to a switch. Purple/grey wires are -3.3VDC, and orange are +3.3VDC. You can see this in the pictures below.
In the picture below, the opamps are still installed. Compare to the picture above, where they have been removed.
Later, I changed the wiring, to wire +/- 3.3V to each shift register, so I have 16 wires, 8 for positive and 8 for negative. I wired a couple directly to the shift register, but I was making solder bridges, so the rest I soldered the wire to a cap next to the shift register, which is much easier.
And it does sound better with the 16 wires versus 4, more detail and better instrument separation.
|FIGURE Batteries Charger and switch connections|
Relays for the power switching
I also decided to use relays to control power to the dac. Went to my local Frys, and picked up two of these 4 pole relays.
4 pole dt relay
I made a simple, unregulated, 24 VDC power supply to turn on the relays. It uses a 16VAC walwart I had from a previous project, a bridge, cap and a switch. Threw into a little box I had that has used to be a battery charger.
The relays are "mounted" with earthquake putty, which is like blue tak. BTW, since the relays stick up, and have pretty large contacts to solder to, they are easier to solder the 16 wires to, for shift register power.
1st relay switches,
+3.3VDC to shift registers
-3.3VDC to shift registers
+3.3VDC to power logic on the board
2nd relay switches
+1.2VDC to power FPGA
+3.3VDC to power Amanero board (this uses two poles, will describe later)
Removing some parts
+V in is only used, now it supplies the 3.3V linear reg, and the 1.2V switcher.
The dac comes with a 3.3V linear reg. This is the 3 pin device with the tab, on the right of the clock chip in the picture above. I removed it by cutting the three pins, and then heating up the tab until it came loose.
I added another lifepo4 battery, and wired it through the relay. +3.3 from the battery/relay go to the middle pin of the regulator. I soldered the - tab from the battery directly to a ground pad on the board, a pad that had been used by a cap I removed.
R3 and R4 are 1.5ohm, 1W resistors intended to current limit the charging current, and to provide a little isolation between the charger and the battery while the dac is on.
1.2VDC Switcher replacement
An LT1764 linear regulator generates the 1.2VDC. This is the minimum voltage that this part can generate. I used it because I had a few on hand. As shown in the schematic above, pins 1 and 2, and 4 and 5 are shorted.
I put a short wire between these pins, close to the body of the part, and then cut off most of pin 2 and 4.
Pins 3 and 5 solder directly to the board, to J2-1 and J2-2. Soldering these to pins to the board "mounts" the LT1764 to the board.
Pin 1 in bent up, and then a wire is soldered to it from the relay. When the relay is on, 3.3V is fed to the LT1764, and it generates 1.2V to the DAC.
I tested the LT1764 stand alone first, after shorting pins 1 to 2, and 4 to 5, I connected it to 5VDC, and measured the output. The output was high, around 1.5V. I decided it needed an output cap, so I found a small cap (I think it's 47uf, but 10uf or larger would work), and soldered the cap from pin 3 (ground) to pin 5 (output). Tried again, and I now have 1.2V out of the 1764.
After checking it, I installed it on the board. With this installed, I would no longer use the 1.2V switcher, and I had already removed the 3.3V linear from the board, so I don't need to provide 12VDC to the A+ input anymore, and I removed the two wires I had connected to J1 to provide that voltage.
Powered it up, and all was good :)
Then I removed the 1.2V switcher, most of the large input caps, and the two inductors by the switcher. The inductors are difficult to removed, I broke them with pliers (ferrite is brittle) and then removed all the pieces.
It sounded slightly better after going to the 1.2V linear, and a little better after removing the old components. Not a huge change, I honestly expected more, but still worthwhile to do.
Amanero Power and isolated 3.3V power
Initially, I powered the Amanero and the isolated 3.3V with a simple LM317 reg and a 9V walwart. Sounded fine, and I didn't think this power was critical since it is isolated from the dac. I was wrong.
On advice from nige2000, I added another lifepo4 battery here, and it was a major improvement. More so than the 1.2V regulator mod, and also I think more than the 3.3V mod.
As used in this mod, each battery is like a little power supply. So for grounding the battery, I tried to connect the battery ground as close as possible to the parts that the battery was powering.
So the ladder batteries are grounded relatively close to the shift registers. The 3.3V battery is connected to ground by the 3.3V parts, etc.
FPGA Cap mod
There are a bunch of caps, 36 to be exact, between the FPGA and shift registers. The caps are required because some of the shift registers are running at -3.3V, So, without the caps, the either the fpga or the shift registers would be damaged.
I'm changing the caps to 100pf panasonic film caps. Mouser and digikey both carry.
mouser link to caps
I bought a hundred because of the quantity discount it was just a little more than 50. I would order some extras because they are tiny, and easy to lose a few.
To remove the existing caps, I use two soldering irons. I recently picked up a 2nd iron from hobby king, a Hakko clone that was really cheap there
hobbyking soldering iron
If you heat up each end of a cap with an iron, it just pops out really easily.
I replaced one cap, made sure the DAC still worked, then replaced 4 (first little group), and checked again.
Then I did 5 more, for a total of 9. That is for one set of shift registers, so 1/4 of the way done, and checked again. Checking this often slows it down, but gives me piece of mind :)
To install, I add a little dab of solder to one pad, and then tack the cap down to that pad. Then I solder the other pad with a little more solder. I use tweezers to hold the cap. With this method for removal and replacement, it actually goes pretty quickly, easier than I thought it would be.
After replacing 27 of the caps, I heard a tiny bit of static in one channel. I tried to touch up some of the pads, and the tiny bit of static became a lot of noise. Pulled out the scope, and started looking at the shift register side of the caps. On a few of the caps, the signal was very low, as compared to the others. On these same caps, the signal was fine on the FPGA side.
I replaced those caps, carefully using as little heat as possible. I checked the signals again, and they were fine. Then I hooked it up, and static/noise was gone.
These film surface mount caps are very delicate, and you should use as little heat as possible to install them. You should also check them after you install them.
But, I also heard an improvement in detail, realism and low end presence after making this change, so I still recommend the change, but its a borderline recommendation, because the caps are so delicate and easy to break.
exD USB to I2S card
Got a used exD USB to I2S card to try instead of the Amanero, to see how it would sound.
I had to email exD to get drivers for Windows 2012R2, but he sent me a new driver, and with that I installed it fine.
This card needs 9V to run, it does not use USB power. It has a few onboard regs that run off of the 9V.
There is a 5V reg, and a 3.3V reg that runs from 5V, and one around 3.1V that runs from 9V.
I have a few questions.
1. For the "FPGA Cap mod", could you show us a photo about how it looks like after replacing the capacitors?
2. For the Amanero USB card, is it needed to remove the 3.3v regulator onboard? As when there is usb cable plugged in, there will be 5V power from the PC side.
About charging, I am new to the battery thing and I found that it requires some circuit to make current and voltage limiter at different stage of the battery power level, or simply use some IC specific for charging lithium battery. So is is ok in long term if you use a fixed 3.3v for charging? I am thinking to implement this and I aware of the safety of battery in long run as I am thinking to charge it whenever the DAC is off.
Also, if I fix the batteries in parallel and not relocate them when charging, that means the batteries are charging in parallel, is it ok?
Thanks a lot.
Sorry about the long time to answer, I never remember to look for comments/questions to my blog pages.
1. OK, I can add a picture, but it just looks like a cap, although slightly different from the original.
2. Yes, I did remove the 3.3 regulator for the Amanero, did that a long time ago.
LIFEPO4 batteries are easy to charge. Yes, you can buy a charger, or build a special circuit, but you really don't need to. Some batteries do need a special circuit to charge, but LIFEPO4 batteries are really easy to charge, but give them a constant voltage like I did and you're good to go