A twisted tale about a logarithmic relay attenuator

Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.
AndrewT said:
Hi,
I tried your resistor calculator to produce a 200r output impedance with a 60source and 200out for the first stage and then 200source 200out for the remaining 4 relays. -38.75db in 1.25db steps.

Unfortunately the input impedance drops very low whenever a relay pulls in to start attenuating.

Is there a trick connection that maintains a higher input impedance and still maintain the low output impedance?


Use a buffer in front of the attenuator. ;)

Alternatively using a higher output impedance will bring it up to a much more managable level. A value of 800R to 4K output impedance resluts in generally acceptable values, and sounds great. The values you used are quite low.
 
Nordic said:
Allthough I'd probably wait for the integrated Rev C (Rev D?).


When I say integrated REV C, what I mean is power amp and attenuator in one box. no preamp. Same REV C circuit.

I think we could arrange for you to get a PIC when we get things into production. For now, if you are wanting to try this soon, you might see if you can etch the programmer, (actually you could build it on protoboard) and order some for yourself. :)

Cheers!
Russ
 
Nordic said:
I looked at those programmer links, where does the chip go to be programmed, or is the chips on the boards the ones being programmed?... I'm thinking it was the processor chip on there...


The spot on the PCB for the socket is where you put the PIC to be programmed. :) There is no other chip on the PCB, just passive components. Here is how mine looks:
 

Attachments

  • picture 025s.jpg
    picture 025s.jpg
    84.7 KB · Views: 3,865
I see, thanks, feel more confident now... have one or 2 projects that are 99% done, which I will complete first, but pics seems to be a usefull skill... even saw a flyer a few weeks ago by a private guy that teaches people how to program pics.... been years since I worked with any programming language... think Visual Basic 4 was the last programing package I worked on.

Think I'll go scratch my old hardware pile for a video card or something to rip a D-sub connector from in the mean time.
 
Speaking of kits...

I think I am on the verge of ordering PCBs so I want to run the design past you folks so that I can be sure you are getting what you need (and most of what you want) :)

First the nitty gritty:

1) The PCB is designed for through hole G6K relays, and either through hole or SMD(1206) resistors.

2) Controller is designed to accept input from a single 5-20K potentiometer which is read by the uC's ADC to set the volume. It of course, is not in the signal path.

3) I left .1" ceneterd pads on the controller board so that those who wish can easily create their own firmware(or use mine) to drive auxiliary features. The possibilities here include: LCD display, IR reciever, rotary encoder, mute, startup delays (soft start) for relays, etc...

4) The PCBs are compact at only 1.5" x 4" and stackable (use 5/8" or so M/F standoffs).

We will make alternate firmware hex files available to download on our site.

Here is the attenuator PCB itself:
 

Attachments

  • attenuator.png
    attenuator.png
    31 KB · Views: 3,664
Very nice Russ. I can almost follow this... ;)

Now for my ignorant question:

Is there only one ADC available on the pic chip used for the controller? Just wondering if a balance pot input could be added and the controller could adjust the values going to the left/right channels. I suspect I'm just making things more complicated for the controller...

regards

Dave
 
I imagine he means attaching another standard pot as a balance control if there is another ADC on the PIC. Assuming this additional "balance pot" is a 5k Pot
When Pot is @ 0 Ohms --- CHANNEL(L) = MainVolume - 6db.
--- CHANNEL(R) = MainVolume
When Pot is @ 5K Ohms --- CHANNEL(R) = MainVolume - 6db.
--- CHANNEL(L) = MainVolume
When Pot is @ 2.5K Ohms --- CHANNEL(R) = MainVolume
--- CHANNEL(L) = MainVolume
 
L/R balance is an interesting question, and one which I had thought about a lot when designing this particular attenuator. The attenuator is not intended to provide L/R balance with single ended use, not by function of the controller, but rather because each relay shares both left and right channels (its a DPDT relay).

Now with two relay PCBs one could easily create a new controller for balanced independent channels (one PCB per channel) and control them from two ADCs. One with standard linear pot, and the other with a center detent linear pot.

You could also use two sets of these PCBs and just simply use one channel on each and use slider type pots to adjust both channels.


I may work on another design with SPDT relays, but thats a lot of relays. :)

Cheers!
Russ
 
Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.