I have a long, clean positive pulse (hours in duration). How can I get two *separate* 10 ms +ve pulses from the leading and trailing edges please?
A simple RC differentiator (of appropriate polarity) would be the obvious solution if I only wanted one or the other. But I can't figure out how to get *both*, as separate signals.
FWIW, I want to take these pulses to the Set and Reset pins of a 4013.
Terry, Too late at night here to think through the details, but in general, a simple way to do what you want is as follows (example):
Feed the input signal through a resistor to the input of an inverter, with a cap to ground on the input pin of the inverter. The output of the inverter will then be a somewhat delayed, inverted form of the original input pulse. If you then take the original input signal and the output of the inverter, and connect them to the 2 inputs of an AND gate, then the output of the AND will be a positive pulse, with duration determined by the time constant (order of R*C) of the R and C you used.
The negative edge can also be obtained easily with a similar approach, just inverting the various signals as required. It can all be done with your
4001s.
Maybe someone where it isn't way after midnight might care to expand.
If you want to get a similar output regardless of the transition direction, delay the signal with an RC and combine it with the original with an exclusive or gate. The RC time constant determines the edge generated pulse width.
You could use a 4528 or 4538 dual monostable. One setup for pos edge trigger and the other for neg edge trigger. Set the pulse widths with
2 RC networks and select which outputs, Qs or not Qs, you want to use.
Mike
------------------------------------------------------------------------ The odds of a single modest length protein randomly forming is approx
1 in 10^260. By comparison the number atoms in the known universe has been estimated at 10^80 atoms. Figues are from the writings of Nobel Prize winner Francis Crick in 1981.
I feel 555 can not be used in the monostable mode. It is agreed that the trigger by the falling edge will actuate the monostable but since the trigger pulse is in hours and we require output pulse width in msec, the trigger should have returned to its hight state before the
1.1x(RC) secs, which is the on time for the ouput pulse. If not the output pulse remains high. So for monostable operation the negative trigger pulse width should be less than 1.1x(RC) secs.
He has a signal which periodically changes state, and when it goes high he wants to SET what amounts to an RS flip-flop. Then when his signal goes low he wants to RESET the flip-flop.
All that's necessary to do to drive 555's with that is to invert the input signal, differentiate the falling edges of both the incident ind inverted signals, and use those low-going spikes to drive 555''s with 10ms timeouts. However, as you noted, the spikes will need to return to >= 2/3 Vcc before the 555's time out.
Thanks guys, much appreciate all the replies. Some neat ideas to follow up there.
But even while composing my OP it was nagging away at me that I'd asked essentially the same question before. Further digging this morning turned it up: news: snipped-for-privacy@4ax.com Subject: 2 pulses from 1 Date: Mon, 28 Feb 2005
Premature senility aside, I'm guessing that the reason it had slipped my mind was that, although I had two great solutions from Fred Bartoli and Fred Bloggs, I'd managed to come up with something trivially simple myself that seemed to do the job. In fact, then and now, I'd ignored the obvious: simply invert one of the inputs and use a vanilla RC differentiator on each.
This was the circuit I used then.
formatting link
I'm pretty sure that was what I implemented, and the gadget has been working OK in the 16 months or so since.
The key difference *this* time is that I hope to feed these +ve pulses (or squared up versions of them) not to a 4001 bistable but to a 4013, as mentioned.
I haven't got around to that stage yet, so would welcome any feedback
- especially if my idea is a non-starter. I want the 4013 to achieve the following 3 things:
+ve pulse A to Set pin 8 always sets or keeps 4013 output high.
+ve pulse B to Reset pin 10 always resets or keeps 4013 output low.
A +ve pulse T (from another source) to Clock pin 3 always toggles the 4013 output.
For background, the practical application is a garden lights controller for my son. At present the lights have an on/off switch inconveniently located in his shed/garage at the bottom of the rear garden. My unit should
- Switch (or keep) the lights on at dusk
- Switch (or keep) the lights off at dawn
- Toggle the lights on or off at any time from a radio signal from the house, improvised from a wireless doorbell adapter.
Um, if that's all that you want to do (turn the garden lights on at night, and turn them off at sunrise), wouldn't a simple photocell do the job? Something like this:
--
My take on it was that he wanted the rising edge of his input signal
to generate a spike which lasted for 10ms and was sent to the SET
input of his RS latch, and then, when his input signal went low, he
wanted that edge to generate a spike which would RESET his latch.
JP: I thought my carefully-worded opening sentence was clear enough: "I have a long, clean positive pulse (hours in duration). How can I get two *separate* 10 ms +ve pulses from the leading and trailing edges."
--
Terry Pinnell
Hobbyist, West Sussex, UK
please?
Hi Terry, I posted a simular question on 1-08-06 on this group. Under the subject >Generating start and end pulse< I put the circuit below together and it worked perfectly. Many thanks to Ken Smith. Sorry I don't recall component values, but an archive search should find some values. Mike
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.