Re: Debouncing....at About 1Mhz
- From: John Fields <jfields@xxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 10 Nov 2007 10:50:12 -0600
On Sat, 10 Nov 2007 07:46:46 -0800, John Larkin
<jjlarkin@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
On Sat, 10 Nov 2007 09:13:06 -0600, John Fields
<jfields@xxxxxxxxxxxxxxxxxxxxx> wrote:
On Fri, 09 Nov 2007 17:38:26 -0800, John Larkin
<jjlarkin@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
On Fri, 09 Nov 2007 18:46:37 -0600, John Fields
<jfields@xxxxxxxxxxxxxxxxxxxxx> wrote:
I'm surprised that you don't seem to know this, but if you have a---
Hazard free? There still remains the RFI issue from all that
chatter, which you haven't adequately addressed.
I was referring to timing hazards, which all of the hairball circuits
have. And I can't understand your fears about running signals through
gates. How are you ever going to do logic if you're afraid to run
signals through gates? "All that chatter" is in fact the input signal.
---
signal with sharp edges then, at each transition, a multiplicity of
harmonics will be generated and radiated into space.
Look at it like this:
. _________________________
.FIN ___| |____________________
. _ _
.NFIN____| |_______________________| |_________________
where FIN is the input signal and NFIN represents the spectral
products generated by FIN's transitions, i.e. noise, if you have no
use for the harmonics.
Now, if that signal is delayed by sending it through a gate:
| \
FIN>---| >--->DFIN
| /
we'll have:
. _________________________
.FIN ___| |____________________
. _ _
.NFIN ___| |_______________________| |_________________
on the input to the gate, and:
. _________________________
.DFIN _______| |____________________
. _ _
.NDFIN________| |_______________________| |_________________
on the output of the gate.
Notice that there are now twice as many noise pulses as there were
before, since there's one on each of the incident as well as the
delayed transitions.
The chain in your circuit: (View in Courier)
N1
/
+------------------------A
| N2 Y---CLK
FIN>--+-A / +--B
Y---A /N3 |
B Y---A |
| B B--+
| | Y \
| | | N4
GND>----+------+------+
(assuming equal gate delays) generates noise pulses that look,
roughly, something like this:
. _________________________
.FIN ___| |____________________
. _ _
.N1 ____| |_______________________| |_________________
. _ _
.N2 ________| |_______________________| |_____________
. _ _
.N3 _____________| |_______________________| |_________
. _ _
.N4 _________________| |_______________________| |_____
. _ _ _ _
.CLK ________| |_________| |___________| |_________| |_
with the result that your circuit (assuming edge rates equal to
those of the comparator) is generating five times as much noise as
the output of the comparator, FIN.
Do you know how much logic is on your PCs motherboard? Or in your
keyboard, or your mouse? Do you think the designers avoided adding 4
gates because they would make "hash"?
---
I'm sure they minimized the logic in order to reduce cost and took
whatever measures were necessary to reduce RFI.
---
When you design logic, do you actually avoid running signals through
gates because gates cause emi?
---
Don't be stoopid. I use whatever's necessary to get the job done.
---
I offered a circuit that has two cans and does everything the OP
specified, and is timing-hazard free. And you're complaining that I'm
using a quad xor gate to process his signal, and that's bad because
it's an emi hazard. Preposterous.
---
If you say so, John.
--
JF
.
- References:
- Re: Debouncing....at About 1Mhz
- From: John Fields
- Re: Debouncing....at About 1Mhz
- From: Tom Bruhns
- Re: Debouncing....at About 1Mhz
- From: John Fields
- Re: Debouncing....at About 1Mhz
- From: John Larkin
- Re: Debouncing....at About 1Mhz
- From: Fred Bloggs
- Re: Debouncing....at About 1Mhz
- From: John Larkin
- Re: Debouncing....at About 1Mhz
- From: John Fields
- Re: Debouncing....at About 1Mhz
- From: John Larkin
- Re: Debouncing....at About 1Mhz
- From: John Fields
- Re: Debouncing....at About 1Mhz
- From: John Larkin
- Re: Debouncing....at About 1Mhz
- Prev by Date: Re: Debouncing....at About 1Mhz
- Next by Date: Re: Semiconductor current transformers...?
- Previous by thread: Re: Debouncing....at About 1Mhz
- Next by thread: Re: Debouncing....at About 1Mhz
- Index(es):
Relevant Pages
|