Author Topic: searching for a reliable circuit  (Read 1252 times)

0 Members and 1 Guest are viewing this topic.

Offline LaserTazerPhaserTopic starter

  • Regular Contributor
  • *
  • Posts: 203
  • Country: us
searching for a reliable circuit
« on: March 09, 2019, 08:31:42 am »
What would be a reliable circuit without the need of programming a micro which would output a signal which is high when the input is high but goes low and stays low after the input goes low once and does not go high again even if the input goes high?

The input signal would be many minutes to hours.

These things can be done easily for short durations but long durations needs practical experience because since components can vary.
 

Offline Dubbie

  • Supporter
  • ****
  • Posts: 1115
  • Country: nz
searching for a reliable circuit
« Reply #1 on: March 09, 2019, 09:13:12 am »
Could use an active low latch and hook up to the q bar output. Just one small component.
« Last Edit: March 09, 2019, 09:15:27 am by Dubbie »
 

Offline soldar

  • Super Contributor
  • ***
  • Posts: 3158
  • Country: es
Re: searching for a reliable circuit
« Reply #2 on: March 09, 2019, 09:15:41 am »
A simple flip-flop will do that.  https://en.wikipedia.org/wiki/Flip-flop_(electronics)
All my posts are made with 100% recycled electrons and bare traces of grey matter.
 

Offline LaserTazerPhaserTopic starter

  • Regular Contributor
  • *
  • Posts: 203
  • Country: us
Re: searching for a reliable circuit
« Reply #3 on: March 09, 2019, 08:41:31 pm »
as in a 4013 latch?
 

Offline IanB

  • Super Contributor
  • ***
  • Posts: 11891
  • Country: us
Re: searching for a reliable circuit
« Reply #4 on: March 09, 2019, 08:51:26 pm »
A single AND gate will do that, or a relay if you want a mechanical solution. A circuit like this is used all the time for the "push to start, push to stop" switching arrangement on machinery. (If you push the red button momentarily the machine will stop, and it won't start again until you push the green button.)
 

Offline Dubbie

  • Supporter
  • ****
  • Posts: 1115
  • Country: nz
Re: searching for a reliable circuit
« Reply #5 on: March 09, 2019, 10:43:20 pm »
How can you use a single and gate Ian? I can’t figure out how you would latch it so it can’t activate again.
 

Offline IanB

  • Super Contributor
  • ***
  • Posts: 11891
  • Country: us
Re: searching for a reliable circuit
« Reply #6 on: March 09, 2019, 11:44:46 pm »
How can you use a single and gate Ian? I can’t figure out how you would latch it so it can’t activate again.

You take a two input AND gate and feed the output back to the second input. Then as long as the first input is high, the output will be high. If the first input goes low the output will go low, taking the second input low. Thereafter, even if you raise the first input high again the output will remain low since the gate will only see one high input.

Of course, the output will never be high in the first place unless you reset it externally. Therefore all such latching circuits need a reset switch to enable them. To reset the AND gate all that is needed is to momentarily set the output high and then it will stay there.
 

Offline Dubbie

  • Supporter
  • ****
  • Posts: 1115
  • Country: nz
searching for a reliable circuit
« Reply #7 on: March 09, 2019, 11:46:15 pm »
Thanks.
Logic is not my strong suit. Of course it seems trivially obvious when you spell it out!
« Last Edit: March 09, 2019, 11:47:50 pm by Dubbie »
 
The following users thanked this post: LaserTazerPhaser

Offline LaserTazerPhaserTopic starter

  • Regular Contributor
  • *
  • Posts: 203
  • Country: us
Re: searching for a reliable circuit
« Reply #8 on: March 11, 2019, 03:16:14 am »
How can you use a single and gate Ian? I can’t figure out how you would latch it so it can’t activate again.

You take a two input AND gate and feed the output back to the second input. Then as long as the first input is high, the output will be high. If the first input goes low the output will go low, taking the second input low. Thereafter, even if you raise the first input high again the output will remain low since the gate will only see one high input.

Of course, the output will never be high in the first place unless you reset it externally. Therefore all such latching circuits need a reset switch to enable them. To reset the AND gate all that is needed is to momentarily set the output high and then it will stay there.
This?
 

Online Ian.M

  • Super Contributor
  • ***
  • Posts: 12860
Re: searching for a reliable circuit
« Reply #9 on: March 11, 2019, 05:10:48 am »
Not quite.  You still need to be able to drag pin 2 high to initially set the output if it happens to power up with its output low, so put a resistor in the feedback loop. and a momentary switch from pin 2  to Vcc.

However if you want to automate setting the output at powerup it gets more complex . . .

Also, there's a flaw in your original spec.  It doesn't specify whether or not the output should be high if the input has been low since powerup.
« Last Edit: March 11, 2019, 05:21:05 am by Ian.M »
 

Offline hamster_nz

  • Super Contributor
  • ***
  • Posts: 2803
  • Country: nz
Re: searching for a reliable circuit
« Reply #10 on: March 11, 2019, 05:46:57 am »
A dual pole relay can do this, and is often used this way in industrial machinery where safety is critical.
Gaze not into the abyss, lest you become recognized as an abyss domain expert, and they expect you keep gazing into the damn thing.
 

Offline Dubbie

  • Supporter
  • ****
  • Posts: 1115
  • Country: nz
Re: searching for a reliable circuit
« Reply #11 on: March 11, 2019, 05:50:21 am »
Lol blueskull. No half measures for you!
 

Offline soldar

  • Super Contributor
  • ***
  • Posts: 3158
  • Country: es
Re: searching for a reliable circuit
« Reply #12 on: March 11, 2019, 07:03:32 am »
A single AND gate will do that, or a relay if you want a mechanical solution. A circuit like this is used all the time for the "push to start, push to stop" switching arrangement on machinery. (If you push the red button momentarily the machine will stop, and it won't start again until you push the green button.)
This circuit will do that.
All my posts are made with 100% recycled electrons and bare traces of grey matter.
 

Offline magic

  • Super Contributor
  • ***
  • Posts: 6779
  • Country: pl
Re: searching for a reliable circuit
« Reply #13 on: March 11, 2019, 07:46:43 am »
I suppose a thyristor would do and wouldn't require a reset after power-up.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf