Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #539301 > unrolled thread

Spurious triggering of 4013 flip-flop

Started byTerry Pinnell <me@somewhere.invalid>
First post2019-04-13 15:15 +0100
Last post2019-04-21 04:23 +0000
Articles 20 on this page of 73 — 20 participants

Back to article view | Back to sci.electronics.design


Contents

  Spurious triggering of 4013 flip-flop Terry Pinnell <me@somewhere.invalid> - 2019-04-13 15:15 +0100
    Re: Spurious triggering of 4013 flip-flop Johann Klammer <klammerj@NOSPAM.a1.net> - 2019-04-13 16:29 +0200
      Re: Spurious triggering of 4013 flip-flop John Larkin <jjlarkin@highlandtechnology.com> - 2019-04-13 09:23 -0700
    Re: Spurious triggering of 4013 flip-flop default <default@defaulter.net> - 2019-04-13 11:52 -0400
    Re: Spurious triggering of 4013 flip-flop Winfield Hill <hill@rowland.harvard.edu> - 2019-04-13 08:59 -0700
      Re: Spurious triggering of 4013 flip-flop John Larkin <jjlarkin@highlandtechnology.com> - 2019-04-13 09:42 -0700
    Re: Spurious triggering of 4013 flip-flop Terry Pinnell <me@somewhere.invalid> - 2019-04-13 22:33 +0100
      Re: Spurious triggering of 4013 flip-flop gnuarm.deletethisbit@gmail.com - 2019-04-13 18:22 -0700
    Re: Spurious triggering of 4013 flip-flop Jasen Betts <jasen@xnet.co.nz> - 2019-04-14 01:21 +0000
      Re: Spurious triggering of 4013 flip-flop Terry Pinnell <me@somewhere.invalid> - 2019-04-14 19:04 +0100
        Re: Spurious triggering of 4013 flip-flop Martin Riddle <martin_ridd@verizon.net> - 2019-04-14 15:07 -0400
          Re: Spurious triggering of 4013 flip-flop bitrex <user@example.net> - 2019-04-14 15:11 -0400
            Re: Spurious triggering of 4013 flip-flop Martin Riddle <martin_ridd@verizon.net> - 2019-04-14 16:00 -0400
              Re: Spurious triggering of 4013 flip-flop bitrex <user@example.net> - 2019-04-14 17:51 -0400
        Re: Spurious triggering of 4013 flip-flop Jasen Betts <jasen@xnet.co.nz> - 2019-04-14 22:54 +0000
          Re: Spurious triggering of 4013 flip-flop Terry Pinnell <me@somewhere.invalid> - 2019-04-15 08:45 +0100
            Re: Spurious triggering of 4013 flip-flop Jasen Betts <jasen@xnet.co.nz> - 2019-04-15 10:21 +0000
              Re: Spurious triggering of 4013 flip-flop Sylvia Else <sylvia@email.invalid> - 2019-04-15 21:40 +1000
                Re: Spurious triggering of 4013 flip-flop Terry Pinnell <me@somewhere.invalid> - 2019-04-16 11:02 +0100
                Re: Spurious triggering of 4013 flip-flop Terry Pinnell <me@somewhere.invalid> - 2019-04-16 22:38 +0100
              Re: Spurious triggering of 4013 flip-flop Terry Pinnell <me@somewhere.invalid> - 2019-04-16 11:01 +0100
                Re: Spurious triggering of 4013 flip-flop Riley Angel <4736angel@pm.me> - 2019-04-18 21:48 -0700
              Re: Spurious triggering of 4013 flip-flop Terry Pinnell <me@somewhere.invalid> - 2019-04-16 22:43 +0100
    Re: Spurious triggering of 4013 flip-flop Sylvia Else <sylvia@email.invalid> - 2019-04-14 13:47 +1000
      Re: Spurious triggering of 4013 flip-flop Terry Pinnell <me@somewhere.invalid> - 2019-04-14 18:54 +0100
        Re: Spurious triggering of 4013 flip-flop Sylvia Else <sylvia@email.invalid> - 2019-04-15 18:05 +1000
          Re: Spurious triggering of 4013 flip-flop Terry Pinnell <me@somewhere.invalid> - 2019-04-15 10:19 +0100
            Re: Spurious triggering of 4013 flip-flop default <default@defaulter.net> - 2019-04-15 15:55 -0400
              Re: Spurious triggering of 4013 flip-flop Terry Pinnell <me@somewhere.invalid> - 2019-04-16 09:27 +0100
                Re: Spurious triggering of 4013 flip-flop Piglet <erichpwagner@hotmail.com> - 2019-04-16 09:41 +0100
                  Re: Spurious triggering of 4013 flip-flop Piglet <erichpwagner@hotmail.com> - 2019-04-16 10:10 +0100
                    Re: Spurious triggering of 4013 flip-flop Piglet <erichpwagner@hotmail.com> - 2019-04-16 14:01 +0100
                      Re: Spurious triggering of 4013 flip-flop Terry Pinnell <me@somewhere.invalid> - 2019-04-16 19:11 +0100
                        Re: Spurious triggering of 4013 flip-flop Piglet <erichpwagner@hotmail.com> - 2019-04-16 21:52 +0100
                      Re: Spurious triggering of 4013 flip-flop Jasen Betts <jasen@xnet.co.nz> - 2019-04-17 07:51 +0000
                        Re: Spurious triggering of 4013 flip-flop Piglet <erichpwagner@hotmail.com> - 2019-04-17 21:02 +0100
                Re: Spurious triggering of 4013 flip-flop default <default@defaulter.net> - 2019-04-16 08:08 -0400
                  Re: Spurious triggering of 4013 flip-flop Johnny B Good <johnny-b-good@invalid.ntlworld.com> - 2019-04-17 04:22 +0000
    Re: Spurious triggering of 4013 flip-flop Robert Baer <robertbaer@localnet.com> - 2019-04-13 22:43 -0800
      Re: Spurious triggering of 4013 flip-flop Terry Pinnell <me@somewhere.invalid> - 2019-04-14 19:06 +0100
    Re: Spurious triggering of 4013 flip-flop bitrex <user@example.net> - 2019-04-14 03:09 -0400
      Re: Spurious triggering of 4013 flip-flop bitrex <user@example.net> - 2019-04-14 03:25 -0400
        Re: Spurious triggering of 4013 flip-flop jrwalliker@gmail.com - 2019-04-14 10:25 -0700
          Re: Spurious triggering of 4013 flip-flop Terry Pinnell <me@somewhere.invalid> - 2019-04-14 18:44 +0100
    Re: Spurious triggering of 4013 flip-flop Piglet <erichpwagner@hotmail.com> - 2019-04-14 20:29 +0100
      Re: Spurious triggering of 4013 flip-flop "Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> - 2019-04-16 10:46 -0400
        Re: Spurious triggering of 4013 flip-flop Piglet <erichpwagner@hotmail.com> - 2019-04-16 17:08 +0100
          Re: Spurious triggering of 4013 flip-flop bitrex <user@example.net> - 2019-04-16 16:55 -0400
            Re: Spurious triggering of 4013 flip-flop Johnny B Good <johnny-b-good@invalid.ntlworld.com> - 2019-04-17 16:54 +0000
          Re: Spurious triggering of 4013 flip-flop Johnny B Good <johnny-b-good@invalid.ntlworld.com> - 2019-04-17 16:50 +0000
        Re: Spurious triggering of 4013 flip-flop bitrex <user@example.net> - 2019-04-16 16:53 -0400
          Re: Spurious triggering of 4013 flip-flop krw@notreal.com - 2019-04-16 22:44 -0400
        Re: Spurious triggering of 4013 flip-flop Johnny B Good <johnny-b-good@invalid.ntlworld.com> - 2019-04-17 16:42 +0000
    Re: Spurious triggering of 4013 flip-flop bloggs.fredbloggs.fred@gmail.com - 2019-04-14 15:47 -0700
    Re: Spurious triggering of 4013 flip-flop "Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> - 2019-04-15 01:55 -0400
      Re: Spurious triggering of 4013 flip-flop Terry Pinnell <me@somewhere.invalid> - 2019-04-15 10:25 +0100
        Re: Spurious triggering of 4013 flip-flop "Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> - 2019-04-15 19:56 -0400
          Re: Spurious triggering of 4013 flip-flop Terry Pinnell <me@somewhere.invalid> - 2019-04-16 10:41 +0100
        Re: Spurious triggering of 4013 flip-flop "Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> - 2019-04-15 20:54 -0400
          Re: Spurious triggering of 4013 flip-flop Terry Pinnell <me@somewhere.invalid> - 2019-04-16 10:55 +0100
    Re: Spurious triggering of 4013 flip-flop tabbypurr@gmail.com - 2019-04-16 21:35 -0700
      Re: Spurious triggering of 4013 flip-flop Mike <ham789@netscape.net> - 2019-04-16 22:52 -0700
        Re: Spurious triggering of 4013 flip-flop Terry Pinnell <me@somewhere.invalid> - 2019-04-18 08:16 +0100
          Re: Spurious triggering of 4013 flip-flop Jasen Betts <jasen@xnet.co.nz> - 2019-04-18 08:12 +0000
            Re: Spurious triggering of 4013 flip-flop gnuarm.deletethisbit@gmail.com - 2019-04-18 05:56 -0700
              Re: Spurious triggering of 4013 flip-flop Jasen Betts <jasen@xnet.co.nz> - 2019-04-21 04:24 +0000
          Re: Spurious triggering of 4013 flip-flop gnuarm.deletethisbit@gmail.com - 2019-04-18 05:55 -0700
            Re: Spurious triggering of 4013 flip-flop Terry Pinnell <me@somewhere.invalid> - 2019-04-18 21:25 +0100
              Re: Spurious triggering of 4013 flip-flop gnuarm.deletethisbit@gmail.com - 2019-04-18 13:44 -0700
                Re: Spurious triggering of 4013 flip-flop Terry Pinnell <me@somewhere.invalid> - 2019-04-19 10:19 +0100
                  Re: Spurious triggering of 4013 flip-flop tabbypurr@gmail.com - 2019-04-19 03:03 -0700
                  Re: Spurious triggering of 4013 flip-flop gnuarm.deletethisbit@gmail.com - 2019-04-19 05:45 -0700
              Re: Spurious triggering of 4013 flip-flop Jasen Betts <jasen@xnet.co.nz> - 2019-04-21 04:23 +0000

