Re: Debouncing....at About 1Mhz



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:

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


---
I'm surprised that you don't seem to know this, but if you have a
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
.



Relevant Pages

  • Re: In search of a better line driver
    ... > level logic signals: ... > cables, with reasonably good results. ... > gates are used, lot variations in the output impedances of the gates can ... The thing is so small I can hardly solder it. ...
    (sci.electronics.design)
  • Re: Synthesis size of Circuits?
    ... I guess you even didn't care about signal buffering. ... 10k gates needs roughly 1000 gates for signal buffering. ... This number depends on the maximum fanout allowed for buffers of your ... fact I wonder if there are more than a few signals that actually drive ...
    (comp.arch.fpga)
  • Re: Data Directed Program Execution
    ... running clock signal (used in normal logic design) causes energy ... gates have no functional change on any given edge. ... since signals arrive at different times to ...
    (comp.programming)
  • Re: Debouncing....at About 1Mhz
    ... And I can't understand your fears about running signals through ... signals through gates? ... Notice that there are now twice as many noise pulses as there were ... it's an emi hazard. ...
    (sci.electronics.design)
  • Re: Another tragic accident
    ... When both keys are inserted into a lever in the gate hut, that lever can be pulled. ... the lever can only be restored when both those signals are red. ... The gates and lever are worked by a crossing keeper, while the signaller at Cambridge works those signals normally. ...
    (uk.railway)

Quantcast