Bottlehead Forum

Bottlehead Kits => Crack => Topic started by: ohshitgorillas on July 06, 2016, 05:40:45 AM

Title: Noob question about stepped attenuators
Post by: ohshitgorillas on July 06, 2016, 05:40:45 AM
I've been using a cheap DACT-type 21-step 100K attenuator I got from Hong Kong, and while the improvement in clarity over the stock pot is great, I feel like 21 steps is just not enough as I'm often forced to choose between too loud and too quiet. In the spirit of other Bottlehead amps that use dual attenuators, I'm wondering if I could just stick another 10K 21-step attenuator after the 100K for 441 steps of mega overkill super balanced volume control.

This is probably a dumb question and I feel like the answer is an obvious "yes that will be fine", but I have no formal electronics background and a lot of this stuff is a bit mystical to me... so I wanted to check before I pay for the thing and start drilling holes. Would 10K be enough or too much? A friend of mine has a vintage Alps 40-step 5Kohm attenuator that he told me I could have but I can measure the channel imbalance with my multimeter--whereas the Hong Kong DACT-type ones always measure dead-on.

Any input is appreciated.
Title: Re: Noob question about stepped attenuators
Post by: Paul Birkeland on July 06, 2016, 06:01:32 AM
It may be a little easier than that.  Are you using all 21 steps, or just the first couple of steps?
Title: Re: Noob question about stepped attenuators
Post by: ohshitgorillas on July 06, 2016, 06:10:16 AM
Depending on the music, compression, volume, phase of the moon, I use probably steps 5-12
Title: Re: Noob question about stepped attenuators
Post by: Paul Birkeland on July 06, 2016, 06:51:56 AM
See FAQ #3 here:
http://bottlehead.com/smf/index.php?topic=4295.0 (http://bottlehead.com/smf/index.php?topic=4295.0)

While you don't have the over-sensitivity problem, if you pad down the control a bit, you can spread out the 5-12 useful steps to something more like 2-18.

Since we don't have a ton of information about the attenuator itself, start with the 33K and 75K resistors on each channel, then let us know how it works out for you. 

-PB
Title: Re: Noob question about stepped attenuators
Post by: ohshitgorillas on July 06, 2016, 09:20:54 AM
Thanks for linking me to that page. I was under the impression that the total impedance must be 100Kohm. That does seem much easier, although coarse/fine volume control is still tempting, less than $20 for the second pot. I need to mull this over a bit more...

http://www.ebay.com/itm/DACT-Type-21-Stepped-Attenuator-Potentiometer-100K-2A3-/201239685917 (http://www.ebay.com/itm/DACT-Type-21-Stepped-Attenuator-Potentiometer-100K-2A3-/201239685917)

^This is the one I'm using, for reference. It's actually pretty great besides having too few steps. Small, easy to work with, sounds clearer than the stock pot. I needed to put in a new hole for the tab that holds it in, but otherwise it's a drop in.
Title: Re: Noob question about stepped attenuators
Post by: Paul Birkeland on July 07, 2016, 06:19:28 AM
The 100K value isn't critical.  50K to 250K is an acceptable range.  Adding the 33K and 75K resistors keeps the impedance quite close to 100K.

-PB
Title: Re: Noob question about stepped attenuators
Post by: ohshitgorillas on August 28, 2016, 04:09:31 PM
Sorry for bumping such an old thread. I'm planning to add a 3-way gain switch that will either add 0, 33k, or 50k ohm resistance. I just want to make sure I've got this right: What I want is a 4PDT switch, right? Is it best to split the signals into 3 and add resistors before the switch, after, or does it matter?

edit: holy shit these switches are expensive. what the hell? am I doing this right?
Title: Re: Noob question about stepped attenuators
Post by: Paul Birkeland on August 29, 2016, 06:18:40 AM
You want either a 4P3T rotary switch, or a 2P3T toggle (not recommended).

I would suggest changing to a 50K pot, then adding 0, 50K, and 150K of resistance.  That will give you 0dB, -6dB, and -12dB.
Title: Re: Noob question about stepped attenuators
Post by: ohshitgorillas on August 29, 2016, 03:35:28 PM
Nice, I would also have the finer control of 50k steps vs the 100k. Thanks very much! These switches look pretty complicated but I'm sure I'll figure it out.

edit: do I bridge the connectors on the switch with the resistors (or jumper)? Other than that I think I've got it figured out
Title: Re: Noob question about stepped attenuators
Post by: ohshitgorillas on December 17, 2016, 04:36:51 PM
Quick question: I'm not sure I entirely understand how the 4P3T switch would be wired in. I understand the 3T part where I need 3 outputs for different gain settings, but wouldn't I only need two poles for the two channels?
Title: Re: Noob question about stepped attenuators
Post by: Paul Birkeland on December 19, 2016, 08:38:18 AM
Quick question: I'm not sure I entirely understand how the 4P3T switch would be wired in. I understand the 3T part where I need 3 outputs for different gain settings, but wouldn't I only need two poles for the two channels?

Yeah, it looks like I didn't quite give you enough information on what I had in mind.  From a noise and loading perspective, it's nice to keep the input impedance relatively constant.  If you just use a single resistor per channel between the RCA jack center pin and the input of the volume pot, the input impedance will either be way too low on some settings, or way too high on some settings.  This is a bit part of the reason why the Crack FAQ mod has both the 75K resistors and the 33K resistors, the combination of both values dials the input impedance back to around 100K. 

What you'll want to do with the 3 different gain selections is to switch both the series and the parallel resistor.  In order to accomplish this, you'll need to either switch out the series resistor, or be able to add to it as you move up in switch positions, which is why a rotary switch works so nicely.  If you have a pot value in mind, and three values of attenuation, I can assist you a little with some calculations and sketches of how to make this work.  (I recommend -6dB, -12dB, and -24dB as your pre-attenuation values).

-PB
Title: Re: Noob question about stepped attenuators
Post by: ohshitgorillas on December 20, 2016, 05:59:24 AM
Thanks for the help! Sketches would be great, since I don't really understand loading and am a little confused already, lol.

I was going to use a 50K stepped pot and 0, 50k, and 150k ohm to get 0, -6, and -12dB as discussed above although I have the feeling I might never use 0dB, so maybe -6, -12, -24dB would be better. I have both 50k and 100k stepped pots, but would probably prefer to use the 50k as it has smaller steps.

Edit: After thinking about it, I think I'd prefer -6, -12, and -24dB with a 50k pot
Title: Re: Noob question about stepped attenuators
Post by: Paul Birkeland on December 22, 2016, 08:14:17 AM
OK, here is what you'd need for a 50K attenuator to get -6, -12, and -24dB of attenuation while keeping about 100K constant input impedance.  It looks like one 4P3T and ten resistors will do the job.  I put the switch letters and numbers on for the rotary switch that we use at Bottlehead.

-PB

Title: Re: Noob question about stepped attenuators
Post by: ohshitgorillas on January 31, 2017, 12:15:37 PM
Unfortunately it seems that neither digikey or mouser actually stocks 44kohm resistors.... would it be too awkward to just use two 22k in series? Or would it be okay to use something like a 44.2k or a 43.5k?
Title: Re: Noob question about stepped attenuators
Post by: Paul Joppa on January 31, 2017, 02:26:18 PM
Modern resistors (usually metal film) are inexpensive and readily available in +/-1%, but in the "golden age" resistors were typically 10%, sometimes 5% or 20%. The 44.2K and 43.5K values are close enough!
Title: Re: Noob question about stepped attenuators
Post by: ohshitgorillas on March 10, 2017, 07:39:02 PM
Finally got around to putting this in last night.

It is way overkill. Even the most compressed recordings I have, on high gain, the first half of the steps available on the stepped attenuator are just too quiet. So at any given gain, I am basically limited to the last 11 steps of the attenuator. Maybe 0, -6, and -12 would have been a little more appropriate, but I will give it some time.