Page 1 of 4  [1] 2 3 4  Next page →


#539301 — Spurious triggering of 4013 flip-flop

FromTerry Pinnell <me@somewhere.invalid>
Date2019-04-13 15:15 +0100
SubjectSpurious triggering of 4013 flip-flop
Message-ID<mer3bep6r9sko13tgn5uamjed2vj3bvg8r@4ax.com>
One of my garden lamp circuits is shown here:

https://www.dropbox.com/s/10cc6lwfrsqjp68/DiningLamp-Post.jpg?raw=1

But the CMOS 4013 flip-flop circuit suffers from occasional spurious
triggering. Somehow it frequently gets activated overnight.
Frustratingly I’m unable to pin it down. But I suspect it may be due to
the very long wire (60 ft or so) carrying the high-going brief input
signal. In places that runs alongside other wiring, some DC, some mains
and that situation cannot be changed.

So I’m seeking suggestions on either alternative input filtering or
failing that an entirely new toggle circuit.

Hope I’m not breaking the rules by posting in both forums.

Terry, East Grinstead, UK

[toc] | [next] | [standalone]


#539302

FromJohann Klammer <klammerj@NOSPAM.a1.net>
Date2019-04-13 16:29 +0200
Message-ID<q8sro3$j8h$1@gioia.aioe.org>
In reply to#539301
On 04/13/2019 04:15 PM, Terry Pinnell wrote:
> One of my garden lamp circuits is shown here:
> 
> https://www.dropbox.com/s/10cc6lwfrsqjp68/DiningLamp-Post.jpg?raw=1
> 
> But the CMOS 4013 flip-flop circuit suffers from occasional spurious
> triggering. Somehow it frequently gets activated overnight.
> Frustratingly I’m unable to pin it down. But I suspect it may be due to
> the very long wire (60 ft or so) carrying the high-going brief input
> signal. In places that runs alongside other wiring, some DC, some mains
> and that situation cannot be changed.
> 
> So I’m seeking suggestions on either alternative input filtering or
> failing that an entirely new toggle circuit.
> 
> Hope I’m not breaking the rules by posting in both forums.
> 
> Terry, East Grinstead, UK
> 
rc filter and schmitt trigger?

[toc] | [prev] | [next] | [standalone]


#539328

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2019-04-13 09:23 -0700
Message-ID<io24bet26ukjk046ij91641ctj8vnvl96q@4ax.com>
In reply to#539302
On Sat, 13 Apr 2019 16:29:35 +0200, Johann Klammer
<klammerj@NOSPAM.a1.net> wrote:

>On 04/13/2019 04:15 PM, Terry Pinnell wrote:
>> One of my garden lamp circuits is shown here:
>> 
>> https://www.dropbox.com/s/10cc6lwfrsqjp68/DiningLamp-Post.jpg?raw=1
>> 
>> But the CMOS 4013 flip-flop circuit suffers from occasional spurious
>> triggering. Somehow it frequently gets activated overnight.
>> Frustratingly I’m unable to pin it down. But I suspect it may be due to
>> the very long wire (60 ft or so) carrying the high-going brief input
>> signal. In places that runs alongside other wiring, some DC, some mains
>> and that situation cannot be changed.
>> 
>> So I’m seeking suggestions on either alternative input filtering or
>> failing that an entirely new toggle circuit.
>> 
>> Hope I’m not breaking the rules by posting in both forums.
>> 
>> Terry, East Grinstead, UK
>> 
>rc filter and schmitt trigger?

