Re: Looking for a circuit to

From: Robert C Monsen (rcsurname_at_comcast.net)
Date: 07/09/04


Date: Fri, 09 Jul 2004 17:47:18 GMT


"Terry Pinnell" <terrypinDELETE@THESEdial.pipex.com> wrote in message
news:arhse0p22iuthnu3h3rcoqk1c76setitdm@4ax.com...
> "Robert C Monsen" <rcsurname@comcast.net> wrote:
>
> >
> >"Terry Pinnell" <terrypinDELETE@THESEdial.pipex.com> wrote
> >> Thanks for the fast reply. Still simulates a retrigger! Can you
see
> >> any other error in this schematic?
> >> http://www.terrypin.dial.pipex.com/Images/WindowSwTimerSIM3.gif
> >>
> >> If not, has to be the model. Did you simulate as well as build
it?
>
> >I simulated it and built it. However, the bounce.pwl file I used is
> >probably different from yours. I'm guessing thats the difference.
Here
> >is mine. The assumption is that the bounce lasts 10ms.
>
> <snip PWL>
>
> I've since discovered that if I use the alternative CM macromodel,
> '555' instead of the component model 'UA555', your circuit simulates
> OK (with my PWL as well as yours).
>
> Where was that PWL applied in your simulation? As it's -ve going, I
> assume it is direct to the LH side of your 1uF? Mine was +ve going,
> and went via an intermediate VCVS. I suppose that was redundant, but
I
> assume it's immaterial here.
>
> FWIW, here's my PWL. Similar order of bounce duration to yours, but
> with bouncing on both open and close.
>
> + 0 0
> + 1m 0
> + 1.1m 5
> + 1.5m 5
> + 1.6m 0
> + 1.7m 5
> + 5m 5
> + 5.1m 0
> + 10m 0
> + 10.01m 5
> + 1.6s 5
> + 1.601 0
> + 1.61 0
> + 1.611 5
> + 1.62 5
> + 1.63 0
>
> --
> Terry Pinnell
> Hobbyist, West Sussex, UK
>

The PWL file I posted starts with an open switch, waits a second
before opening the switch, then waits another second before closing
the switch again. Both the closing and opening bounce for a bit. I
don't really know whether the bounce profile is accurate, but it seems
to work with both of the 555 models.

I've read that switch bouncing occurs over a period of 1ms, from 10 to
100 times. That is, the switch bounces 10 to 100 times, with a
frequency between 10kHz and 100kHz. My bounce.pwl file has it bouncing
with 500Hz frequency over a period of 10ms. Yours has it bouncing with
50Hz frequency a couple of times. I'm guessing thats the difference.
If you scope the trigger node using your PWL file, you see that the
trigger input gets down to 2V on the switch opening... I'm not sure
why the models differ in their response to this; the mono should
trigger in both cases.

Anyway, I believe the circuit works properly. If resiliency to longer
bounces is required, a larger time constant can be used by increasing
either the cap or 10k resistor. Increase the 100k resistor in
proportion to the increase in the 10k resistor. For example, changing
the 10k to a 22k, and the 100k to a 220k makes the circuit simulate
properly with your PWL file, at least for me.

Regards,
 Bob Monsen



Relevant Pages

  • Re: Looking for a circuit to
    ... The PWL file I posted starts with an open switch, ... Both the closing and opening bounce for a bit. ... I've read that switch bouncing occurs over a period of 1ms, ... If you scope the trigger node using your PWL file, ...
    (sci.electronics.basics)
  • Re: switch debouncing
    ... You obviously don't want the voltage to cross the positive threshold again. ... Using VT+ as positive threshold, VT- as negative threshold, and VH as hysteresis, a worst case calculation for the 74HC14 would look something like this when you settle on a maximum bounce time an order of magnitude larger than switch specification. ... momentary, he observed 2:1 variation in bounce times, and with identical switches he observed 3:1 variation in average bounce times. ...
    (sci.electronics.design)
  • Re: A REAL LIVE Reverse Entropy Machine-Warning
    ... She may bounce the peaceful worm and switch it as well as its ... port. ...
    (sci.crypt)
  • Re: Pinball machine - switch closure timing problem
    ... >You are assuming it is failing to register due to bounce, ... >debouncing built into the switch detection, and to NOT reject a switch ... >closure just because it bounces. ...
    (sci.electronics.design)
  • Re: real time parallel port input
    ... you're right on the money about the bounce issue. ... As I recall I was able to build a simple bounceless switch with some basic ... There is no external circuitry - the opening and ...
    (microsoft.public.vb.general.discussion)