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-18 05:55 -0700
Articles 20 on this page of 65 — 19 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 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 gnuarm.deletethisbit@gmail.com - 2019-04-18 05:55 -0700

Page 2 of 4 — ← Prev page 1 [2] 3 4  Next page →


#539724

FromTerry Pinnell <me@somewhere.invalid>
Date2019-04-16 11:01 +0100
Message-ID<km9bbetqpr9gs0jmrvhlk6feibq0jll5lr@4ax.com>
In reply to#539617
Jasen Betts <jasen@xnet.co.nz> 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.
>
>>>> 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.

Thanks. You're in Germany, yes? Is your domestic mains wiring similar to
UK? I'm interested whether the different USA approach (apparently a
physical stake at the main external wiring box?) is a significant factor
in the answer to my question. It would be convenient to be able to treat
UK mains earth like the metal chassis of a car!

Terry, East Grinstead, UK

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


#539800

FromTerry Pinnell <me@somewhere.invalid>
Date2019-04-16 22:43 +0100
Message-ID<fsicbe1jv44kalq2in2o6ibji8qsb072nl@4ax.com>
In reply to#539617
Jasen Betts <jasen@xnet.co.nz> 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.
>
>>>> 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.

Investigating possible ground loop(s) is further handicapped because my
scope probes are themselves earthed.

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


#539402

FromSylvia Else <sylvia@email.invalid>
Date2019-04-14 13:47 +1000
Message-ID<ghfor4Fb8f2U1@mid.individual.net>
In reply to#539301
On 14/04/2019 12:15 am, 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
> 

You don't show the arrangements for powering the 4013, and in 
particular, avoiding spikes on Vcc induced in the wire to the relay 
coil, and in the coil itself, both of which would be picking up 
interference. Although the transistor is off, there could be enough 
capacitance around given how little current the 4013 draws when its 
quiescent.

Sylvia.

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


#539530

FromTerry Pinnell <me@somewhere.invalid>
Date2019-04-14 18:54 +0100
Message-ID<tes6be5e847qnuv4ansp6snrdqj426ackk@4ax.com>
In reply to#539402
Sylvia Else <sylvia@email.invalid> wrote:

>On 14/04/2019 12:15 am, 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
>> 
>
>You don't show the arrangements for powering the 4013,

I took it as understood that pins 14 and 7 were connected directly to +V
and 0V respectively. My circuit problems would have been more serious
otherwise ;-)

>and in 
>particular, avoiding spikes on Vcc induced in the wire to the relay 
>coil, and in the coil itself, both of which would be picking up 
>interference.

Do you mean something in addition to the two caps and usual protective
diode?

>Although the transistor is off, there could be enough 
>capacitance around given how little current the 4013 draws when its 
>quiescent.
>
>Sylvia.

Terry, East Grinstead, UK

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


#539610

FromSylvia Else <sylvia@email.invalid>
Date2019-04-15 18:05 +1000
Message-ID<ghis9jF1cnrU1@mid.individual.net>
In reply to#539530
On 15/04/2019 3:54 am, Terry Pinnell wrote:
> Sylvia Else <sylvia@email.invalid> wrote:
> 
>> On 14/04/2019 12:15 am, 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
>>>
>>
>> You don't show the arrangements for powering the 4013,
> 
> I took it as understood that pins 14 and 7 were connected directly to +V
> and 0V respectively. My circuit problems would have been more serious
> otherwise ;-)
> 
>> and in
>> particular, avoiding spikes on Vcc induced in the wire to the relay
>> coil, and in the coil itself, both of which would be picking up
>> interference.
> 
> Do you mean something in addition to the two caps and usual protective
> diode?
> 
>> Although the transistor is off, there could be enough
>> capacitance around given how little current the 4013 draws when its
>> quiescent.
>>
>> Sylvia.
> 
> Terry, East Grinstead, UK
> 
So, pin 11 gets 15V minus diode-drop, but pin 14 gets 4V? That seems 
rather outside the maximum ratings. Apparently it hasn't killed the 4013 
outright, but who knows what it might have done.

Sylvia.

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


#539614