And a grounded metal box. 4000 series logic has very wimpy output
drive so is easily bashed around by external EMI.

Why not use a simple on/off switch, instead of an alternate action
pushbutton?


-- 

John Larkin         Highland Technology, Inc

lunatic fringe electronics 

[toc] | [prev] | [next] | [standalone]


#539318

Fromdefault <default@defaulter.net>
Date2019-04-13 11:52 -0400
Message-ID<n304bel3255ffgml9i1vsgmpb344nnfv1r@4ax.com>
In reply to#539301
On Sat, 13 Apr 2019 15:15:21 +0100, Terry Pinnell
<me@somewhere.invalid> wrote:

>One of my garden lamp circuits is shown here:
>
>https://www.dropbox.com/s/10cc6lwfrsqjp68/DiningLamp-Post.jpg?raw=1
>
>But the CMOS 4013 flip-flop circuit suffers from occasional spurious
>triggering. Somehow it frequently gets activated overnight.
>Frustratingly I’m unable to pin it down. But I suspect it may be due to
>the very long wire (60 ft or so) carrying the high-going brief input
>signal. In places that runs alongside other wiring, some DC, some mains
>and that situation cannot be changed.
>
>So I’m seeking suggestions on either alternative input filtering or
>failing that an entirely new toggle circuit.
>
>Hope I’m not breaking the rules by posting in both forums.
>
>Terry, East Grinstead, UK

A cap to knock out noise is probably not enough you'd do better with
some resistance before the cap (and maybe use more than 18K for the
pull down input).  Put a scope on that input with a X10 probe and
crank up the scope gain and you may see AM radio....

Another approach may be to use more than one diode on the input to
increase the voltage necessary.

Lower the impedance of the line driver if you can.

Increase the time for the high signal, then filter the hell out of it
with a long time-constant R-C integrator.

Add a transistor on the input that requires a few milliamps to turn on
- that CMOS gate probably works with microamps

Look for something coincident with the problem - every time a
furnace/AC or some other appliance is used, etc..  Filtering the noise
at the source is usually more effective than at the device with the
problem.

If you can scope it out you are ahead of the game since you know what
you are trying to deal with.  RF, switching transients, amplitude,
duration, etc..

Create noise and see how sensitive it is.    Line powered electric
drills are noisy as a rule.  I had one circuit that would respond to a
spark igniter that was used to light the BBQ...  

Does the ground run out to the signal source?  You've got what may be
a ground loop situation too.  The 13V DC is sourced at the shed, is
the ground return at the shed, and another ground at the signal
source?

I can stick two copper rods in the ground here and measure a current
that comes and goes with more than a 2V amplitude and will power a red
led....  no power supply necessary.

good luck

[toc] | [prev] | [next] | [standalone]


#539320

FromWinfield Hill <hill@rowland.harvard.edu>
Date2019-04-13 08:59 -0700
Message-ID<q8t11i0qco@drn.newsguy.com>
In reply to#539301
Terry Pinnell wrote...
>
>One of my garden lamp circuits is shown here:
>
>https://www.dropbox.com/s/10cc6lwfrsqjp68/DiningLamp-Post.jpg?raw=1

 It's a very bad idea to trigger the clock input
 of a flip-flop from a slow-rise/fall-time signal.
 Add a Schmitt-trigger gate or a comparator with
 hysteresis, after the filter, before the clock.


-- 
 Thanks,
    - Win

[toc] | [prev] | [next] | [standalone]


#539334

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2019-04-13 09:42 -0700
Message-ID<6a44be10vtu20qatrm0qufj94qhq820faf@4ax.com>
In reply to#539320
On 13 Apr 2019 08:59:46 -0700, Winfield Hill
<hill@rowland.harvard.edu> wrote:

>Terry Pinnell wrote...
>>
>>One of my garden lamp circuits is shown here:
>>
>>https://www.dropbox.com/s/10cc6lwfrsqjp68/DiningLamp-Post.jpg?raw=1
>
> It's a very bad idea to trigger the clock input
> of a flip-flop from a slow-rise/fall-time signal.
> Add a Schmitt-trigger gate or a comparator with
> hysteresis, after the filter, before the clock.

Or design a more deliberate, slow, non-edge-sensitive circuit.


-- 

John Larkin         Highland Technology, Inc

lunatic fringe electronics 

[toc] | [prev] | [next] | [standalone]


#539369

FromTerry Pinnell <me@somewhere.invalid>
Date2019-04-13 22:33 +0100
Message-ID<mpk4bet1mgu51scrd006qn7u44lo832jbv@4ax.com>
In reply to#539301
Terry Pinnell <me@somewhere.invalid> wrote:

>One of my garden lamp circuits is shown here:
>
>https://www.dropbox.com/s/10cc6lwfrsqjp68/DiningLamp-Post.jpg?raw=1
>
>But the CMOS 4013 flip-flop circuit suffers from occasional spurious
>triggering. Somehow it frequently gets activated overnight.
>Frustratingly I’m unable to pin it down. But I suspect it may be due to
>the very long wire (60 ft or so) carrying the high-going brief input
>signal. In places that runs alongside other wiring, some DC, some mains
>and that situation cannot be changed.
>
>So I’m seeking suggestions on either alternative input filtering or
>failing that an entirely new toggle circuit.
>
>Hope I’m not breaking the rules by posting in both forums.
>
>Terry, East Grinstead, UK

Many thanks for all those helpful suggestions, and especially to
@default for such a comprehensive analysis. Much experimenting in
prospect.

John: The input signal is from my 20 year old IR Remote Control project
which uses a keypad to do stuff.
https://www.dropbox.com/s/0ixidgxjkr7nh1s/20180909-RC-Unit-1.jpg?raw=1

I agree that a simple on/off switch would be more practical and
eliminate the subject problem - but that would mean getting up from the
sofa to toggle a switch!

Terry, East Grinstead, UK

[toc] | [prev] | [next] | [standalone]


#539380

