DIYstompboxes.com

DIY Stompboxes => Building your own stompbox => Topic started by: Bunkey on February 16, 2021, 09:33:11 AM

Title: Audio Grade Electrolytics and the Ever Elusive ESR...
Post by: Bunkey on February 16, 2021, 09:33:11 AM
Hello peoples of the internet, you smart folk you.

Is anybody with an interest in the wider field of electronic engineering for audio familiar enough with the various audio-grade electrolytic capacitors to know what sort of ESR figures are associated with such caps?

I require a 220uF with an ESR of around 200-300mOhm to use on the output of an ideal LM317 regulator (which could see temps of up to around 50deg in an enclosure).
See the following if you're interested in what I'm obsessing over: http://www.tnt-audio.com/clinica/regulators2_impedance1_e.html

Personally I like the Nichicon FG and KZ series caps - I have a bunch of them here already just waiting to be used - but Nichicon don't publish their ESR spec, nor does any other manufacturer who's caps fall into the 200-300mOhm range I'm interested in; audio or not.
I wonder if these various popular audio caps do actually have an ESR in this region but it isn't published as it wouldn't look good on paper.

I appreciate the application isn't strictly in the audio path to necessitate a high grade cap (heck it's a guitar amp) but like I say, I like these caps and that accounts for more than it's worth!

Maybe one of you has an LCR meter and has investigated this before?

The alternative would be to use something like a Panasonic FC with its relatively 'high' low-esr and put a 100mOhm resistor in series - I'm not sure if there are other issues that could arise as a result of faking it though?


Thank you
Title: Re: Audio Grade Electrolytics and the Ever Elusive ESR...
Post by: iainpunk on February 16, 2021, 11:32:44 AM
if you aren't pulling huge currents, having up to an ohm isn't to concerning, if you need the low ESR, put smaller values parallel, like ten times 22uf is still 220uf, but with 1/10th of the esr (if the traces are big enough, the leads short enough and the solder job is propper)

cheers, Iain
Title: Re: Audio Grade Electrolytics and the Ever Elusive ESR...
Post by: Bunkey on February 16, 2021, 12:40:05 PM
I don't mind prototyping like that but when it comes to actually producing a finished piece of work what I need is a single cap of the correct capacitance with an ideal ESR of 200-300mOhm. Preferably a quality item specifically suited to decoupling in an audio amplifier.

I'm inclined to put a 100mOhm resistor in series with a Panasonic FC of 50-100mOhm but it'd be nice if these Nichicon audio caps I have already actually fit the bill without having to get all Heath Robinson on that shit.
Title: Re: Audio Grade Electrolytics and the Ever Elusive ESR...
Post by: R.G. on February 16, 2021, 12:43:27 PM
Engineering is as much about economics as it is about getting something to work. As Iain alludes to, there are ways to get ESR down to as low a level as you like. The trick is - do you know what the ESR is that you need to reach? Is 200mOhm low enough? Do you need 50mOhm? How about 10mOhm?  The price in both parts cost and board space and volume rises with every step. At some point, the ESL gets to being a bigger effect than the ESR. Do you know where that is? And where to find ESL specs?