FromTerry Pinnell <me@somewhere.invalid>
Date2019-04-15 10:19 +0100
Message-ID<03j8bed0d5p142l466chiaiu75brc2fa3o@4ax.com>
In reply to#539610
Sylvia Else <sylvia@email.invalid> wrote:

>On 15/04/2019 3:54 am, Terry Pinnell wrote:
>> Sylvia Else <sylvia@email.invalid> wrote:
>> 
>>> On 14/04/2019 12:15 am, 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
>>>>
>>>
>>> You don't show the arrangements for powering the 4013,
>> 
>> I took it as understood that pins 14 and 7 were connected directly to +V
>> and 0V respectively. My circuit problems would have been more serious
>> otherwise ;-)
>> 
>>> and in
>>> particular, avoiding spikes on Vcc induced in the wire to the relay
>>> coil, and in the coil itself, both of which would be picking up
>>> interference.
>> 
>> Do you mean something in addition to the two caps and usual protective
>> diode?
>> 
>>> Although the transistor is off, there could be enough
>>> capacitance around given how little current the 4013 draws when its
>>> quiescent.
>>>
>>> Sylvia.
>> 
>> Terry, East Grinstead, UK
>> 
>So, pin 11 gets 15V minus diode-drop, but pin 14 gets 4V? That seems 
>rather outside the maximum ratings. Apparently it hasn't killed the 4013 
>outright, but who knows what it might have done.
>
>Sylvia.

4V? It's 13.3V.

See also my conversation with Jason.

Terry, East Grinstead, UK

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


#539661

Fromdefault <default@defaulter.net>
Date2019-04-15 15:55 -0400
Message-ID<7uk9bel4uicugm4a94gg082cb550if9dei@4ax.com>
In reply to#539614
On Mon, 15 Apr 2019 10:19:39 +0100, Terry Pinnell
<me@somewhere.invalid> wrote:

>Sylvia Else <sylvia@email.invalid> wrote:
>
>>On 15/04/2019 3:54 am, Terry Pinnell wrote:
>>> Sylvia Else <sylvia@email.invalid> wrote:
>>> 
>>>> On 14/04/2019 12:15 am, 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
>>>>>
>>>>
>>>> You don't show the arrangements for powering the 4013,
>>> 
>>> I took it as understood that pins 14 and 7 were connected directly to +V
>>> and 0V respectively. My circuit problems would have been more serious
>>> otherwise ;-)
>>> 
>>>> and in
>>>> particular, avoiding spikes on Vcc induced in the wire to the relay
>>>> coil, and in the coil itself, both of which would be picking up
>>>> interference.
>>> 
>>> Do you mean something in addition to the two caps and usual protective
>>> diode?
>>> 
>>>> Although the transistor is off, there could be enough
>>>> capacitance around given how little current the 4013 draws when its
>>>> quiescent.
>>>>
>>>> Sylvia.
>>> 
>>> Terry, East Grinstead, UK
>>> 
>>So, pin 11 gets 15V minus diode-drop, but pin 14 gets 4V? That seems 
>>rather outside the maximum ratings. Apparently it hasn't killed the 4013 
>>outright, but who knows what it might have done.
>>
>>Sylvia.
>
>4V? It's 13.3V.
>
>See also my conversation with Jason.
>
>Terry, East Grinstead, UK

A kinda philosophical comment...

Running a wide open line any length at all, into a CMOS gate seems
like taking careful aim at your foot;   and blowing it away.

Use relays, big clunky electro-mechanical things, that are slow to
respond and take a few hundred milliamps to work.  Nothing less than a
nearby lightening strike will phase them.

Ditto transformers.  I had to run a data line to a remote location (1+
miles or so along cable runs, running mains power) I used some pulse
transformers, laid out the circuit board so there was no way the
grounds could talk to each other, big spaces on the circuit board and
ground traces between. so a lightening strike wouldn't arc across and
fry an input.  Separate power supplies, of course...  (But that was in
a laboratory and money was no object, and in the 70's computers cost
big bucks - a mainframe from HP - you-break--it-you-buy-it)

Think opto isolators... they are amazing for getting rid of ground
loops and noise and correctly applied are very fast (if you need data
rates in the MHZ range)

