A Switching Scheme  [documentation]

Original effects with schematics, layouts and instructions, freely contributed by members or found in publications. Cannot be used for commercial purposes without the consent of the owners of the copyright.
Post Reply
User avatar
mictester
Old Solderhand
Information
Posts: 2921
Joined: 11 Sep 2008, 20:29
my favorite amplifier: Mesa Boogie, Roost Sessionmaster, AC30
Completed builds: Hundreds! Mostly originals, a few clones and lots of modifications.
Location: Somewhat closer to Amsterdam than before!
Has thanked: 32 times
Been thanked: 841 times
Contact:

Post by mictester »

You'll all know my hatred of the crappy TPDT and similar footswitches.

I still have customers who insist on "true bypass" and a "solid copper path bypass". Buffered bypass is almost always better, but just to satisfy these (very wealthy / influential) musicians, I frequently use bistable relays. Many players are deeply distrustful of mains powered effects, and (perversely) demand batteries that last for many hours. I also have a large supply of really sturdy SPDT footswitches (like the old "Carling" ones). To overcome the deficiencies of the switches (they crackle and can't do proper bypass), I've been using the following circuit. The relay is easily available from all the major suppliers (including many Ebay ones) and if used in this circuit, draws micro-amps!
Really Tiny Current drives a DPDT Relay!
Really Tiny Current drives a DPDT Relay!
Ultra-low_current_relay.png (9.56 KiB) Viewed 18168 times
The relay is slightly unusual - it has two stable positions, and is set and reset by small current pulses sent in one direction then the other through the coil. The transistors I used in the originals were BC183L for the NPN and BC213L for the PNP. You can also use 2SC1815 and 2SA733 or BC550 and BC560. The last batch of them had blue LEDs wired across the anode of the diode to ground through a 8k2 resistor, and used 2N3703 (PNP) and 2N3706 (NPN), and were made to fit on to the back of the footswitch.

The circuit gives six big advantages:

1. Hermetically sealed gold contacts - clean and quiet switching.
2. Additional relays can be put in parallel with the first one. You might have to increase the 100µF to 220 µF, but the switching will be entirely reliable.
3. Draws minute current - the whole of the battery power will be used to power your effect and the indicator LED!
4. Passes the "disconnected battery" "True Bypass" test.
5. Costs less than a good quality DPDT footswitch.
6. Allows simple connection of an indicator LED.
"Why is it humming?" "Because it doesn't know the words!"

User avatar
Hides-His-Eyes
Tube Twister
Information
Posts: 1943
Joined: 02 Feb 2010, 12:34
Has thanked: 50 times
Been thanked: 51 times

Post by Hides-His-Eyes »

Cool idea if you have to have batteries! (nasty things)
Testing, testing, won too fwee

User avatar
mictester
Old Solderhand
Information
Posts: 2921
Joined: 11 Sep 2008, 20:29
my favorite amplifier: Mesa Boogie, Roost Sessionmaster, AC30
Completed builds: Hundreds! Mostly originals, a few clones and lots of modifications.
Location: Somewhat closer to Amsterdam than before!
Has thanked: 32 times
Been thanked: 841 times
Contact:

Post by mictester »

Hides-His-Eyes wrote:Cool idea if you have to have batteries! (nasty things)
Batteries are really good! Especially if you use rechargeable ones. They inherently have no AC ripple, so no hum!
"Why is it humming?" "Because it doesn't know the words!"

User avatar
Groovenut
Resistor Ronker
Information
Posts: 299
Joined: 07 Jan 2011, 16:31
Has thanked: 60 times
Been thanked: 100 times

Post by Groovenut »

Since the relay is 5V, do you do anything to drop the voltage before it connects to the switch? Is it possible to use the lowly 2N3904, 2N3906 combination?

User avatar
mictester
Old Solderhand
Information
Posts: 2921
Joined: 11 Sep 2008, 20:29
my favorite amplifier: Mesa Boogie, Roost Sessionmaster, AC30
Completed builds: Hundreds! Mostly originals, a few clones and lots of modifications.
Location: Somewhat closer to Amsterdam than before!
Has thanked: 32 times
Been thanked: 841 times
Contact:

Post by mictester »

Groovenut wrote:Since the relay is 5V, do you do anything to drop the voltage before it connects to the switch? Is it possible to use the lowly 2N3904, 2N3906 combination?
If you look closely, you'll see that the relay isn't directly connected to the switch. There is an electrolytic capacitor in the way. All that gets through is a brief pulse, which looks like about 4.6 Volts on my storage 'scope when the switch makes. The relay will reliably switch at 4 V. When the switch is opened again, the capacitor is discharged through the relay - the other way - so the relay resets. The peak on this is about 4.3 Volts. The specification of the relay is never exceeded. I've found that it's (usually) necessary to use a 220 uF cap if you're switching two relays in parallel (for QPDT!).

The 2N3904 and 3906 work fine in this circuit. I use pretty much any small NPN and PNP transistors I have lying around on the bench. You just need an hfe of (roughly) >100 to guarantee reliable operation. The currents involved are really small, so you're not working the transistors hard!

The resistors aren't too critical, either. The 150k can be 100k, and the 15k can be 10k - you just get slightly increased quiesent current (up from typically 100 uA to 150 uA!!). The 47R can be 39 to 68R without affecting operation. Use a good quality electrolytic (for low leakage) to minimise the quiescent current in the "on" state, but don't get suckered into buying an "audio" type!

The only addition I sometimes make to this circuit is to use a CMOS bistable to feed the anode of the diode - the "+" point. I use a 4013 configured with one side as a bistable (pin 1 or 13 feeds the switching circuit directly), and the other side as a power-on reset and debounce circuit, or I use a 4093 quad schmitt NAND with two gates for the bistable, one for debounce and one for switch-on reset. Either circuit then allows the use of a momentary switch.
"Why is it humming?" "Because it doesn't know the words!"

User avatar
Hides-His-Eyes
Tube Twister
Information
Posts: 1943
Joined: 02 Feb 2010, 12:34
Has thanked: 50 times
Been thanked: 51 times

Post by Hides-His-Eyes »

I've never seen that method of making a pulse, but it seems so obvious when you put it like that!
Testing, testing, won too fwee

User avatar
Groovenut
Resistor Ronker
Information
Posts: 299
Joined: 07 Jan 2011, 16:31
Has thanked: 60 times
Been thanked: 100 times

Post by Groovenut »

mictester wrote: The only addition I sometimes make to this circuit is to use a CMOS bistable to feed the anode of the diode - the "+" point. I use a 4013 configured with one side as a bistable (pin 1 or 13 feeds the switching circuit directly), and the other side as a power-on reset and debounce circuit, or I use a 4093 quad schmitt NAND with two gates for the bistable, one for debounce and one for switch-on reset. Either circuit then allows the use of a momentary switch.
Great idea as momentary switches are less expensive and last much longer. I personally loathe putting signal through a switch that was designed for high voltage and have been using small signal relays for some time, but was having an issue or two with figuring out an elegant way to use the latching relays. Thanks for the great explanation! :applause:

User avatar
coldcraft
Diode Debunker
Information
Posts: 725
Joined: 11 Jul 2009, 01:00
Has thanked: 38 times
Been thanked: 85 times

Post by coldcraft »

how much of this is specific to that relay? I have some of these, but I haven't decide how best to drive them.

http://www.mammothelectronics.com/TQ2-L ... 0-1000.htm
Black Dynamite wrote:you need to shut the fuck up when grown folks is talkin.

User avatar
earthtonesaudio
Transistor Tuner
Information
Posts: 1244
Joined: 28 Jan 2008, 04:00
Completed builds: Metal Simplex, Fuzz Factory, two Fab Echos-modded, Noisy Cricket, Earth & Space Wah, TS-7-modded, passive xover/splitter box, opamp fuzz
Location: Bloomington, Indiana
Has thanked: 11 times
Been thanked: 75 times

Post by earthtonesaudio »

coldcraft wrote:how much of this is specific to that relay? I have some of these, but I haven't decide how best to drive them.

http://www.mammothelectronics.com/TQ2-L ... 0-1000.htm
Just glancing at the datasheets it looks like you can use Mictester's circuit to drive that relay. Might need to tweak some values on the breadboard though, because the power required to flip relay A is probably slightly different from the power required for relay B. You might need to increase the capacitor or decrease the 47 ohm resistor (or do both) to get it working.
rocklander wrote:hairsplitting and semantics aren't exactly the same thing though.. we may need two contests for that.

User avatar
mictester
Old Solderhand
Information
Posts: 2921
Joined: 11 Sep 2008, 20:29
my favorite amplifier: Mesa Boogie, Roost Sessionmaster, AC30
Completed builds: Hundreds! Mostly originals, a few clones and lots of modifications.
Location: Somewhat closer to Amsterdam than before!
Has thanked: 32 times
Been thanked: 841 times
Contact:

Post by mictester »

coldcraft wrote:how much of this is specific to that relay? I have some of these, but I haven't decide how best to drive them.

http://www.mammothelectronics.com/TQ2-L ... 0-1000.htm
It's going to take you ten minutes and a few cheap components to try it out! Looking at the spec of your relay, it should work OK.

I can't emphasise quite how much better this switching scheme is than the usual TPDT cheap switch. I know the switch is simple, but it really isn't reliable, and it always introduces switching noise.

Also, the current drain is minute - a well-known London session player has a FET Fuzz I built for him using this switching circuit. He uses the effect all day, every day. His pedal doesn't have an LED indicator (he doesn't need it). He is still using the original Ever Ready Alkaline 9V battery I put into it in 2003!
"Why is it humming?" "Because it doesn't know the words!"

