CMOS Switching and bouncing problems

Started by CodeMonk, September 05, 2011, 10:12:45 PM

Previous topic - Next topic

CodeMonk

#20
Thats very cool.
Thanks.

And being that the images/drawings on the datasheets I found for the CD4013 are of poor quality, I re-drew the "Functional Diagram", incase anyone has need of it.


egasimus

#21
Hey all, I built the inverter flip-flop from R.G. keen's schemo last night, works like a charm. CodeMonk was right - my switch (chosen for aesthetic appeal... idk how am I even gonna drill a hole for it, it's a fat mofo) turned out to be particularly bouncy, though, so much that I had to increase the 100n cap to ground all the way to 1u. It worked like a charm afterwards, although I might bump it up to 2u2 just in case :)

I used a 4069UBE in the circuit, so that makes me think - maybe there's a difference between 4069/4049 and between buffered/unbuffered flavours? Been thinking about propagation times...

egasimus

Completed the circuit in my lunch break a couple of hours ago, and it works! I still haven't tried hooking up an actual FX unit to it, but I measured the resistances with my DMM, and they seem OK.

Expect a layout in the Factory soon. The PCB's currently 4cm wide (to fit the tiniest enclosure that I use), but I might revise it a bit for the 1590A crowd, too.


CodeMonk

#24
I'm a happy little DIY'er right now.
Found a CD4049BPC amongst the parts that I have been cannibalizing from broken TVs. radios, etc. over the years.

Got it switching nice and cleanly finally. A 0.47uF in place of the 0.1uF cap and all is right in my little world (as far as this project goes anyway).
Just wish my favorite electronics surplus store was open tomorrow.

For now, its only on the breadboard.
But sometime tonight, I will be drawing up a layout.


Many, Many thanks RG.

Edit:
Question:
Since I need to drive 2 CD4053's can I jumper 10 to 11, and 12 to 14 and use 15 as the output like 2 is the output?
Or is that gonna screw with the LED?
Or can I do the LED as was done with the CD4013 setup?

CodeMonk

Quote from: CodeMonk on September 11, 2011, 02:18:08 AM
I'm a happy little DIY'er right now.
Found a CD4049BPC amongst the parts that I have been cannibalizing from broken TVs. radios, etc. over the years.

Got it switching nice and cleanly finally. A 0.47uF in place of the 0.1uF cap and all is right in my little world (as far as this project goes anyway).
Just wish my favorite electronics surplus store was open tomorrow.

For now, its only on the breadboard.
But sometime tonight, I will be drawing up a layout.


Many, Many thanks RG.

Edit:
Question:
Since I need to drive 2 CD4053's can I jumper 10 to 11, and 12 to 14 and use 15 as the output like 2 is the output?
Or is that gonna screw with the LED?
Or can I do the LED as was done with the CD4013 setup?

To answer my own question.
Yes.
With an added 100k resistor from 9 to 14.

boogietone

Great discussion. I modified a switching design to add some bounce protection for a 4066/4016. Hope to see the whole thing working sometime this weekend.
An oxymoron - clean transistor boost.

egasimus

#27
Hey all, I'm doing some experiments with my layout for R.G.'s CMOS switcher, and I'm running into a problem.
I've connected it around a Tonepad Dynacomp clone, volume pot and all. However, the <50k to ground which the volume pot provides ruin the entire biasing, causing major poppage.
Is wiring the volume pot after the switcher the only solution? Cuz that'd load down the inputs of other effects further down the chain...

egasimus

Put a 10u cap between volume pot and 4053, and the popping is much less now. However, this seems to have degraded the 4069's switching performance - the switching didn't glitch before, and now it glitches, like, once every 10 pushes of the button. I tried 3 separate chips, since I had removed the ICs before soldering, and had some doubts about mishandling them, and it's all the same. Gotta increase the cap to ground up to 10u, see if that helps...

Also, the bias voltage at the 4053 is 2.5V instead of the 4.5V at the center point of the voltage divider. Is that normal?

CodeMonk

Wish I had an answer for you, but I don't.
Just wondering how your project and its issues are going?

What I am working on is a bit more complicated than a simple CMOS switch.
Not ready to post it yet. But I will when either I get it finished and working or get stuck and need help:)

I did mistakenly put a 2.2 uF electro cap in place of my 0.47 debounce caps (they are in basically in the same visual plane and I guess I got confused a bit).
It bounced. But I swapped them and that part is fine now.

I haven't checked bias voltages yet. Currently doing a forward trace to find where my signal stops.
Was working on it last night. But after being up and working on this, and many other things (I own/run a horse boarding stables) for 30+ hours, I decided to cal it a night.
My debugging skills get a bit uhm...not so good after 30+ hours :)