I have a driveway loop sensor some 200 feet from my house.  It has
power run to it from the house and gives me a relay contact closure
when it senses a car and that operates another relay in the house.  No
false alarms whatsoever.  For people detection there's a microwave
field disturbance sensor logically anded with a passive IR sensor. I
get about one false positive a year out of that.

The remote location has an earth ground with gas ionization-type
circuit protectors to shunt lightning to ground.

If you enjoy a challenge, or are dead-set to use what you have for
some less than rational reason, by all means run a line along the
ground and dirt into a CMOS input.  

I don't know what you have, but my first guess would be to eliminate
any possibility of ground loops.  Ground at the input side only.

Then I'd isolate the signal from the input to the CMOS gate.  If you
have unlimited power (a watt or so) at the signal source and aren't
running data lines, use relays.

Like folks suggesting Schmitt trigger IC's?  Relays have built in
hysterisis and are damn near bullet-proof.  And they are slow, takes
them thousandths of a second to work!  Relays have evolved too and
some special purpose ones do some pretty amazing things.

Choice two would be opto-isolators.

I donno if lightening is a concern, but that changes the whole ball
game.  Then you are designing for nothing less than bullet-proof, and
lines into CMOS IC's is verboten right from the get-go..

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


#539717

FromTerry Pinnell <me@somewhere.invalid>
Date2019-04-16 09:27 +0100
Message-ID<a43bbedfp4k21ljo76damdfmu8l4ehh01q@4ax.com>
In reply to#539661
default <default@defaulter.net> wrote:

>I'd isolate the signal from the input to the CMOS gate....use relays

Although having some negative practical downsides (like discarding the
case for a larger one) I might try that. I assume you simply mean taking
the noise-prone input to an NPN transistor driving a relay which then
switches +V (or a fraction of it) to the original relay driver? A sort
of mechanical, slower echo of the original?

--------------------
More trouble-shooting info:
This morning, when I switched on the shed workshop's mixture of
incandescent and fluorescent lights, the circuit toggled two or more
times. (I had added an LED so that I could see the status, and it came
on and stayed on, so an even number of spurious pulses.)

Terry, East Grinstead, UK

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


#539718

FromPiglet <erichpwagner@hotmail.com>
Date2019-04-16 09:41 +0100
Message-ID<q944f1$pe7$1@dont-email.me>
In reply to#539717
On 16/04/2019 09:27, Terry Pinnell wrote:
> default <default@defaulter.net> wrote:
>
>> I'd isolate the signal from the input to the CMOS gate....use relays
>
> Although having some negative practical downsides (like discarding the
> case for a larger one) I might try that. I assume you simply mean taking
> the noise-prone input to an NPN transistor driving a relay which then
> switches +V (or a fraction of it) to the original relay driver? A sort
> of mechanical, slower echo of the original?
>

Don't use a relay to directly clock the 4013 because the relay contacts 
will have bounce and cause multiple triggers so you'd be no better off 
as you'd need to clean up the relay contact bounce.

I think the suggestion was to use relays throughout, as in:

<https://www.dropbox.com/s/yvo7jmdhk506crm/RelayToggleFF.jpg?dl=0>

piglet

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


#539719

FromPiglet <erichpwagner@hotmail.com>
Date2019-04-16 10:10 +0100
Message-ID<q94670$39m$1@dont-email.me>
In reply to#539718
On 16/04/2019 09:41, Piglet wrote:
> On 16/04/2019 09:27, Terry Pinnell wrote:
>> default <default@defaulter.net> wrote:
>>
>>> I'd isolate the signal from the input to the CMOS gate....use relays
>>
>> Although having some negative practical downsides (like discarding the
>> case for a larger one) I might try that. I assume you simply mean taking
>> the noise-prone input to an NPN transistor driving a relay which then
>> switches +V (or a fraction of it) to the original relay driver? A sort
>> of mechanical, slower echo of the original?
>>
>
> Don't use a relay to directly clock the 4013 because the relay contacts
> will have bounce and cause multiple triggers so you'd be no better off
> as you'd need to clean up the relay contact bounce.
>
> I think the suggestion was to use relays throughout, as in:
>
> <https://www.dropbox.com/s/yvo7jmdhk506crm/RelayToggleFF.jpg?dl=0>
>
> piglet
>