One of the more subtle and sophisticated parts of audio engineering lies in making the circuit more immune to whatever it is you're trying to get low ESR for.
Title: Re: Audio Grade Electrolytics and the Ever Elusive ESR...
Post by: Bunkey on February 16, 2021, 12:48:16 PM
(https://i.imgur.com/M6kld8Ml.jpg)


My 200-300mOhm requirement is based on the fact this will reduce to a little over 100mOhm in the theoretical 50degC temps of an unventilated enclosure.

I require this value to reduce the resonant peak caused by inherent inductance of the LM317.

By my understanding 200-300mOhm isnt low-ESR and that's the problem - Else I'd just use a Pana FC or FM and be done with it. They're both <100mOhm - the FM by an order of magnitude - and as you can see and is explained in the documentation in the link that induces a resonant peak on the output of the LM317.
Title: Re: Audio Grade Electrolytics and the Ever Elusive ESR...
Post by: Bunkey on February 16, 2021, 01:19:15 PM
I take no credit for that work btw, I'm literally just reading it off somebody else's site, but of course I'm going to try and implement that in what I'm doing if I can.

At the end of the day I doubt it's really going to make much of a difference in this application but as PRR (I think it was) stated in a topic I read as part of my research; the performance of the LM386 and similar chips that I intend on implementing in the design are really succeptible to the quality of the power supply they run on; therefore I'm trying to create an ideal power supply as far as the LM317 goes.
I could build a discreet regulator that was quieter but I'm working to the constraints of the enclosure and I mean, f-ck man, how far down that rabbit hole do you really wanna go?

Finding a cap with a 200-300mOhm ESR and running an LM317 seems like a reasonable solution all things considered.

...So that is my take on engineering economics.


I just want straightforward assistance from someone who might know the ESR range of the kinda caps I have to hand here man that's all but I appreciate your wider scope.
Title: Re: Audio Grade Electrolytics and the Ever Elusive ESR...
Post by: PRR on February 16, 2021, 02:50:39 PM
Quote from: Bunkey on February 16, 2021, 09:33:11 AM...ESR of around 200-300mOhm to use on the output of an ideal LM317 regulator..............................

I thought the 'Ideal' grade of LM317 was out of stock everywhere?

Why do you even need a regulator? Most audio is not voltage critical as long as variation is slow.

And as said, there are ways to design audio to ignore rail impedance.
Title: Re: Audio Grade Electrolytics and the Ever Elusive ESR...
Post by: R.G. on February 16, 2021, 03:31:40 PM
Quote from: Bunkey on February 16, 2021, 01:19:15 PM
I take no credit for that work btw, I'm literally just reading it off somebody else's site, but of course I'm going to try and implement that in what I'm doing if I can.
Could you post a link to the site you found that info on? I'd like to do some thinking about it.

I looked at the LM317 datasheets - actually, a couple of them, and it looks like the LM317 is compensated in a manner that keeps it at a low output impedance up to about 500Hz, at which time the amplifier inside the internal feedback loop runs out of gain, and so the feedback can no longer keep the output impedance low. It's output impedance rises, and it's over to the output caps for any impedance reduction as frequency goes up. The blue curve looks pretty much like the LM317's output impedance with that linear rise up to the about-400mOhm flat. The green and red curves seem to reflect the loss of damping the "resonance" of the rising output impedance of the Lm317 and the falling impedance of the 220uF cap.

One way around this is to use a different kind of cap. Ceramic and film caps typically have ESRs in the 20mOhm or less range. A 22uF film or low ESR ceramic with 20mOhm would have a capacitive reactance of 100mOhm at the 8K resonance point, and would have that 20mOhm ESR, so the parallel ESR of the caps at that frequency (and on up in frequency) would nail the ESR to 120mOhm or lower even if the 220uF cap continued to have issues.

Another approach is to insert a 2.2 ohm to 4.7ohm resistor after the LM317 and put the 220uF cap on the outward side of that. It makes the DC regulation drop a little, perhaps acceptably little depending on the application, but forces the output impedance to the load to be no higher than the resistance at DC, but declining to whatever the impedance of the cap(s) on the output bypass happens to be.

One truth in designing low-impedance power supply outputs is that you have to fight inductance with locality - that is bypass caps right at the chip. The inductance of even a couple of inches of PCB trace can cause high power supply impedance local to the chip, even from a perfect voltage source far away. RF guys know this all too well. In the Golden Age of tubes, RF guys had charts of lead lengths of caps and frequency where above this frequency, the cap no longer matters, only the length/inductance of any lead wire.

But I'm wandering again. Can you post us a link?
Title: Re: Audio Grade Electrolytics and the Ever Elusive ESR...
Post by: Bunkey on February 16, 2021, 03:34:10 PM
Sorry I was just hoping for a general discussion on the characteristics of audio-grade electrolytics in the hope of picking out something suitable.
Besides, it's an interesting topic and I get the impression what sounds good is a far cry from what would be considered well spec'd
...maybe I should adopt that logic here, order a few different types and roll them through to see if any make an appreciable difference.

Quote from: PRR on February 16, 2021, 02:50:39 PM
Quote from: Bunkey on February 16, 2021, 09:33:11 AM...ESR of around 200-300mOhm to use on the output of an ideal LM317 regulator..............................

I thought the 'Ideal' grade of LM317 was out of stock everywhere?

Why do you even need a regulator? Most audio is not voltage critical as long as variation is slow.

And as said, there are ways to design audio to ignore rail impedance.

I'm not sure what you mean, I'm trying to pair the LM317 with the ideal supporting components to get as clean a supply as possible.

This was based on an assertion of your's when troubleshooting an issue somebody else had with LM386 distortion in which you said the performance of the chip depended mostly on the quality of the power supply it ran off - It's not a problem I've encountered yet but I'm designing with that in mind.

Still working on the miniature amp with the single LM386 I started during my last thread (not the one I was designing the rectified supply for but the smaller thing I ended up breadboarding in the process);
For the purpose of practicality and the space available in the enclosure, as well as what is commonly available, I'm using an unregulated 18v wall supply (max 25v unloaded).
The supply is of low quality with a single 1000uF cap, so I'm adding an additional 1800uF smoothing/reservoir cap at the amp side feeding this regulator which supplies a clean 14.5v to the discreet pre-amp (cascaded BC108's) and LM386 power amp (or bridged pair).