User avatar
dukie
Information
Posts: 7
Joined: 30 Aug 2009, 20:43
Been thanked: 3 times

Post by dukie »

Hi.. i've build this relay switching using my own perfboard layout but it had a problem. It connect the input (jack input) to output (jack output) when disengaged but when engaged no effect sound, only the bypass sound is heard. So whats happen exactly?everytime i engaged the spst switch, the LED would dimmed.
I'm using RED LED with 4,7K resistor attach to main Effect board's +9v supply, not after the anode of the diode in the seperate relay board.
Here's the layout..

Image

Can anybody tell me what's wrong with it?

Cheers! :)

User avatar
Fender3D
Cap Cooler
Information
Posts: 573
Joined: 08 Aug 2009, 02:40
Location: Helltaly
Has thanked: 121 times
Been thanked: 153 times

Post by Fender3D »

Why did you connected Relay's pin 10 with pin 2?

User avatar
Groovenut
Resistor Ronker
Information
Posts: 299
Joined: 07 Jan 2011, 16:31
Has thanked: 60 times
Been thanked: 100 times

Post by Groovenut »

Fender3D wrote:Why did you connected Relay's pin 10 with pin 2?
It grounds the effect out when the relay is in bypass mode.

User avatar
Fender3D
Cap Cooler
Information
Posts: 573
Joined: 08 Aug 2009, 02:40
Location: Helltaly
Has thanked: 121 times
Been thanked: 153 times