If rebuilding from scratch is too painful an idea then you might be able 
to press the other half of the 4013 into making a crude level triggered 
monostable to clean up the trigger for the existing toggle. Here is a 
sketch:

<https://www.dropbox.com/s/2i6qpzpb4443sc0/TerryPinnel_Monostable.jpg?dl=0>

piglet

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


#539737

FromPiglet <erichpwagner@hotmail.com>
Date2019-04-16 14:01 +0100
Message-ID<q94jnq$mpc$1@dont-email.me>
In reply to#539719
On 16/04/2019 10:10, Piglet wrote:
> On 16/04/2019 09:41, Piglet wrote:
>> On 16/04/2019 09:27, Terry Pinnell wrote:
>>> default <default@defaulter.net> wrote:
>>>
>>>> I'd isolate the signal from the input to the CMOS gate....use relays
>>>
>>> Although having some negative practical downsides (like discarding the
>>> case for a larger one) I might try that. I assume you simply mean taking
>>> the noise-prone input to an NPN transistor driving a relay which then
>>> switches +V (or a fraction of it) to the original relay driver? A sort
>>> of mechanical, slower echo of the original?
>>>
>>
>> Don't use a relay to directly clock the 4013 because the relay contacts
>> will have bounce and cause multiple triggers so you'd be no better off
>> as you'd need to clean up the relay contact bounce.
>>
>> I think the suggestion was to use relays throughout, as in:
>>
>> <https://www.dropbox.com/s/yvo7jmdhk506crm/RelayToggleFF.jpg?dl=0>
>>
>> piglet
>>
>
> If rebuilding from scratch is too painful an idea then you might be able
> to press the other half of the 4013 into making a crude level triggered
> monostable to clean up the trigger for the existing toggle. Here is a
> sketch:
>
> <https://www.dropbox.com/s/2i6qpzpb4443sc0/TerryPinnel_Monostable.jpg?dl=0>
>
> piglet
>

As the poster "default" noted the clock cleanup doesn't have to be a 
monostable. Leads to further simplification:

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

The CP and D inputs can be tied to Vdd instead of Vss if that makes your 
layout easier.

piglet

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


#539780

FromTerry Pinnell <me@somewhere.invalid>
Date2019-04-16 19:11 +0100
Message-ID<ja6cbel7uuqtdm2bp8o9rm7n6sro87pfit@4ax.com>
In reply to#539737
Piglet <erichpwagner@hotmail.com> wrote:

>On 16/04/2019 10:10, Piglet wrote:
>> On 16/04/2019 09:41, Piglet wrote:
>>> On 16/04/2019 09:27, Terry Pinnell wrote:
>>>> default <default@defaulter.net> wrote:
>>>>
>>>>> I'd isolate the signal from the input to the CMOS gate....use relays
>>>>
>>>> Although having some negative practical downsides (like discarding the
>>>> case for a larger one) I might try that. I assume you simply mean taking
>>>> the noise-prone input to an NPN transistor driving a relay which then
>>>> switches +V (or a fraction of it) to the original relay driver? A sort
>>>> of mechanical, slower echo of the original?
>>>>
>>>
>>> Don't use a relay to directly clock the 4013 because the relay contacts
>>> will have bounce and cause multiple triggers so you'd be no better off
>>> as you'd need to clean up the relay contact bounce.
>>>
>>> I think the suggestion was to use relays throughout, as in:
>>>
>>> <https://www.dropbox.com/s/yvo7jmdhk506crm/RelayToggleFF.jpg?dl=0>
>>>
>>> piglet
>>>
>>
>> If rebuilding from scratch is too painful an idea then you might be able
>> to press the other half of the 4013 into making a crude level triggered
>> monostable to clean up the trigger for the existing toggle. Here is a
>> sketch:
>>
>> <https://www.dropbox.com/s/2i6qpzpb4443sc0/TerryPinnel_Monostable.jpg?dl=0>
>>
>> piglet
>>
>
>As the poster "default" noted the clock cleanup doesn't have to be a 
>monostable. Leads to further simplification:
>
><https://www.dropbox.com/s/5i5rww3jmpd35dk/TerryPinnell_Crisper.jpg?dl=0>
>
>The CP and D inputs can be tied to Vdd instead of Vss if that makes your 
>layout easier.
>
>piglet