Fromgnuarm.deletethisbit@gmail.com
Date2019-04-13 18:22 -0700
Message-ID<56e85cb2-90a9-413e-950e-e4b3f4248a2b@googlegroups.com>
In reply to#539369
On Saturday, April 13, 2019 at 5:33:33 PM UTC-4, Terry Pinnell wrote:
> Terry Pinnell <me@somewhere.invalid> wrote:
> 
> >One of my garden lamp circuits is shown here:
> >
> >https://www.dropbox.com/s/10cc6lwfrsqjp68/DiningLamp-Post.jpg?raw=1
> >
> >But the CMOS 4013 flip-flop circuit suffers from occasional spurious
> >triggering. Somehow it frequently gets activated overnight.
> >Frustratingly I’m unable to pin it down. But I suspect it may be due to
> >the very long wire (60 ft or so) carrying the high-going brief input
> >signal. In places that runs alongside other wiring, some DC, some mains
> >and that situation cannot be changed.
> >
> >So I’m seeking suggestions on either alternative input filtering or
> >failing that an entirely new toggle circuit.
> >
> >Hope I’m not breaking the rules by posting in both forums.
> >
> >Terry, East Grinstead, UK
> 
> Many thanks for all those helpful suggestions, and especially to
> @default for such a comprehensive analysis. Much experimenting in
> prospect.
> 
> John: The input signal is from my 20 year old IR Remote Control project
> which uses a keypad to do stuff.
> https://www.dropbox.com/s/0ixidgxjkr7nh1s/20180909-RC-Unit-1.jpg?raw=1
> 
> I agree that a simple on/off switch would be more practical and
> eliminate the subject problem - but that would mean getting up from the
> sofa to toggle a switch!

No, it means your remote control receiver would need to be modified to output a constant level rather than a short pulse.  

Or you could toss your remote in the can and buy one of the many garage door opener type devices from ebay for just a very few bucks.  It might not work any better, but at least you would have a project to work on. 

-- 

  Rick C.

  - Get a 1,000 miles of free Supercharging
  - Tesla referral code - https://ts.la/richard11209

[toc] | [prev] | [next] | [standalone]


#539381

FromJasen Betts <jasen@xnet.co.nz>
Date2019-04-14 01:21 +0000
Message-ID<q8u1v4$c3d$1@gonzo.revmaps.no-ip.org>
In reply to#539301
On 2019-04-13, Terry Pinnell <me@somewhere.invalid> wrote:
> One of my garden lamp circuits is shown here:
>
> https://www.dropbox.com/s/10cc6lwfrsqjp68/DiningLamp-Post.jpg?raw=1
>
> But the CMOS 4013 flip-flop circuit suffers from occasional spurious
> triggering. Somehow it frequently gets activated overnight.
> Frustratingly I’m unable to pin it down. But I suspect it may be due to
> the very long wire (60 ft or so) carrying the high-going brief input
> signal. In places that runs alongside other wiring, some DC, some mains
> and that situation cannot be changed.
>
> So I’m seeking suggestions on either alternative input filtering or
> failing that an entirely new toggle circuit.

Your input signal is 15V but your supply is only 13.3?

You are not meeting the abs max allowed clock fall time with that filter
network
http://www.ti.com/lit/ds/symlink/cd4013b.pdf  (page 4 table 6.3)


I think you need some sort to shmitt trigger to clean that up, also
then you can use a slower filter which should eat more noise.

could there be a ground loop that's causing the triggering?

-- 
  When I tried casting out nines I made a hash of it.

[toc] | [prev] | [next] | [standalone]


#539531

FromTerry Pinnell <me@somewhere.invalid>
Date2019-04-14 19:04 +0100
Message-ID<84t6be5qnqh6il3r9hl569tme48lohqoof@4ax.com>
In reply to#539381
Jasen Betts <jasen@xnet.co.nz> wrote:

>On 2019-04-13, Terry Pinnell <me@somewhere.invalid> wrote:
>> One of my garden lamp circuits is shown here:
>>
>> https://www.dropbox.com/s/10cc6lwfrsqjp68/DiningLamp-Post.jpg?raw=1
>>
>> But the CMOS 4013 flip-flop circuit suffers from occasional spurious
>> triggering. Somehow it frequently gets activated overnight.
>> Frustratingly I?m unable to pin it down. But I suspect it may be due to
>> the very long wire (60 ft or so) carrying the high-going brief input
>> signal. In places that runs alongside other wiring, some DC, some mains
>> and that situation cannot be changed.
>>
>> So I?m seeking suggestions on either alternative input filtering or
>> failing that an entirely new toggle circuit.
>
>Your input signal is 15V but your supply is only 13.3?

Yes, it proved more convenient to use a separate PS in the shed. And the
diode on the signal input lowers the voltage to about 14.4. I see that's
well below the 20.5V specified in table 6.1 of your PDF.

>You are not meeting the abs max allowed clock fall time with that filter
>network
>http://www.ti.com/lit/ds/symlink/cd4013b.pdf  (page 4 table 6.3)

Thanks, I'll take a close look at that, although it wouldn't explain the
spurious triggering overnight?

>
>I think you need some sort to shmitt trigger to clean that up, also
>then you can use a slower filter which should eat more noise.

Yes, that's been a repeated recommendation up-thread and I'm going to
add one.

>could there be a ground loop that's causing the triggering?

I guess so, although 0V is mains-earthed at both power supplies.

Terry, East Grinstead, UK

[toc] | [prev] | [next] | [standalone]


#539538

FromMartin Riddle <martin_ridd@verizon.net>
Date2019-04-14 15:07 -0400
Message-ID<h117belefmcbvv8l2ovugndh8u13fp9d5e@4ax.com>
In reply to#539531
On Sun, 14 Apr 2019 19:04:59 +0100, Terry Pinnell
<me@somewhere.invalid> wrote:

>Jasen Betts <jasen@xnet.co.nz> wrote:
>
>>On 2019-04-13, Terry Pinnell <me@somewhere.invalid> wrote:
>>> One of my garden lamp circuits is shown here:
>>>
>>> https://www.dropbox.com/s/10cc6lwfrsqjp68/DiningLamp-Post.jpg?raw=1
>>>
>>> But the CMOS 4013 flip-flop circuit suffers from occasional spurious
>>> triggering. Somehow it frequently gets activated overnight.
>>> Frustratingly I?m unable to pin it down. But I suspect it may be due to
>>> the very long wire (60 ft or so) carrying the high-going brief input
>>> signal. In places that runs alongside other wiring, some DC, some mains
>>> and that situation cannot be changed.
>>>
>>> So I?m seeking suggestions on either alternative input filtering or
>>> failing that an entirely new toggle circuit.
>>
>>Your input signal is 15V but your supply is only 13.3?
>
>Yes, it proved more convenient to use a separate PS in the shed. And the
>diode on the signal input lowers the voltage to about 14.4. I see that's
>well below the 20.5V specified in table 6.1 of your PDF.
>
>>You are not meeting the abs max allowed clock fall time with that filter
>>network
>>http://www.ti.com/lit/ds/symlink/cd4013b.pdf  (page 4 table 6.3)
>
>Thanks, I'll take a close look at that, although it wouldn't explain the
>spurious triggering overnight?
>
>>
>>I think you need some sort to shmitt trigger to clean that up, also
>>then you can use a slower filter which should eat more noise.
>
>Yes, that's been a repeated recommendation up-thread and I'm going to
>add one.
>
>>could there be a ground loop that's causing the triggering?
>
>I guess so, although 0V is mains-earthed at both power supplies.
>
>Terry, East Grinstead, UK

