A-B switch box

Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.
Hi, I've decided to design and build an A-B switch box for listening tests.
Main features are:
- controlled by Arduino (nano)
- level matched A-B paths
- remote control (master volume, path switching)
- two test modes
 

Attachments

  • AB-BOX-PR1.JPG
    AB-BOX-PR1.JPG
    204.5 KB · Views: 407
AX tech editor
Joined 2002
Paid Member
If you are serious about this make it an A-B-X box. Make a setting where you switch but don't know if you go to A or B.
Then, after familiarizing yourself with A and B, switch to 'X' and try to decide whether it is A or B. Do that a bunch of times, then count the times you got it right.

If you get it right consistently, you can be pretty sure that there is an audible difference.

Jan
 
I think ABX is a bit tricky. When you switch A to B, you can hear relay clicks (in defined sequence). Switching A->A (B->B) is not audible, or at least generates different sound sequence, so the listener can easily guess.
One can use SSR or fake relay (not in signal path) to overcom this problem.

SWITCH A->B
1. mute input A (B is already muted)
2. switch input to B
3. switch output to B
4. unmute input B

SWITCH A->A
1. mute input A
2. unmute input A

SWITCH A->A
1. mute input A
2. switch fake input relays
3. switch fake output relays
4. unmute input A

or another idea, generate some sound/noise to mask relay clicks
 
Last edited:
Member
Joined 2004
Paid Member
Another way to do make an A-B switchbox is to use the PGA2311 preamp kits that are available on eBay, along with an Arduino CPU to replace the controller for those kits. The PGA2311 provides the volume compensation for each speaker selection, and there are plenty of extra outputs on the Arduino chip to toggle the relays. There is a "relay bus" output for controlling up to 4 separate relays, or you could encode/decode the 4 lines to control more relays or other devices.

The software and more info is at: CPU for PGA2311 Preamp – Audiodevelopers Reborn

It's worth noting that the relay contact resistance needs to be very low for valid A/B testing. I usually use good quality 40A relays to ensure low resistance. The smaller 5 or 10A relays can have contact resistance in the .1 to .05 ohm range, which is not good enough. The resistance results in a sometimes non-linear voltage drop that is superimposed on the signal. If the speaker is 4 ohm and you want that voltage drop to be 60dB down, the resistance needs to be less than .005 ohms. For that you need a relay with a very large contact area and low coil resistance to push hard on the armature. There shouldn't be a "click" when you switch relays; it should be a resounding "clunk" :)

I can post the schematics and PCB's for the boards in the relay box if there is interest. The boards were made many years ago and the files are for ExpressPCB. They should probably be updated to use a Bluetooth interface rather than a "relay bus", but I'll let someone else do that work...

Relaybox2.jpg
 
The control unit board is under manufacturing. I'm planning to implement ABX test too. The randomized path selection will be based on functions random(), randomSeed() and two analog inputs floating data. The selected path info will be sent through usb port to the connected PC.
 

Attachments

  • ab-box-control-1.2.JPG
    ab-box-control-1.2.JPG
    212.5 KB · Views: 150
  • ab-box-control-top.JPG
    ab-box-control-top.JPG
    242.8 KB · Views: 171
Last edited:
Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.