Post by Fender3D »

I see...
I ground the input usually...

User avatar
dukie
Information
Posts: 7
Joined: 30 Aug 2009, 20:43
Been thanked: 3 times

Post by dukie »

Fender3D wrote:I see...
I ground the input usually...
Yeah you can also ground the input, it's just a matter of arangement :)
Anyway, one thing that suprise me was, that this circuit drained my battery in just about an hour?So something is definetly wrong in my layout, since this circuit supposed to run with small voltage.Or maybe because i'm using A5W-K not the latching type AL5W-K relay?

Cheers! :)

User avatar
Hides-His-Eyes
Tube Twister
Information
Posts: 1943
Joined: 02 Feb 2010, 12:34
Has thanked: 50 times
Been thanked: 51 times

Post by Hides-His-Eyes »

If your relay is non latching then it obviously won't work!
Testing, testing, won too fwee

User avatar
Groovenut
Resistor Ronker
Information
Posts: 299
Joined: 07 Jan 2011, 16:31
Has thanked: 60 times
Been thanked: 100 times

Post by Groovenut »

dukie wrote:
Fender3D wrote:I see...
I ground the input usually...
Yeah you can also ground the input, it's just a matter of arangement :)
Anyway, one thing that suprise me was, that this circuit drained my battery in just about an hour?So something is definetly wrong in my layout, since this circuit supposed to run with small voltage.Or maybe because i'm using A5W-K not the latching type AL5W-K relay?

Cheers! :)
Yeah you are using the non-latching version of this relay. That is your issue. I have successfully tested this circuit with AL5W-K and 2N3904/2N3906 and it only draws ~60uA current when on. Try switching to the latching version. That should cure your problem.

User avatar
dukie
Information
Posts: 7
Joined: 30 Aug 2009, 20:43
Been thanked: 3 times

Post by dukie »

Groovenut wrote:on-latching version of this relay. That is your issue. I have successfully tested this circuit with AL5W-K and 2N3904/2N3906 and it only draws ~60uA current when on. Try switching to the latching version. That should cure your problem.
Hmm..well I'll have to wait another weekend to buy the AL5W-K relay then. I can't find it in my nearest electronic component store, I had to travel quite far to buy one..and I'm not even sure I can find one, since this is the only 5v relay they gave me when I bought it 2 days ago. So maybe this A5W-K non latching type can be use in another switching arangement, perhaps?any tought guys?So I can tinker with it while I wait for the weekend :mrgreen:

Btw, If I'm using the latching relay then should I use momentary switch or just ordinary SPST switch?

Cheers! :)

User avatar
Hides-His-Eyes
Tube Twister
Information
Posts: 1943
Joined: 02 Feb 2010, 12:34
Has thanked: 50 times
Been thanked: 51 times

Post by Hides-His-Eyes »

You won't be able to make a "low current" version with a non-latching relay afaik.

The coils tend to be hundreds of ohms, so from a 9V supply with a 5v relay you're looking at anything up to 40-50mA.
Testing, testing, won too fwee

User avatar
Groovenut
Resistor Ronker
Information
Posts: 299
Joined: 07 Jan 2011, 16:31
Has thanked: 60 times
Been thanked: 100 times

Post by Groovenut »

dukie wrote:
Groovenut wrote:on-latching version of this relay. That is your issue. I have successfully tested this circuit with AL5W-K and 2N3904/2N3906 and it only draws ~60uA current when on. Try switching to the latching version. That should cure your problem.
Btw, If I'm using the latching relay then should I use momentary switch or just ordinary SPST switch?

Cheers! :)
With the posted circuit you need to use a latching switch. If you want to use a momentary switch, you have to use an electronic latch of some sort.

Post Reply