I have no doubt there are better ways to design audio to ignore rail impedance but I'm afraid at this stage I'm nonethewiser, so I'm just trying to get this thing performing to the best of my ability based on all the information I've absorbed during the process of designing the thing.
Title: Re: Audio Grade Electrolytics and the Ever Elusive ESR...
Post by: Bunkey on February 16, 2021, 03:35:05 PM
Quote from: R.G. on February 16, 2021, 03:31:40 PM
Could you post a link to the site you found that info on? I'd like to do some thinking about it.

http://www.tnt-audio.com/clinica/regulators2_impedance1_e.html

The author seems to agree that the LM317 isn't exactly stable and turns inductive above 400hz. I'm sure you can make more sense of this information than me but it didn't trigger my BS alarm so I'm inclined to follow the findings as presented :P

See also:

http://www.tnt-audio.com/clinica/regulators_noise1_e.html

Title: Re: Audio Grade Electrolytics and the Ever Elusive ESR...
Post by: PRR on February 16, 2021, 04:54:25 PM
A LM386 is all current source except the bias resistor which should be bypassed.

A crappy power source may bother a LM386, but it does not need or deserve any "ideal" source. Get a nice voltage and put 500uFd across it.
Title: Re: Audio Grade Electrolytics and the Ever Elusive ESR...
Post by: Bunkey on February 16, 2021, 05:34:20 PM
Cheers, I'll keep that in mind.

Tbh the amp has been working reasonably well with an even worse 9v 100mA supply I've been using straight off the wall (measuring 12.5 under load) but it does seem to hit the limits a bit.

I'm sending the finished piece to an old friend and I can't guarantee what he'll plug into it (I know he has at least one SMPS for his pedalboard) so the overengineered and regulated supply should hopefully prevent any issues as long as it's fed with something around 18v+ and a current capability to suit.

This way I can copy-paste the idea into other designs too, once I know what's what..

That A&R A60 stereo (which seems to get a mention in every thread I publish - not intentional!) has a textbook LM317 supply for the pre-amp so I may well implement some of this stuff there; and again the 18v bridged LM380's and 12v heater on the larger valve hybrid design.

Spinning a lot of plates here man but they're all revolving around the same point so it's not too bad :icon_mrgreen:
Title: Re: Audio Grade Electrolytics and the Ever Elusive ESR...
Post by: R.G. on February 16, 2021, 06:32:19 PM
Still reading. No, the guy's not wild and raving, and the things he's saying don't refute common sense.

Here's one for you to go look at: the datasheet on the LM386 says that if you put a 10uF cap as close to it as you can reasonably put it, the chip has a 50db power supply rejection ratio from few hundred hertz on up. Looks like the LM386 can ignore power line disturbances by a factor of one part in 100,000 above say, 500Hz. That begs the question of why not use the PSRR of the LM386 to complement the production of power by an LM317. Perhaps use a 1 Ohm series resistor after the LM317 and put a 100uF to 220uF after that, feed it to the LM386 and a local 10uF decoupling cap and see if the audio quality is sufficient.
Title: Re: Audio Grade Electrolytics and the Ever Elusive ESR...
Post by: Rob Strand on February 16, 2021, 08:38:58 PM
QuoteBy my understanding 200-300mOhm isnt low-ESR and that's the problem - Else I'd just use a Pana FC or FM and be done with it. They're both <100mOhm - the FM by an order of magnitude - and as you can see and is explained in the documentation in the link that induces a resonant peak on the output of the LM317.

