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.
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 »

{EDIT}Mictester and I were typing at the same time. :) {/EDIT}

YuGi wrote: Can you explain how it work? Sorry I don't know yet this kind of electronics. :slap:
On power up, the 100n cap is discharged (cap voltage=0), so the first inverter output goes high, causing the 220n to charge up to +9V slowly through the 1M resistor. The high level on the first inverter output also causes the second inverter output to go low, which reinforces the low at the input of the first inverter due to the positive feedback provided by the 100k resistor. The LED is on and the "Output" is high.

When you press the switch, the 9V of charge on the 220n cap is dumped onto the 100n cap, causing the voltage at the first inverter's input to go higher than 6V, which is enough to make it's output change state. This turns the LED off and the "Output" terminal goes low.

If you held the switch closed, nothing would happen because the charge on the 220n is only higher than the threshold for a fraction of a second. It quickly is dumped into the 100n and through the 100k resistor. This is also what prevents "switch bounce" to cause false triggering.
rocklander wrote:hairsplitting and semantics aren't exactly the same thing though.. we may need two contests for that.

User avatar
YuGi
Degoop Doctor
Information
Posts: 164
Joined: 01 Nov 2009, 19:22
Has thanked: 1 time
Been thanked: 25 times

Post by YuGi »

Thank mictester and earthtonesaudio, I had confirmation of what I thought (at the power on the state is ON).
Is for that reason mictester that you need the last inverter of a 4093 for power-on reset?
What is the difference from earthtonesaudio schema (only one Schmitt inverter) e this one with three inverters? At me it seems instable if you hold the switch pressed.. :hmmm:

User avatar
mictester
Old Solderhand
Information
Posts: 2915
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: 825 times
Contact:

Post by mictester »

If you hold the switch, it changes state and stays there - the capacitors can't change charge!

It's a reliable little circuit, and variations of it are found in lots of commercial pedals.
"Why is it humming?" "Because it doesn't know the words!"

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 »

YuGi wrote: What is the difference from earthtonesaudio schema (only one Schmitt inverter) e this one with three inverters? At me it seems instable if you hold the switch pressed.. :hmmm:
Both circuits remain stable as Mictester described. The main difference is that mine has to use a Schmitt trigger and his can use regular inverters.
rocklander wrote:hairsplitting and semantics aren't exactly the same thing though.. we may need two contests for that.

User avatar
YuGi
Degoop Doctor
Information
Posts: 164
Joined: 01 Nov 2009, 19:22
Has thanked: 1 time
Been thanked: 25 times

Post by YuGi »

Example with 9v power supply, as I understand the inverter input is 1 (4.5 V) then the output is 0 (0v): the LED is off and the capacitor is discharged.
When I press the switch the capacitor charges because is connected to 4,5v and the voltage at the inverter input go down for a moment inverting the output status (9v). At this moment the LED is ON but if I hold pressed the switch the capacitor charges until 9v, the inverter input "sees" 9v and the output go down.. :hmmm:
I'm wrong but why? :slap: :thumbsup

User avatar
mictester
Old Solderhand
Information
Posts: 2915
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: 825 times
Contact:

Post by mictester »

Why don't you get a 40106 (it'll cost a few pennies), get the capacitors and the resistors and an LED, and try it out? Get your multimeter and connect it to the inputs and outputs of the inverters and you'll quickly see what's going on!
"Why is it humming?" "Because it doesn't know the words!"

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

Post by Fender3D »

YuGi wrote:Example with 9v power supply, as I understand the inverter input is 1 (4.5 V) then the output is 0 (0v): the LED is off and the capacitor is discharged.
When I press the switch the capacitor charges because is connected to 4,5v and the voltage at the inverter input go down for a moment inverting the output status (9v). At this moment the LED is ON but if I hold pressed the switch the capacitor charges until 9v, the inverter input "sees" 9v and the output go down.. :hmmm:
I'm wrong but why? :slap: :thumbsup
Yep but being the 100k smaller than 1M, it will keep its state nevertheless

User avatar
bubstance
Solder Soldier
Information
Posts: 167
Joined: 07 Jul 2009, 03:10
Has thanked: 75 times
Been thanked: 116 times

Post by bubstance »

earthtonesaudio wrote:Here's a debounced bistable flip flop that always powers up with its output low. Uses one Schmitt trigger inverter, which can be one gate from a 4093 (shown), or one gate from a 40106, or a single 555 wired as an inverter.
Now just to be clear, you mean wiring a 555 something like this, right?
Image

User avatar
DeanM
Resistor Ronker
Information
Posts: 441
Joined: 05 Jan 2010, 20:42
my favorite amplifier: Marshall VM 2466
Location: Ireland
Has thanked: 21 times
Been thanked: 5 times

Post by DeanM »

Mictester, I simulated the circuit in LTSpice. In the on state it does indeed draw low current @ around 60uA in the simulation, as was also measured by someone in this thread IIRC. In the on state its the 150K resistor thats drawing most of that current. The coil only draws current when switching.but it momentarily draws around 30mA. From looking at datasheets for those gates you mentioned, the most i have seen, for the 40106, was up to 10mA output current. Have you found that to be enough current to drive the coil? From looking at the simulation and data sheets it seems like it would be a bit low?

Also, I combined the two schematics. Can you confirm this is the correct configuration that you use?
NOTE: Relay wasn't in the eagle library so i put a random one for now! relay should be Takamisawa AL5WNK. Power pins not shown either.
SwitchingScheme.png