Thanks for those. As mentioned in the last of my posts to Tom (10:55
today) I did originally try a mono. maybe I didn't filter it hard
enough.

I reckon the favourite will be as in that discussion with Tom, namely to
use the flip-flop already available at the lounge end. But first I'll
see what improvements can be made with some of the other suggestions,
starting with reconsidering my earthing. It's all a great learning
exercise ;-)

Terry, East Grinstead, UK

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


#539796

FromPiglet <erichpwagner@hotmail.com>
Date2019-04-16 21:52 +0100
Message-ID<q95f9k$60e$1@dont-email.me>
In reply to#539780
On 16/04/2019 19:11, Terry Pinnell wrote:
>
> Thanks for those. As mentioned in the last of my posts to Tom (10:55
> today) I did originally try a mono. maybe I didn't filter it hard
> enough.
>

Yes, I wonder if those monostables you didn't have luck with were edge 
triggered (triggers the clock input of a F/F) so you were essentially 
getting the same spike sensitivity you have been seeing that prompted 
the original question. Using a level sensitive input like Set or Reset 
preceded by heavy RC filtering ought to be much better.

piglet

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


#539848

FromJasen Betts <jasen@xnet.co.nz>
Date2019-04-17 07:51 +0000
Message-ID<q96lub$kdt$2@gonzo.revmaps.no-ip.org>
In reply to#539737
On 2019-04-16, Piglet <erichpwagner@hotmail.com> wrote:
> On 16/04/2019 10:10, Piglet wrote:
>> On 16/04/2019 09:41, Piglet wrote:
>>> On 16/04/2019 09:27, Terry Pinnell wrote:
>>>> default <default@defaulter.net> wrote:
>>>>
>>>>> I'd isolate the signal from the input to the CMOS gate....use relays
>>>>
>>>> Although having some negative practical downsides (like discarding the
>>>> case for a larger one) I might try that. I assume you simply mean taking
>>>> the noise-prone input to an NPN transistor driving a relay which then
>>>> switches +V (or a fraction of it) to the original relay driver? A sort
>>>> of mechanical, slower echo of the original?
>>>>
>>>
>>> Don't use a relay to directly clock the 4013 because the relay contacts
>>> will have bounce and cause multiple triggers so you'd be no better off
>>> as you'd need to clean up the relay contact bounce.
>>>
>>> I think the suggestion was to use relays throughout, as in:
>>>
>>> <https://www.dropbox.com/s/yvo7jmdhk506crm/RelayToggleFF.jpg?dl=0>
>>>
>>> piglet
>>>
>>
>> If rebuilding from scratch is too painful an idea then you might be able
>> to press the other half of the 4013 into making a crude level triggered
>> monostable to clean up the trigger for the existing toggle. Here is a
>> sketch:
>>
>> <https://www.dropbox.com/s/2i6qpzpb4443sc0/TerryPinnel_Monostable.jpg?dl=0>
>>
>> piglet
>>
>
> As the poster "default" noted the clock cleanup doesn't have to be a 
> monostable. Leads to further simplification:
>
><https://www.dropbox.com/s/5i5rww3jmpd35dk/TerryPinnell_Crisper.jpg?dl=0>
>
> The CP and D inputs can be tied to Vdd instead of Vss if that makes your 
> layout easier.

add 100K between Q and S for extra crispness.


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

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


#539914