No, it's not the problem it's the solution.

The output of impedance of the LM317 is inductive.   When that feeds the output filter cap, the cap resonates with the inductive impedance of the LM317 and creates a resonant peak.

*Increasing * the series resistance of the cap increases the damping and reduces the peak.    The side-effect is the impedance of the supply at high frequencies increases - as that is determined by and is pretty much equal to the ESR of the cap.

The lower frequency impedance is set by the regulator output impedance.

So here's the dilemma:
- Reducing high frequency output impedance need a low ESR
- the low ESR exaggerates the peaking

To reduce the peaking you need to increase the resistance but that will increase the HF impedance.

So another way is to add resistance between the regulator output and the cap.   That increases the low frequency impedance but doesn't affect the high frequency impedance.

What you can do is set the resistance in series with the regulator output equal to the caps series resistance.   That produces a flat impedance curve.    However unless the the total resistance is large enough you will still get peaking  you then need to increase both resistances to flatten the peaking.

All I'm doing here is highlighting the tradeoff between HF and LF impedance and how to play to game of reduce the peak.  A 100% technical exercise.

I'm not advocating this is a good thing.   Unless the peaking is particularly high it's not worth worring about.    Also the LF impedance would typically be more important than the HF impedance.  So not using resistors in series with the regulator seems wise and choosing a common garden electrolytic will have enough ESR to keep the impedance peak down.     Keeping the impedance low at high frequencies is best done at the amplifier with another electrolytic cap.  *if* you are concerned with the peaking then only then would you add resistance between the regulator cap and the amplifier cap.    You might find the PCB track resistance magically does this for you.
Title: Re: Audio Grade Electrolytics and the Ever Elusive ESR...
Post by: Bunkey on February 16, 2021, 09:07:28 PM
Thanks Rob.

I meant it was the problem in that the slightly higher ESR values required to reduce peaking are hard to come by when going on datasheet values in order to pick out a capacitor, as manufacturers don't seem to publish values in the 200-300mOhm range I'd liike - That's why I'm wondering what the mystery values of the audio caps are and whether they're suitable stand-ins here, as opposed to just picking out a cheap cap and hoping its ESR happens to be right.

The slightly higher ESR to dampen the resonance is exactly what I'm trying to do.

Quote from: R.G. on February 16, 2021, 06:32:19 PM
Here's one for you to go look at: the datasheet on the LM386 says that if you put a 10uF cap as close to it as you can reasonably put it, the chip has a 50db power supply rejection ratio from few hundred hertz on up.

As for a 10uF cap at the amp:-

The Ti datasheet I'm looking at suggests putting a bypass cap on pin 7. Checking this against the schematic on electrosmash shows that would form an RC filter with the 15k resistor R7 giving a cutoff @ 1hz, so yeah that makes sense and looks pretty decent.

It's nice when the solutions begin to fall into my own scope of understanding  :icon_lol:

(https://www.electrosmash.com/templates/hot_relief/images/LM386/lm386-lin-topology.gif)

Title: Re: Audio Grade Electrolytics and the Ever Elusive ESR...
Post by: Rob Strand on February 16, 2021, 09:22:34 PM
QuoteThanks Rob.

I meant it was the problem in that the slightly higher ESR values required to reduce peaking are hard to come by when going on datasheet values in order to pick out a capacitor, as manufacturers don't seem to publish values in that range - That's why I'm wondering what the mystery values of the audio caps are and whether they're suitable stand-ins here, as opposed to just picking out a cheap cap and hoping its ESR happens to be right.

The slightly higher ESR to dampen the resonance is exactly what I'm trying to do.
Ooops, sorry for the misunderstanding.

I did a quick sim of the double cap idea.  You can see how this in itself dampens the peak.
Both caps are identical and the ESR is step 10m, 100m, 1000m.

(https://i.postimg.cc/yWmqd3n6/Regulator-Impedance.png) (https://postimg.cc/yWmqd3n6)


Maybe should explain
- the "I" source is just so VZ plots in units of impedance.
- LM317 output impedance is: 3.2uH + 10m
- we are interested in the impedance looking into the supply
Title: Re: Audio Grade Electrolytics and the Ever Elusive ESR...
Post by: Rob Strand on February 16, 2021, 09:43:58 PM
Here's one where you use a common garden cap at the regulator and the one at the amp varies the ESR.

(https://i.postimg.cc/vcPxJBJX/Regulator-Impedance-2.png) (https://postimg.cc/vcPxJBJX)


EDIT:

FYI, a way of getting higher ESR is to use smaller value caps.
Title: Re: Audio Grade Electrolytics and the Ever Elusive ESR...
Post by: Bunkey on February 16, 2021, 10:21:28 PM
Thanks for running these man, I'm gonna have to take another look tomorrow as it's just gone 3am here and all those lines are beginning morph into one.

You might find some of the graphs on that linked tnt-audio page interesting, especially regarding the cap values.

Another rule of thumb for higher ESR seems to be the biggest voltage rating in the smallest physical package, so that could always be something to fall back on, and I would speculate the Fine Gold audio caps may have a higher ESR than the larger KZ Muse caps for exactly that reason... It's obviously way passed my bedtime :icon_lol:

Cheers
Title: Re: Audio Grade Electrolytics and the Ever Elusive ESR...
Post by: PRR on February 17, 2021, 01:11:26 AM
Bypassing pin 7 should be considered "mandatory". Without it all the power crap reflects over to the output at half level, and the signal gain function is whacky.

Why do you think you want zero or near-zero source impedance?? Everything is relative! Sure I'd like it if my house lights didn't dim when the well pump came on, which means I would like <0.1 Ohms in the feeder line. But my 0.4r feeder cost a lot and a 0.1r feeder would be 3.5X more. I can live with the flicker.

A power amp driving 8 Ohms looks-like about 50 Ohms to the power supply. So you want less than 5 Ohms for low sag, and many favored-flavor guitar amps allow 20% sag and that's over 10 Ohms. Third-Ohm is better than you need. And sure not worth the brain-pain here.
Title: Re: Audio Grade Electrolytics and the Ever Elusive ESR...
Post by: R.G. on February 17, 2021, 10:27:27 AM
Quote from: Bunkey on February 16, 2021, 09:07:28 PM
Quote from: R.G. on February 16, 2021, 06:32:19 PM
Here's one for you to go look at: the datasheet on the LM386 says that if you put a 10uF cap as close to it as you can reasonably put it, the chip has a 50db power supply rejection ratio from few hundred hertz on up.

As for a 10uF cap at the amp:-

The Ti datasheet I'm looking at suggests putting a bypass cap on pin 7.
That's good too, but you also need a local Vcc-to-ground bypass cap right at the chip; generally a 10uF or so and a 100nF will do it.

Whether a chip's datasheet says so or not, it's good practice to put a power supply bypass cap as close to the chip as you can get it. Kemet had a great paper on capacitor basics, titled "capacitors_basics_applications.pdf" if you can find it.
Title: Re: Audio Grade Electrolytics and the Ever Elusive ESR...
Post by: Bunkey on February 17, 2021, 11:05:12 AM
Quote from: PRR on February 17, 2021, 01:11:26 AM
Why do you think you want zero or near-zero source impedance??

You're speaking to somebody who just spent the best part of an hour deciding which M3 bolt would look best for attaching the heatsink to the TO-220 casing  :icon_lol:

Edit: Better omit that before I call my own sanity into question.

I just obsess over every little detail but as long as I can keep the project moving forward it tends to be advantageous. Never truly satisfied if I feel I've left something on the table.
If it's any consolation I am a lot less inclined to pick out the perfect capacitor now than I was before. You're keeping me right.

Quote from: R.G. on February 17, 2021, 10:27:27 AM
you also need a local Vcc-to-ground bypass cap right at the chip; generally a 10uF or so and a 100nF will do it.

Whether a chip's datasheet says so or not, it's good practice to put a power supply bypass cap as close to the chip as you can get it.

I'd actually breadboarded the amp like this before I started to overthink everything so I'll keep that in place and add another to pin 7.
So the ESR of this bypass cap(s) is going to parallel that of the 220uF cap at the regulator side - and that's why you would suggest a small resistance in-line at the output?

PS. Rob, what are you using to set up and simulate those graphs? I'd quite like to play around with some of these values myself. Cheers.
Title: Re: Audio Grade Electrolytics and the Ever Elusive ESR...
Post by: Bunkey on February 17, 2021, 03:04:40 PM
Ahh I've managed to copy your setup on LTspice, Rob :icon_biggrin:

Just not sure how to get it to graph multiple values like that.. I'll do some poking around.


(https://i.postimg.cc/62JVr0j1/220u-sim1.jpg) (https://postimg.cc/62JVr0j1)
Title: Re: Audio Grade Electrolytics and the Ever Elusive ESR...
Post by: Rob Strand on February 17, 2021, 05:49:10 PM
QuoteThat's good too, but you also need a local Vcc-to-ground bypass cap right at the chip; generally a 10uF or so and a 100nF will do it.

Whether a chip's datasheet says so or not, it's good practice to put a power supply bypass cap as close to the chip as you can get it. Kemet had a great paper on capacitor basics, titled "capacitors_basics_applications.pdf" if you can find it.

There's actually a longish thread started by Paul Marossy a couple of years ago.   He had a design he had made in the past with LM386's.   He built it with "modern" LM386's and had no end of oscillations issues.   After trying many things out of "oscillation fix toolbox" and addressing some finer points he didn't have much luck.   After some perseverance, Paul found the only thing that worked was big caps *right across* the supply pins.

QuoteAhh I've managed to copy your setup on LTspice, Rob :icon_biggrin:

Just not sure how to get it to graph multiple values like that.. I'll do some poking around.

The ".step" function does that.   The details are,

- Set the part value using an expression.  In my example that's the cap ESR.  The expression is best written in braces {}.
  FYI, while I've shown a single variable inside the braces you can actually write whole expressions like {2*ESR+5}.
- The expression contains a variable, in this case ESR.   Spice uses the term 'parameter' for variables.
- The step function assigns different values to the ESR parameter on consecutive spice runs.
  .step param ESR list 10m  100m 100m
   "list" means the ESR values come from the list of values following.
    Spice lets you define other ways of stepping, like linear steps or log steps where you just put in the range of values.
- FYI, you can step more than one variable.   However, the output can be confusing.
- The line,
   .param ESR 300m
    does nothing when step is present.
    This lets me comment out the step function and the ESR value will get set to a known good value; otherwise ESR is undefined.
    Sometimes stepping creates too much clutter, so I turn it off.

Oh, you need to click the .OP icon to add a .step.
Title: Re: Audio Grade Electrolytics and the Ever Elusive ESR...
Post by: PRR on February 17, 2021, 09:37:19 PM
> "capacitors_basics_applications.pdf" if you can find it.

I found a 61-page "power point deck" (800kB PDF file) by that name and company on the Euro Space Agency sub-site:
https://escies.org/download/webDocumentFile?id=62173

Some amusing graphics:
(https://i.postimg.cc/wRy07yfS/Taipei-Decouple-42.gif) (https://postimg.cc/wRy07yfS)
Title: Re: Audio Grade Electrolytics and the Ever Elusive ESR...
Post by: duck_arse on February 18, 2021, 08:52:51 AM
Quote from: Bunkey on February 17, 2021, 11:05:12 AM

You're speaking to somebody who just spent the best part of an hour deciding which M3 bolt would look best for attaching the heatsink to the TO-220 casing  :icon_lol:
Cheers.

this has me interested. what did you choose, and why?
Title: Re: Audio Grade Electrolytics and the Ever Elusive ESR...
Post by: R.G. on February 18, 2021, 11:25:58 AM
Quote from: PRR on February 17, 2021, 09:37:19 PM
> "capacitors_basics_applications.pdf" if you can find it.

I found a 61-page "power point deck" (800kB PDF file) by that name and company on the Euro Space Agency sub-site:
https://escies.org/download/webDocumentFile?id=62173
Yep, that's it. It gets across in simple language the ideas that:
> Capacitors can be modeled as ideal caps with small series inductors and inductors to a HIGH degree of accuracy
> ESR and ESL isolate the capacitance from their loads
> For effective decoupling, you have to put capacitors physically local to their load, perhaps in a string of local decouplers.
Title: Re: Audio Grade Electrolytics and the Ever Elusive ESR...
Post by: Bunkey on February 18, 2021, 11:41:12 AM
Quote from: duck_arse on February 18, 2021, 08:52:51 AM
Quote from: Bunkey on February 17, 2021, 11:05:12 AM

You're speaking to somebody who just spent the best part of an hour deciding which M3 bolt would look best for attaching the heatsink to the TO-220 casing  :icon_lol:
Cheers.

this has me interested. what did you choose, and why?

Sometimes I say things which make sense or seem amusing to me at the time and then I log back in and read what I've written previously and I regret saying anything.
I probably look like a complete idiot to some people, myself especially. I seem to take myself far too seriously but there's not much I can do about that.

If it's a genuine question then I was just working out the total thickness of the assembly vs the various nut and bolt combinations available so I didn't have a lot of material sticking out the back of the sink and looking clunky. It's also close to the side of the enclosure. The complete regulator assembly needs to be squeezed into a specific area so piecing it together whilst considering things like ground routing, heat dissipation, physical component size and reducing the amount of wiring floating around the place which might cause hum issues is quite a task. I'd like its appearance to reflect the effort I've put into designing it too. I have a bolt supplier who does nicely formed A4 stainless bolts I use on some of the engines and things I build in my other life, so I've gone through their catalogue and picked out a cup head type with a hex socket that looks a bit better quality than a standard A2 phillips head bolt. The A4 alloy also has a nice blue hue to it as well as being more resistant to corrosion, maybe you know this already.

(https://i.imgur.com/pmAigBeh.jpg)

Welcome to my process.

Sketch at bottom - The hashed thing is the sink. The protoboard on the card is what I'm building it onto placed on a layout sketch of the amplifier; you can see the spacial requirements. The regulator assembly being breadboarded on the left is exactly what I don't want in terms of that bolt sticking out the back (uses a different sink too).

Also if anyone spots a problem in the schematic then please let me know. As it's a DC input from a wall wart there is no 'earth'. I figured having the switch connected right at the amp's power terminal with the central ground point for the amplifier between it and the additional 1800u reservoir/smoothing cap would help to mitigate noisy audio ground issues arising from not great switch contacts (it's a flip flop type out of a Les Paul).

I'll probably stick a fuse right at the +ve terminal too and maybe a reverse biased diode across the input for polarity protection?
Title: Re: Audio Grade Electrolytics and the Ever Elusive ESR...
Post by: Bunkey on February 18, 2021, 09:50:05 PM
Sorry I felt I was becoming the butt of a joke and got a bit upset. I don't understand half of what you guys are talking about.

Check this thing out though, freaking awesome with the new power supply:



Low gain and volume here. Breaks up into nice compressed light fuzz with the gain set a bit higher, really dynamic when playing and the guitar volume control cleans it all up.
The clipping is all pre-amp gain with seperate volume preceding the LM386 - that's set to the internal gain so there's clean headroom for the whole volume range. Could do with implementing the bridged pair for a bit of a lift at low gain settings though.

Still gotta tweak a few things in the tone shaping and mess with the cap values on the regulator.
Obviously it's quite cobbled together too but man it's working well at this stage.

I've got a 5mm shit ply speaker baffle in that cabinet atm (2x 4" speakers) and I think it'd benefit from a solid(er) 6mm birch ply baffle instead. The thin stock gives the cab more life but there's a strong resonance in the mids at higher volumes and reckon the baffle is most definitely the culprit. The eq is sweet at low volume so it'd make sense.
This thing goes loud even with just the one 386 in it! Quite surprising.

I'll maybe turn the gain up tomorrow and get a better clip.

Might copy this over to a dedicated build thread if there's interest - don't mean to talk at you guys, I just like to document my work.

Cheers and thanks for the help you've given me so far.
Title: Re: Audio Grade Electrolytics and the Ever Elusive ESR...
Post by: Rob Strand on February 19, 2021, 12:02:20 AM
QuoteLow gain and volume here. Breaks up into nice compressed light fuzz with the gain set a bit higher, really dynamic when playing and the guitar volume control cleans it all up.
The break-up sounds good.

In the end it was all worth while.
Title: Re: Audio Grade Electrolytics and the Ever Elusive ESR...
Post by: duck_arse on February 19, 2021, 09:22:43 AM
really, if we can't talk the relative merits of screw types in a forum like this, what hope is there for the wider world at large. and I assure I am not doing any butt jokes just at the moment.

two points to make - the black/blackish screw will dissipate heat more like a heatsink [than a silver screw], which is also black for thermal reasons, and, surface area - a longer screw will present a greater surface area to dissipate heat, and right at the source of the heat. but the thread would be to the fins-side of the heatsink, no?

an edit three point - thermal grease. are you using any between tab and heatsink? or a sillicone washer of some modern description?
Title: Re: Audio Grade Electrolytics and the Ever Elusive ESR...
Post by: Bunkey on February 19, 2021, 01:37:15 PM
Quote from: duck_arse on February 19, 2021, 09:22:43 AM
really, if we can't talk the relative merits of screw types in a forum like this, what hope is there for the wider world at large.

the black/blackish screw will dissipate heat more like a heatsink [than a silver screw]

an edit three point - thermal grease.

I should get you on board with this haha.

We employ the same theory in spec racing engines where you can't swap out the standard radiator for a more efficient unit but there's nothing in the regulations to stop you painting it black. I do wonder whether a layer of matte black enamel has more of a physical insulating property than it's worth in effective dissipation of radiation though. Can't see the same issue with an anodized heatsink.

Ended up getting a tube of the adhesive type so even if I can't settle on a mechanical fastening we should be ok. 30ml is a surprising amount and there are a lot of unsuspecting items going to get thermally bonded over the course of its shelf life I think.
Title: Re: Audio Grade Electrolytics and the Ever Elusive ESR...
Post by: Bunkey on February 19, 2021, 01:41:23 PM
A few interesting observations:

My breadboarded circuit made use of a Vishay 256 cap I had spare whilst I was sizing up the parts I need for the finished amplifier.
I really wanted to use the Panasonic FC caps that I'd spec'd for this supply, and designed the board around, but every time I put one in either the 220u C2 position or indeed the 1800u reservoir there's something stressed about the sound (a kind of upper-mid bloom) that's not particularly inspiring to play. I've gone back to a Vishay 256 1200u reservoir cap and a KZ on C2 - The amp's voicing is the same but it's much more relaxed and musical sounding.
I wondered if it was just an effect of increasing the capacitance - Generally speaking increasing the capacitance increases the definition and clarity of what's being played - but then auditioning a 3300u Vishay against the 1800u Pana has exactly the same outcome in how musical that sounded. In fact in terms of what sounds good I would say there is more of a difference between the Vishay caps and the Pana FC than there is between using a 1200u or a 3300u for the reservoir - Either Vishay sounded musical in it's own right here; the Pana was industrial by comparison.

This experiment has catagorically confirmed for me that caps aren't just caps (whether they're in the signal path or not) and the sound of a particular amplifier is more than just its circuit topology.

When you've got a really simple circuit like this it becomes obvious there's a considerable distinction between various different capacitors of a given value.


As for ESR to dampen the resonant peak of the supply, I've got a few 100mOhm and 1ohm wirewound resistors that I'm going the try in series with the low-esr KZ cap and in series with the output as RG suggested, to see if there's a tangible difference in this application.
Title: Re: Audio Grade Electrolytics and the Ever Elusive ESR...
Post by: Bunkey on February 19, 2021, 03:41:17 PM
...of course the one thing that is different between the Vishay and the Panasonic reservoir caps is the ESR - 150mOhm and 30mOhm respectively.

Having just tried the 100mOhm resistor in series with the low impedance (of unknown value) KZ output cap, I'm inclined to leave it there based on what I can hear - but that's about as much of a conclusion as I'm willing to draw for now.

Edit: Definitely got a bit more presence with the added series resistance on the regulator output cap. Neither is more musical than the other like was the case for the reservoir caps though; it just cleans up the highs a bit, as though the guitar isn't competing with the supply at those frequencies or something.
Title: Re: Audio Grade Electrolytics and the Ever Elusive ESR...
Post by: Bunkey on February 19, 2021, 05:07:14 PM
There are no definitive answers in this game it seems. One point I can make is that in practice a 22u Pana FC is working best for the Cadj bypass - better than a 10u listed on the datasheet or any values above 22u that I've tried.