Since you have 2 supplies, I suggest use an Opto-coupler for
isolation, use the two wires back to the loung (60') to pulse the opto
diode.

Cheers

[toc] | [prev] | [next] | [standalone]


#539539

Frombitrex <user@example.net>
Date2019-04-14 15:11 -0400
Message-ID<uBLsE.321552$hJ3.285251@fx07.iad>
In reply to#539538
On 4/14/19 3:07 PM, Martin Riddle wrote:
> On Sun, 14 Apr 2019 19:04:59 +0100, Terry Pinnell
> <me@somewhere.invalid> wrote:
> 
>> Jasen Betts <jasen@xnet.co.nz> wrote:
>>
>>> On 2019-04-13, Terry Pinnell <me@somewhere.invalid> wrote:
>>>> One of my garden lamp circuits is shown here:
>>>>
>>>> https://www.dropbox.com/s/10cc6lwfrsqjp68/DiningLamp-Post.jpg?raw=1
>>>>
>>>> But the CMOS 4013 flip-flop circuit suffers from occasional spurious
>>>> triggering. Somehow it frequently gets activated overnight.
>>>> Frustratingly I?m unable to pin it down. But I suspect it may be due to
>>>> the very long wire (60 ft or so) carrying the high-going brief input
>>>> signal. In places that runs alongside other wiring, some DC, some mains
>>>> and that situation cannot be changed.
>>>>
>>>> So I?m seeking suggestions on either alternative input filtering or
>>>> failing that an entirely new toggle circuit.
>>>
>>> Your input signal is 15V but your supply is only 13.3?
>>
>> Yes, it proved more convenient to use a separate PS in the shed. And the
>> diode on the signal input lowers the voltage to about 14.4. I see that's
>> well below the 20.5V specified in table 6.1 of your PDF.
>>
>>> You are not meeting the abs max allowed clock fall time with that filter
>>> network
>>> http://www.ti.com/lit/ds/symlink/cd4013b.pdf  (page 4 table 6.3)
>>
>> Thanks, I'll take a close look at that, although it wouldn't explain the
>> spurious triggering overnight?
>>
>>>
>>> I think you need some sort to shmitt trigger to clean that up, also
>>> then you can use a slower filter which should eat more noise.
>>
>> Yes, that's been a repeated recommendation up-thread and I'm going to
>> add one.
>>
>>> could there be a ground loop that's causing the triggering?
>>
>> I guess so, although 0V is mains-earthed at both power supplies.
>>
>> Terry, East Grinstead, UK
> 
> Since you have 2 supplies, I suggest use an Opto-coupler for
> isolation, use the two wires back to the loung (60') to pulse the opto
> diode.
> 
> Cheers
> 

A ha!

[toc] | [prev] | [next] | [standalone]


#539548

FromMartin Riddle <martin_ridd@verizon.net>
Date2019-04-14 16:00 -0400
Message-ID<6647bedn6bahd2n6bn64tjoq3f3g0h2mcp@4ax.com>
In reply to#539539
On Sun, 14 Apr 2019 15:11:22 -0400, bitrex <user@example.net> wrote:

>On 4/14/19 3:07 PM, Martin Riddle wrote:
>> On Sun, 14 Apr 2019 19:04:59 +0100, Terry Pinnell
>> <me@somewhere.invalid> wrote:
>> 
>>> Jasen Betts <jasen@xnet.co.nz> wrote:
>>>
>>>> On 2019-04-13, Terry Pinnell <me@somewhere.invalid> wrote:
>>>>> One of my garden lamp circuits is shown here:
>>>>>
>>>>> https://www.dropbox.com/s/10cc6lwfrsqjp68/DiningLamp-Post.jpg?raw=1
>>>>>
>>>>> But the CMOS 4013 flip-flop circuit suffers from occasional spurious
>>>>> triggering. Somehow it frequently gets activated overnight.
>>>>> Frustratingly I?m unable to pin it down. But I suspect it may be due to
>>>>> the very long wire (60 ft or so) carrying the high-going brief input
>>>>> signal. In places that runs alongside other wiring, some DC, some mains
>>>>> and that situation cannot be changed.
>>>>>
>>>>> So I?m seeking suggestions on either alternative input filtering or
>>>>> failing that an entirely new toggle circuit.
>>>>
>>>> Your input signal is 15V but your supply is only 13.3?
>>>
>>> Yes, it proved more convenient to use a separate PS in the shed. And the
>>> diode on the signal input lowers the voltage to about 14.4. I see that's
>>> well below the 20.5V specified in table 6.1 of your PDF.
>>>
>>>> You are not meeting the abs max allowed clock fall time with that filter
>>>> network
>>>> http://www.ti.com/lit/ds/symlink/cd4013b.pdf  (page 4 table 6.3)
>>>
>>> Thanks, I'll take a close look at that, although it wouldn't explain the
>>> spurious triggering overnight?
>>>
>>>>
>>>> I think you need some sort to shmitt trigger to clean that up, also
>>>> then you can use a slower filter which should eat more noise.
>>>
>>> Yes, that's been a repeated recommendation up-thread and I'm going to
>>> add one.
>>>
>>>> could there be a ground loop that's causing the triggering?
>>>
>>> I guess so, although 0V is mains-earthed at both power supplies.
>>>
>>> Terry, East Grinstead, UK
>> 
>> Since you have 2 supplies, I suggest use an Opto-coupler for
>> isolation, use the two wires back to the loung (60') to pulse the opto
>> diode.
>> 
>> Cheers
>> 
>
>A ha!

Something like <https://www.onsemi.com/pub/Collateral/H11L3M-D.pdf>
You'll need to invert the output etc, etc.

Cheers

[toc] | [prev] | [next] | [standalone]


#539559

Frombitrex <user@example.net>
Date2019-04-14 17:51 -0400
Message-ID<OXNsE.187674$cp1.73168@fx23.iad>
In reply to#539548
On 4/14/19 4:00 PM, Martin Riddle wrote:
> On Sun, 14 Apr 2019 15:11:22 -0400, bitrex <user@example.net> wrote:
> 
>> On 4/14/19 3:07 PM, Martin Riddle wrote:
>>> On Sun, 14 Apr 2019 19:04:59 +0100, Terry Pinnell
>>> <me@somewhere.invalid> wrote:
>>>
>>>> Jasen Betts <jasen@xnet.co.nz> wrote:
>>>>
>>>>> On 2019-04-13, Terry Pinnell <me@somewhere.invalid> wrote:
>>>>>> One of my garden lamp circuits is shown here:
>>>>>>
>>>>>> https://www.dropbox.com/s/10cc6lwfrsqjp68/DiningLamp-Post.jpg?raw=1
>>>>>>
>>>>>> But the CMOS 4013 flip-flop circuit suffers from occasional spurious
>>>>>> triggering. Somehow it frequently gets activated overnight.
>>>>>> Frustratingly I?m unable to pin it down. But I suspect it may be due to
>>>>>> the very long wire (60 ft or so) carrying the high-going brief input
>>>>>> signal. In places that runs alongside other wiring, some DC, some mains
>>>>>> and that situation cannot be changed.
>>>>>>
>>>>>> So I?m seeking suggestions on either alternative input filtering or
>>>>>> failing that an entirely new toggle circuit.
>>>>>
>>>>> Your input signal is 15V but your supply is only 13.3?
>>>>
>>>> Yes, it proved more convenient to use a separate PS in the shed. And the
>>>> diode on the signal input lowers the voltage to about 14.4. I see that's
>>>> well below the 20.5V specified in table 6.1 of your PDF.
>>>>
>>>>> You are not meeting the abs max allowed clock fall time with that filter
>>>>> network
>>>>> http://www.ti.com/lit/ds/symlink/cd4013b.pdf  (page 4 table 6.3)
>>>>
>>>> Thanks, I'll take a close look at that, although it wouldn't explain the
>>>> spurious triggering overnight?
>>>>
>>>>>
>>>>> I think you need some sort to shmitt trigger to clean that up, also
>>>>> then you can use a slower filter which should eat more noise.
>>>>
>>>> Yes, that's been a repeated recommendation up-thread and I'm going to
>>>> add one.
>>>>
>>>>> could there be a ground loop that's causing the triggering?
>>>>
>>>> I guess so, although 0V is mains-earthed at both power supplies.
>>>>
>>>> Terry, East Grinstead, UK
>>>
>>> Since you have 2 supplies, I suggest use an Opto-coupler for
>>> isolation, use the two wires back to the loung (60') to pulse the opto
>>> diode.
>>>
>>> Cheers
>>>
>>
>> A ha!
> 
> Something like <https://www.onsemi.com/pub/Collateral/H11L3M-D.pdf>
> You'll need to invert the output etc, etc.
> 
> Cheers
> 

similar to the generalized concept I had further down the thread, the 
Schmitt output optocoupler probably a good idea, would eliminate some 
transistors etc.

<https://www.dropbox.com/s/5o0va3ok6fqs38m/IMG_20190414_025518882_HDR.jpg?dl=0>

[toc] | [prev] | [next] | [standalone]


#539575

FromJasen Betts <jasen@xnet.co.nz>
Date2019-04-14 22:54 +0000
Message-ID<q90dnh$ov3$1@gonzo.revmaps.no-ip.org>
In reply to#539531
On 2019-04-14, Terry Pinnell <me@somewhere.invalid> wrote:
> Jasen Betts <jasen@xnet.co.nz> wrote:
>
>>On 2019-04-13, Terry Pinnell <me@somewhere.invalid> wrote:
>>> One of my garden lamp circuits is shown here:
>>>
>>> https://www.dropbox.com/s/10cc6lwfrsqjp68/DiningLamp-Post.jpg?raw=1
>>>
>>> But the CMOS 4013 flip-flop circuit suffers from occasional spurious
>>> triggering. Somehow it frequently gets activated overnight.
>>> Frustratingly I?m unable to pin it down. But I suspect it may be due to
>>> the very long wire (60 ft or so) carrying the high-going brief input
>>> signal. In places that runs alongside other wiring, some DC, some mains
>>> and that situation cannot be changed.
>>>
>>> So I?m seeking suggestions on either alternative input filtering or
>>> failing that an entirely new toggle circuit.
>>
>>Your input signal is 15V but your supply is only 13.3?
>
> Yes, it proved more convenient to use a separate PS in the shed. And the
> diode on the signal input lowers the voltage to about 14.4. I see that's
> well below the 20.5V specified in table 6.1 of your PDF.

I'm seeing "VDD+0.5" for all inputs there and you just confirmed that VDD is 13.3
(you can have 20.5 if you connect VDD to 20V)

>>You are not meeting the abs max allowed clock fall time with that filter
>>network
>>http://www.ti.com/lit/ds/symlink/cd4013b.pdf  (page 4 table 6.3)
>
> Thanks, I'll take a close look at that, although it wouldn't explain the
> spurious triggering overnight?

You've exceeded abs max Vin, the chip may be kaput.
It's probalbly fine:
it seems to work, and CMOS chips are fairly forgiving.

>>I think you need some sort to shmitt trigger to clean that up, also
>>then you can use a slower filter which should eat more noise.
>
> Yes, that's been a repeated recommendation up-thread and I'm going to
> add one.

>>could there be a ground loop that's causing the triggering?
>
> I guess so, although 0V is mains-earthed at both power supplies.

That'd do it! only connect to mains earth at one point. or use
isolation between connections. (eg: an opto-isolator in the shed)

-- 
  When I tried casting out nines I made a hash of it.

[toc] | [prev] | [next] | [standalone]


#539608

FromTerry Pinnell <me@somewhere.invalid>
Date2019-04-15 08:45 +0100
Message-ID<0gb8bel12aos19iu67s337750cq4b3q2eb@4ax.com>
In reply to#539575
Jasen Betts <jasen@xnet.co.nz> wrote:

>On 2019-04-14, Terry Pinnell <me@somewhere.invalid> wrote:
>> Jasen Betts <jasen@xnet.co.nz> wrote:
>>
>>>On 2019-04-13, Terry Pinnell <me@somewhere.invalid> wrote:
>>>> One of my garden lamp circuits is shown here:
>>>>
>>>> https://www.dropbox.com/s/10cc6lwfrsqjp68/DiningLamp-Post.jpg?raw=1
>>>>
>>>> But the CMOS 4013 flip-flop circuit suffers from occasional spurious
>>>> triggering. Somehow it frequently gets activated overnight.
>>>> Frustratingly I?m unable to pin it down. But I suspect it may be due to
>>>> the very long wire (60 ft or so) carrying the high-going brief input
>>>> signal. In places that runs alongside other wiring, some DC, some mains
>>>> and that situation cannot be changed.
>>>>
>>>> So I?m seeking suggestions on either alternative input filtering or
>>>> failing that an entirely new toggle circuit.
>>>
>>>Your input signal is 15V but your supply is only 13.3?
>>
>> Yes, it proved more convenient to use a separate PS in the shed. And the
>> diode on the signal input lowers the voltage to about 14.4. I see that's
>> well below the 20.5V specified in table 6.1 of your PDF.
>
>I'm seeing "VDD+0.5" for all inputs there and you just confirmed that VDD is 13.3
>(you can have 20.5 if you connect VDD to 20V)

Duh, of course, you're right, I misread the table! So it's a max of
13.8V for the shed circuit, with a signal of 14.5V from the lounge (15.2
less 0.7 for diode drop). What are the typical consequences of a signal
to CMOS exceeding spec by a volt or two?

>
>>>You are not meeting the abs max allowed clock fall time with that filter
>>>network
>>>http://www.ti.com/lit/ds/symlink/cd4013b.pdf  (page 4 table 6.3)
>>
>> Thanks, I'll take a close look at that, although it wouldn't explain the
>> spurious triggering overnight?
>
>You've exceeded abs max Vin, the chip may be kaput.
>It's probalbly fine:
>it seems to work, and CMOS chips are fairly forgiving.
>
>>>I think you need some sort to shmitt trigger to clean that up, also
>>>then you can use a slower filter which should eat more noise.
>>
>> Yes, that's been a repeated recommendation up-thread and I'm going to
>> add one.
>
>>>could there be a ground loop that's causing the triggering?
>>
>> I guess so, although 0V is mains-earthed at both power supplies.
>
>That'd do it! only connect to mains earth at one point. or use
>isolation between connections. (eg: an opto-isolator in the shed)

Ah, that looks like a significant gap in my (hobbyist) know-how. Have
never really properly understood 'earthing', but I've been assuming the
opposite. I thought that you couldn't overdo it. IOW the more
connections you make, the more robust the circuit.

What about actually *using* mains earth wiring as a 0V return wire?
Between two well spaced circuits, powered from supplies using different
sections of mains wiring, so that only the one long length of wire,
carrying the signal, is needed?

Terry, East Grinstead, UK

[toc] | [prev] | [next] | [standalone]


#539617

FromJasen Betts <jasen@xnet.co.nz>
Date2019-04-15 10:21 +0000
Message-ID<q91m05$vru$2@gonzo.revmaps.no-ip.org>
In reply to#539608
On 2019-04-15, Terry Pinnell <me@somewhere.invalid> wrote:
> Jasen Betts <jasen@xnet.co.nz> wrote:
>
>>On 2019-04-14, Terry Pinnell <me@somewhere.invalid> wrote:
>>> Jasen Betts <jasen@xnet.co.nz> wrote:
>>>
>>>>On 2019-04-13, Terry Pinnell <me@somewhere.invalid> wrote:
>>>>> One of my garden lamp circuits is shown here:
>>>>>
>>>>> https://www.dropbox.com/s/10cc6lwfrsqjp68/DiningLamp-Post.jpg?raw=1
>>>>>
>>>>> But the CMOS 4013 flip-flop circuit suffers from occasional spurious
>>>>> triggering. Somehow it frequently gets activated overnight.
>>>>> Frustratingly I?m unable to pin it down. But I suspect it may be due to
>>>>> the very long wire (60 ft or so) carrying the high-going brief input
>>>>> signal. In places that runs alongside other wiring, some DC, some mains
>>>>> and that situation cannot be changed.
>>>>>
>>>>> So I?m seeking suggestions on either alternative input filtering or
>>>>> failing that an entirely new toggle circuit.
>>>>
>>>>Your input signal is 15V but your supply is only 13.3?
>>>
>>> Yes, it proved more convenient to use a separate PS in the shed. And the
>>> diode on the signal input lowers the voltage to about 14.4. I see that's
>>> well below the 20.5V specified in table 6.1 of your PDF.
>>
>>I'm seeing "VDD+0.5" for all inputs there and you just confirmed that VDD is 13.3
>>(you can have 20.5 if you connect VDD to 20V)
>
> Duh, of course, you're right, I misread the table! So it's a max of
> 13.8V for the shed circuit, with a signal of 14.5V from the lounge (15.2
> less 0.7 for diode drop). What are the typical consequences of a signal
> to CMOS exceeding spec by a volt or two?

current flows though the ESD protection diodes, until the signal
voltage dips or VDD rises enough to stem it... in your circuit 
it's hard to predict how much current.

>>> I guess so, although 0V is mains-earthed at both power supplies.
>>
>>That'd do it! only connect to mains earth at one point. or use
>>isolation between connections. (eg: an opto-isolator in the shed)
>
> Ah, that looks like a significant gap in my (hobbyist) know-how. Have
> never really properly understood 'earthing', but I've been assuming the
> opposite. I thought that you couldn't overdo it. IOW the more
> connections you make, the more robust the circuit.
>
> What about actually *using* mains earth wiring as a 0V return wire?
> Between two well spaced circuits, powered from supplies using different
> sections of mains wiring, so that only the one long length of wire,
> carrying the signal, is needed?

You might find 10V AC between the two ends, depending on what's going
on, fault current, electromagetic pick up from the loop formed by the
signal wire and the ground wire, spikes from electric storms,... with a
slow enough low pass filter you can probably filter all those spurious
signals out.

but you'd still need to square it up with a schmitt trigger to keep the
4013 happy.


A optocoupler with say 2000V isolation is a bit of a sledgehammer to crack
a nut,  but it's hard to guess if it's going to be a peanut or a coconut, 
and optocouplers are cheap, and can be salvaged from old switch-mode
powersupplies if you have none on hand and don't want to order more
parts.

-- 
  When I tried casting out nines I made a hash of it.

[toc] | [prev] | [next] | [standalone]


#539618

FromSylvia Else <sylvia@email.invalid>
Date2019-04-15 21:40 +1000
Message-ID<ghj8tsF43drU1@mid.individual.net>
In reply to#539617
On 15/04/2019 8:21 pm, Jasen Betts wrote:
> On 2019-04-15, Terry Pinnell <me@somewhere.invalid> wrote:
>> Jasen Betts <jasen@xnet.co.nz> wrote:
>>
>>> On 2019-04-14, Terry Pinnell <me@somewhere.invalid> wrote:
>>>> Jasen Betts <jasen@xnet.co.nz> wrote:
>>>>
>>>>> On 2019-04-13, Terry Pinnell <me@somewhere.invalid> wrote:
>>>>>> One of my garden lamp circuits is shown here:
>>>>>>
>>>>>> https://www.dropbox.com/s/10cc6lwfrsqjp68/DiningLamp-Post.jpg?raw=1
>>>>>>
>>>>>> But the CMOS 4013 flip-flop circuit suffers from occasional spurious
>>>>>> triggering. Somehow it frequently gets activated overnight.
>>>>>> Frustratingly I?m unable to pin it down. But I suspect it may be due to
>>>>>> the very long wire (60 ft or so) carrying the high-going brief input
>>>>>> signal. In places that runs alongside other wiring, some DC, some mains
>>>>>> and that situation cannot be changed.
>>>>>>
>>>>>> So I?m seeking suggestions on either alternative input filtering or
>>>>>> failing that an entirely new toggle circuit.
>>>>>
>>>>> Your input signal is 15V but your supply is only 13.3?
>>>>
>>>> Yes, it proved more convenient to use a separate PS in the shed. And the
>>>> diode on the signal input lowers the voltage to about 14.4. I see that's
>>>> well below the 20.5V specified in table 6.1 of your PDF.
>>>
>>> I'm seeing "VDD+0.5" for all inputs there and you just confirmed that VDD is 13.3
>>> (you can have 20.5 if you connect VDD to 20V)
>>
>> Duh, of course, you're right, I misread the table! So it's a max of
>> 13.8V for the shed circuit, with a signal of 14.5V from the lounge (15.2
>> less 0.7 for diode drop). What are the typical consequences of a signal
>> to CMOS exceeding spec by a volt or two?
> 
> current flows though the ESD protection diodes, until the signal
> voltage dips or VDD rises enough to stem it... in your circuit
> it's hard to predict how much current.
> 

Or what it might have to the diodes. It might be worth measuring the 
voltage on the pin 11 to check that it's really dropping to zero. If it 
were pulled up somewhat because of leakage through a damaged diode it 
would be reducing the noise immunity.

Sylvia.

[toc] | [prev] | [next] | [standalone]


#539725

FromTerry Pinnell <me@somewhere.invalid>
Date2019-04-16 11:02 +0100
Message-ID<l0abbetld1b21lb8vnjvvsquscpeeft7sb@4ax.com>
In reply to#539618
Sylvia Else <sylvia@email.invalid> wrote:

>On 15/04/2019 8:21 pm, Jasen Betts wrote:
>> On 2019-04-15, Terry Pinnell <me@somewhere.invalid> wrote:
>>> Jasen Betts <jasen@xnet.co.nz> wrote:
>>>
>>>> On 2019-04-14, Terry Pinnell <me@somewhere.invalid> wrote:
>>>>> Jasen Betts <jasen@xnet.co.nz> wrote:
>>>>>
>>>>>> On 2019-04-13, Terry Pinnell <me@somewhere.invalid> wrote:
>>>>>>> One of my garden lamp circuits is shown here:
>>>>>>>
>>>>>>> https://www.dropbox.com/s/10cc6lwfrsqjp68/DiningLamp-Post.jpg?raw=1
>>>>>>>
>>>>>>> But the CMOS 4013 flip-flop circuit suffers from occasional spurious
>>>>>>> triggering. Somehow it frequently gets activated overnight.
>>>>>>> Frustratingly I?m unable to pin it down. But I suspect it may be due to
>>>>>>> the very long wire (60 ft or so) carrying the high-going brief input
>>>>>>> signal. In places that runs alongside other wiring, some DC, some mains
>>>>>>> and that situation cannot be changed.
>>>>>>>
>>>>>>> So I?m seeking suggestions on either alternative input filtering or
>>>>>>> failing that an entirely new toggle circuit.
>>>>>>
>>>>>> Your input signal is 15V but your supply is only 13.3?
>>>>>
>>>>> Yes, it proved more convenient to use a separate PS in the shed. And the
>>>>> diode on the signal input lowers the voltage to about 14.4. I see that's
>>>>> well below the 20.5V specified in table 6.1 of your PDF.
>>>>
>>>> I'm seeing "VDD+0.5" for all inputs there and you just confirmed that VDD is 13.3
>>>> (you can have 20.5 if you connect VDD to 20V)
>>>
>>> Duh, of course, you're right, I misread the table! So it's a max of
>>> 13.8V for the shed circuit, with a signal of 14.5V from the lounge (15.2
>>> less 0.7 for diode drop). What are the typical consequences of a signal
>>> to CMOS exceeding spec by a volt or two?
>> 
>> current flows though the ESD protection diodes, until the signal
>> voltage dips or VDD rises enough to stem it... in your circuit
>> it's hard to predict how much current.
>> 
>
>Or what it might have to the diodes. It might be worth measuring the 
>voltage on the pin 11 to check that it's really dropping to zero. If it 
>were pulled up somewhat because of leakage through a damaged diode it 
>would be reducing the noise immunity.
>
>Sylvia.

I'll check that this evening.

Terry, East Grinstead, UK

[toc] | [prev] | [next] | [standalone]


#539799

FromTerry Pinnell <me@somewhere.invalid>
Date2019-04-16 22:38 +0100
Message-ID<bnicbep3gqc7b6s8e19u2e5lh66ju6a8eh@4ax.com>
In reply to#539618
Sylvia Else <sylvia@email.invalid> wrote:

>On 15/04/2019 8:21 pm, Jasen Betts wrote:
>> On 2019-04-15, Terry Pinnell <me@somewhere.invalid> wrote:
>>> Jasen Betts <jasen@xnet.co.nz> wrote:
>>>
>>>> On 2019-04-14, Terry Pinnell <me@somewhere.invalid> wrote:
>>>>> Jasen Betts <jasen@xnet.co.nz> wrote:
>>>>>
>>>>>> On 2019-04-13, Terry Pinnell <me@somewhere.invalid> wrote:
>>>>>>> One of my garden lamp circuits is shown here:
>>>>>>>
>>>>>>> https://www.dropbox.com/s/10cc6lwfrsqjp68/DiningLamp-Post.jpg?raw=1
>>>>>>>
>>>>>>> But the CMOS 4013 flip-flop circuit suffers from occasional spurious
>>>>>>> triggering. Somehow it frequently gets activated overnight.
>>>>>>> Frustratingly I?m unable to pin it down. But I suspect it may be due to
>>>>>>> the very long wire (60 ft or so) carrying the high-going brief input
>>>>>>> signal. In places that runs alongside other wiring, some DC, some mains
>>>>>>> and that situation cannot be changed.
>>>>>>>
>>>>>>> So I?m seeking suggestions on either alternative input filtering or
>>>>>>> failing that an entirely new toggle circuit.
>>>>>>
>>>>>> Your input signal is 15V but your supply is only 13.3?
>>>>>
>>>>> Yes, it proved more convenient to use a separate PS in the shed. And the
>>>>> diode on the signal input lowers the voltage to about 14.4. I see that's
>>>>> well below the 20.5V specified in table 6.1 of your PDF.
>>>>
>>>> I'm seeing "VDD+0.5" for all inputs there and you just confirmed that VDD is 13.3
>>>> (you can have 20.5 if you connect VDD to 20V)
>>>
>>> Duh, of course, you're right, I misread the table! So it's a max of
>>> 13.8V for the shed circuit, with a signal of 14.5V from the lounge (15.2
>>> less 0.7 for diode drop). What are the typical consequences of a signal
>>> to CMOS exceeding spec by a volt or two?
>> 
>> current flows though the ESD protection diodes, until the signal
>> voltage dips or VDD rises enough to stem it... in your circuit
>> it's hard to predict how much current.
>> 
>
>Or what it might have to the diodes. It might be worth measuring the 
>voltage on the pin 11 to check that it's really dropping to zero. If it 
>were pulled up somewhat because of leakage through a damaged diode it 
>would be reducing the noise immunity.
>
>Sylvia.

Pin 11 was at 10mV with no signal.

[toc] | [prev] | [next] | [standalone]


Page 1 of 4  [1] 2 3 4  Next page →

Back to top | Article view | sci.electronics.design


csiph-web