FromPiglet <erichpwagner@hotmail.com>
Date2019-04-17 21:02 +0100
Message-ID<q980o6$1bo$1@dont-email.me>
In reply to#539848
On 17/04/2019 08:51, Jasen Betts wrote:
> On 2019-04-16, Piglet <erichpwagner@hotmail.com> wrote:
>> On 16/04/2019 10:10, Piglet wrote:
>>> On 16/04/2019 09:41, Piglet wrote:
>>>> On 16/04/2019 09:27, Terry Pinnell wrote:
>>>>> default <default@defaulter.net> wrote:
>>>>>
>>>>>> I'd isolate the signal from the input to the CMOS gate....use relays
>>>>>
>>>>> Although having some negative practical downsides (like discarding the
>>>>> case for a larger one) I might try that. I assume you simply mean taking
>>>>> the noise-prone input to an NPN transistor driving a relay which then
>>>>> switches +V (or a fraction of it) to the original relay driver? A sort
>>>>> of mechanical, slower echo of the original?
>>>>>
>>>>
>>>> Don't use a relay to directly clock the 4013 because the relay contacts
>>>> will have bounce and cause multiple triggers so you'd be no better off
>>>> as you'd need to clean up the relay contact bounce.
>>>>
>>>> I think the suggestion was to use relays throughout, as in:
>>>>
>>>> <https://www.dropbox.com/s/yvo7jmdhk506crm/RelayToggleFF.jpg?dl=0>
>>>>
>>>> piglet
>>>>
>>>
>>> If rebuilding from scratch is too painful an idea then you might be able
>>> to press the other half of the 4013 into making a crude level triggered
>>> monostable to clean up the trigger for the existing toggle. Here is a
>>> sketch:
>>>
>>> <https://www.dropbox.com/s/2i6qpzpb4443sc0/TerryPinnel_Monostable.jpg?dl=0>
>>>
>>> piglet
>>>
>>
>> As the poster "default" noted the clock cleanup doesn't have to be a
>> monostable. Leads to further simplification:
>>
>> <https://www.dropbox.com/s/5i5rww3jmpd35dk/TerryPinnell_Crisper.jpg?dl=0>
>>
>> The CP and D inputs can be tied to Vdd instead of Vss if that makes your
>> layout easier.
>
> add 100K between Q and S for extra crispness.
>
>

+1

Added crunch always good

piglet

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


#539734

Fromdefault <default@defaulter.net>
Date2019-04-16 08:08 -0400
Message-ID<hpebbepqe6gtl6kmdkpuha0huud4lnppc2@4ax.com>
In reply to#539717
On Tue, 16 Apr 2019 09:27:30 +0100, Terry Pinnell
<me@somewhere.invalid> wrote:

>default <default@defaulter.net> wrote:
>
>>I'd isolate the signal from the input to the CMOS gate....use relays
>
>Although having some negative practical downsides (like discarding the
>case for a larger one) I might try that. I assume you simply mean taking
>the noise-prone input to an NPN transistor driving a relay which then
>switches +V (or a fraction of it) to the original relay driver? A sort
>of mechanical, slower echo of the original?
>
I think just the input transistor might be workable solution.  Why not
jury rig something first?  That would reverse signal polarity... The
immediate gain is you aren't inputting to a device that works on
microamps or less.  (specified at Point One microamp maximum at 25
degrees C)

The 4013 should have it's unused inputs tied to ground assuming the
other half isn't used for anything.  If you didn't already know
that...  

Check out:
http://www.discovercircuits.com/PDF-FILES/4013oneshots.PDF

Notice the .1 microfarad and 100K series input and placement of the
10K....  

Like someone has already noted, contact bounce is a problem inherent
in any dry contact closure, so you may encounter that with a relay
save something like a mercury-wetted reed relay.  With contact bounce
at the input to the flip flop it would change states very fast and
several times, the last state it settled on would be random.


>--------------------
>More trouble-shooting info:
>This morning, when I switched on the shed workshop's mixture of
>incandescent and fluorescent lights, the circuit toggled two or more
>times. (I had added an LED so that I could see the status, and it came
>on and stayed on, so an even number of spurious pulses.)
>
>Terry, East Grinstead, UK

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


#539835

FromJohnny B Good <johnny-b-good@invalid.ntlworld.com>
Date2019-04-17 04:22 +0000
Message-ID<DSxtE.88685$SH1.88591@fx03.am4>
In reply to#539734
On Tue, 16 Apr 2019 08:08:02 -0400, default wrote:

> On Tue, 16 Apr 2019 09:27:30 +0100, Terry Pinnell <me@somewhere.invalid>
> wrote:
> 
>>default <default@defaulter.net> wrote:
>>
>>>I'd isolate the signal from the input to the CMOS gate....use relays
>>
>>Although having some negative practical downsides (like discarding the
>>case for a larger one) I might try that. I assume you simply mean taking
>>the noise-prone input to an NPN transistor driving a relay which then
>>switches +V (or a fraction of it) to the original relay driver? A sort
>>of mechanical, slower echo of the original?
>>
> I think just the input transistor might be workable solution.  Why not
> jury rig something first?  That would reverse signal polarity... The
> immediate gain is you aren't inputting to a device that works on
> microamps or less.  (specified at Point One microamp maximum at 25
> degrees C)
> 
> The 4013 should have it's unused inputs tied to ground assuming the
> other half isn't used for anything.  If you didn't already know that...
> 
> Check out:
> http://www.discovercircuits.com/PDF-FILES/4013oneshots.PDF
> 
> Notice the .1 microfarad and 100K series input and placement of the
> 10K....
> 
> Like someone has already noted, contact bounce is a problem inherent in
> any dry contact closure, so you may encounter that with a relay save
> something like a mercury-wetted reed relay.  With contact bounce at the
> input to the flip flop it would change states very fast and several
> times, the last state it settled on would be random.
>
 
 A rather neat way of solving mechanical switch contact bounce is to use 
a single pole break before make changeover switch (or even a centre off 
biassed c/o switch) with a non inverting buffer (a pair of not gates 
cascaded will do the job, nor nand or schmit triggered inverters or 
whatever is handy for the task).

 You need to wire the side contacts to the Vss and Vdd supply level 
voltages and connect the common pole contact to both the input and output 
of your non inverting buffer which drives the relay switching transistor.

 The short circuit on the buffer's output won't cause any harm during the 
brief 10 to 20 ns transition to the input logic state as it latches 
itself to match the switch state (or the last state if using a centre off 
biassed switch), neatly eliminating the effect of switch contact bounce.

 If you're using seperate PSUs at each end, make sure to use the lower 
voltage one for the switch connections and definitely only have a single 
point of connection to your local ground reference.

 If you're relying on a remote receiver to send a toggling pulse, you can 
relocate the existing 4013 bistable to the remote Rx unit, add a 74HC14 
with all six inverters paralleled up as a stand in for the switch and use 
two of the inverters in another 74HC14 now taking the place of the 
bistable latch to debounce and self latch the on/off signal now being 
issued from the remote controller end of your circuit.

 However, I suspect all you really need in this case is simply to 
relocate the the bistable to the remote controller Rx and forget the 
debounce self latching non inverter buffer idea altogether. The low 
output impedance of the bistable chip will provide considerably more 
immunity against interference on that 60 feet of control line (but only 
if there's just a single connection point to ground in your circuit).

-- 
Johnny B Good

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


#539418

FromRobert Baer <robertbaer@localnet.com>
Date2019-04-13 22:43 -0800
Message-ID<kMzsE.146978$zm.78920@fx09.iad>
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
> 
> 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
> 
  Put a 20K resistor in series with the input diode, right at the diode.


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

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


#539532

FromTerry Pinnell <me@somewhere.invalid>
Date2019-04-14 19:06 +0100
Message-ID<cjt6be1i63r90vpo6mh82vkat0s7o2lt8p@4ax.com>
In reply to#539418
Robert Baer <robertbaer@localnet.com> wrote:

>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
>> 
>  Put a 20K resistor in series with the input diode, right at the diode.

Thanks, will try that.

Terry, East Grinstead, UK

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


#539422

Frombitrex <user@example.net>
Date2019-04-14 03:09 -0400
Message-ID<h0BsE.374749$Y49.338899@fx46.iad>
In reply to#539301
On 4/13/19 10:15 AM, 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
> 

a general idea: a debounce circuit (if controlled by a push button), 
followed by a latch on the receive side and a latch on the send side; 
the send-side latch is latched by a feedback signal from the second 
latch on the relay side (maybe with a bit of delay) to confirm that it's 
engaged. Use local power supplies, do the 60' run with shielded twisted 
pair and optocouplers to reject interference and ground loop probs.

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

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


Page 2 of 4 — ← Prev page 1 [2] 3 4  Next page →

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


csiph-web