On the other hand, I have a lot of steps of really fine volume control, which is pretty nice
Title: Re: Noob question about stepped attenuators
Post by: ohshitgorillas on March 14, 2017, 10:19:19 AM
I've decided that, while this is definitely a step in the r ight direction, I want to keep trying for a solution that has a more even spread of volumes; I'd rather have headroom on the volume control (which I don't have much of now, altho the amp does get loud enough), rather than a lot of quiet steps at the beginning of the attenuator that I'm not using. I also think that instead of -6 dB, a 0dB setting would be more ideal.

Perhaps a 10k attenuator and a different orientation of resistors on the gain switch? Or would that be a step in the opposite direction?

Or a 100k attenuator with 0, 33k and 75k ohm resistors and whatever matches on the ground side to keep load constant? (Once this is settled, I want to try my hand at building a small crossfeed circuit for the Crack, the design of which is apparently source and load dependent) Is the load ideal at 100k or would 175k total be okay?

I'm beginning to have a better understanding of these things but there are still some things about this which are a bit hazy.
Title: Re: Noob question about stepped attenuators
Post by: Paul Birkeland on March 15, 2017, 03:43:03 PM
The easiest thing to do would be to try running a jumper wire across each of those 50K resistors, then see how you like that.

-PB
Title: Re: Noob question about stepped attenuators
Post by: neddoge on March 16, 2017, 03:35:26 AM
Following ;)
Title: Re: Noob question about stepped attenuators
Post by: ohshitgorillas on March 16, 2017, 09:57:34 AM
Does that put the load at ~150k or is it still 100k?

I will give that a shot when I get the chance, thank you
Title: Re: Noob question about stepped attenuators
Post by: Paul Birkeland on March 16, 2017, 11:51:50 AM
It drops the impedance a bit.
Title: Re: Noob question about stepped attenuators
Post by: ohshitgorillas on March 18, 2017, 02:18:36 PM
I used an alligator clip between the two 50k resistors. I hooked them up on the switch side of the resistors. It didn't do really anything to spread out the volume control but nuked the bass. I tried hooking it up to the signal side of the resistors, but of course this just mixed things down into mono and also did nothing to improve the spread of volume control.
Title: Re: Noob question about stepped attenuators
Post by: ohshitgorillas on March 18, 2017, 02:45:27 PM
I am also wondering if there is a good website you know of or a way for a newbie like myself to mathematically understand the relationship between gain and load, and also between resistance and gain e.g. if I wanted to do a 100k pot with 0, -12, and -24 dB, how would I go about selecting resistances to match those gain values and how would I go about selecting

Parts of the schematic you drew me made sense. The resistance increasing from 50k to 75k to 94k as gain increases is easy to follow. But why does this add a small amount of resistance to low gain, a higher amount to medium gain, and none to low gain? This part makes no sense to me.

I want to understand, and it seems relatively simple, but obviously I'm missing some basics.
Title: Re: Noob question about stepped attenuators
Post by: diynewbie on March 19, 2017, 02:29:36 AM
I'm also watching this with interest.

Your posts reads like you ran a wire from the left to right channel on each side of the switch.  I believe the suggestion was to by-pass the 50k resistor on each channel - i.e a connect a wire from the input side of the 50k resistor to between the 50k and 25k resistors.  Is that what you did?
Title: Re: Noob question about stepped attenuators
Post by: ohshitgorillas on March 19, 2017, 04:01:27 AM
That makes so much more sense... I will try that tonight
Title: Re: Noob question about stepped attenuators
Post by: Paul Birkeland on March 21, 2017, 06:36:29 AM
I am also wondering if there is a good website you know of or a way for a newbie like myself to mathematically understand the relationship between gain and load, and also between resistance and gain e.g. if I wanted to do a 100k pot with 0, -12, and -24 dB, how would I go about selecting resistances to match those gain values and how would I go about selecting
You'll have to read up on Ohm's Law and how parallel and series resistors work, then look up the formula for calculating attenuation based on voltage division (in this case resistance can be used as a direct substitute).

-PB