User avatar
mictester
Old Solderhand
Information
Posts: 2915
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: 825 times
Contact:

Post by mictester »

Dean - that'll work OK. If you're really concerned about the momentary current spike as the capacitor charges, you can parallel two (or more) of the gates for IC1C. However, I've built loads of them and never had a gate fail. It's useful to have two sets of three gates in the IC, because you can easily build two complete switching systems with just one IC - useful for the Fuzz Face driven by a Treble Booster configuration that's become very popular around here lately (it gives Fuzz Face, Top Boost or pseudo-Tonebender modes with two footswitches!)
"Why is it humming?" "Because it doesn't know the words!"

User avatar
DeanM
Resistor Ronker
Information
Posts: 441
Joined: 05 Jan 2010, 20:42
my favorite amplifier: Marshall VM 2466
Location: Ireland
Has thanked: 21 times
Been thanked: 5 times

Post by DeanM »

mictester wrote:Dean - that'll work OK. If you're really concerned about the momentary current spike as the capacitor charges, you can parallel two (or more) of the gates for IC1C. However, I've built loads of them and never had a gate fail. It's useful to have two sets of three gates in the IC, because you can easily build two complete switching systems with just one IC - useful for the Fuzz Face driven by a Treble Booster configuration that's become very popular around here lately (it gives Fuzz Face, Top Boost or pseudo-Tonebender modes with two footswitches!)
Cool thanks for the confirmation. Well to be honest i was thinking more in terms of it being enough to drive the coil rather than the risk of damagine the CMOS! but that makes sense to parallel the unused gates for extra protection. but as you said, its worked so far so shouldn't be a problem.

True! in a dual pedal it would make good use of all gates! Its actually pretty convenient there's six inverters and 3 per switching circuit! haha! :horsey:

Thanks for sharing!

User avatar
bubstance
Solder Soldier
Information
Posts: 167
Joined: 07 Jul 2009, 03:10
Has thanked: 75 times
Been thanked: 116 times

Post by bubstance »

Now here's a question I've been particularly curious about: is there any way to translate this to mono in/stereo out effects?

User avatar
mictester
Old Solderhand
Information
Posts: 2915
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: 825 times
Contact:

Post by mictester »

bubstance wrote:Now here's a question I've been particularly curious about: is there any way to translate this to mono in/stereo out effects?
Yes. Get two of the relays. Wire their coils in parallel. Increase the 100µ - I used 220µ (though you might still be able to get away with 100µ) to give a higher current pulse. You've then got QPDT switching. Should be enough for stereo out!
"Why is it humming?" "Because it doesn't know the words!"

User avatar
bubstance
Solder Soldier
Information
Posts: 167
Joined: 07 Jul 2009, 03:10
Has thanked: 75 times
Been thanked: 116 times

Post by bubstance »

Awesome. Thanks a bunch!

User avatar
rasta_maleek
Resistor Ronker
Information
Posts: 258
Joined: 11 Jul 2009, 12:56
Has thanked: 52 times
Been thanked: 52 times

Post by rasta_maleek »

what could i do to use the same relay, but 9v type?

User avatar
Cub
Cap Cooler
Information
Posts: 454
Joined: 29 Aug 2011, 07:14
Location: The Netherlands
Has thanked: 97 times
Been thanked: 114 times

Post by Cub »

I've been thinking of doing something with relays so I could use the four tip to ground switches on a Mesa/Boogie TriAxis to control a couple of stompboxes and this might be what the doctor ordered. I thought about ordering the "clickless true bypass" thing, but that would be US$ 120,- just for the four boards with relays and some other little parts.
Thank you very much for sharing this !
I wish I were a chestnut tree, nourished by the sun.
With twigs and leaves and branches and conkers by the ton.

User avatar
theItalianDiYer
Information
Posts: 15
Joined: 07 Oct 2010, 13:32
Has thanked: 4 times

Post by theItalianDiYer »

hei mick if I run the circuit with a higher Vcc shall I change anything in the circuit? the electrolityc cap?

User avatar
mictester
Old Solderhand
Information
Posts: 2915
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: 825 times
Contact:

Post by mictester »

theItalianDiYer wrote:hei mick if I run the circuit with a higher Vcc shall I change anything in the circuit? the electrolityc cap?
What voltage are you thinking of using? The 5V relay won't like bigger current pulses than it already gets!

If you have higher voltage, lose some of it with a resistive potential divider. Remember - this circuit only draws current during switching, so you won't be wasting much energy!
"Why is it humming?" "Because it doesn't know the words!"

User avatar
mictester
Old Solderhand
Information
Posts: 2915
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: 825 times
Contact:

Post by mictester »

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

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 47µF to 100µ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.
Little bit of Veroboard
Little bit of Veroboard
Remember - the relay MUST be a Takamisawa AL5WN-K. Experiment (and a component shortage!) showed that the capacitor can be as small as 10µF (though it will stop working when the battery gets below about 8.5V) - my latest builds have used 47µF 16V tantalum beads (because I've got a boxful of them). I find that I still have plenty of the "Carling" SPDT footswitches that were pulled from old pedals to use up!
"Why is it humming?" "Because it doesn't know the words!"

User avatar
mirtzbass
Information
Posts: 3
Joined: 01 Jul 2011, 09:07
Has thanked: 1 time

Post by mirtzbass »

hi! one question : can i use this system with a boss ds-1?? thanks

Post Reply