Previous in Forum: Use of Matched Transistors   Next in Forum: SMART Type - HART Compatible Instruments
Close
Close
Close
22 comments
Rate Comments: Nested
Member

Join Date: May 2010
Posts: 6

Pulse Circuit Needed

05/26/2010 9:24 PM

I need a simple circuit that will generate two 1 second pulses when triggered. Would like to power from 6-9 volts. Also, I need another circuit that will generate three 1 second pulses when triggered.

Any thoughts??

Thanks in advance,

David

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

Good Answers:

These comments received enough positive votes to make them "good answers".

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Guru
Engineering Fields - Electrical Engineering - Been there, done that. Engineering Fields - Control Engineering - New Member

Join Date: Dec 2008
Location: Long Island NY
Posts: 15600
Good Answers: 981
#1

Re: Pulse Circuit Needed

05/26/2010 10:05 PM

Plenty of ideas. But first you will have to clarify your output signals a little better. Like how wide of a pulse width do you want to happen that is spaced one second apart? How precisely do all of the values have to be? Since you haven't specified anything but the 1 second interval, let me offer the perennial 555/556 timer circuit collection as an initial answer. You'll also find a nice collection of cookbooks for this popular chip.

Oh it also works quite well with the atypical supply voltage range you mentioned.

__________________
"Don't disturb my circles." translation of Archimedes last words
Register to Reply
Member

Join Date: May 2010
Posts: 6
#2
In reply to #1

Re: Pulse Circuit Needed

05/26/2010 10:36 PM

I am looking for a circuit to pulse a lamp dimmer circuit. I want them to turn on with half or 1/3 brightness, thus the initial pulses. Timing accuracy is not important at all. I would think 1/2 second pulses spaced 1/2 second apart would be adequate. I was hoping that you would recommend the 555 timer. I just don't know of an easy way to generate on 2 pulses or 3 pulses.

Thanks for your comments.

David

Register to Reply
Guru
Engineering Fields - Electrical Engineering - Been there, done that. Engineering Fields - Control Engineering - New Member

Join Date: Dec 2008
Location: Long Island NY
Posts: 15600
Good Answers: 981
#3
In reply to #2

Re: Pulse Circuit Needed

05/26/2010 11:25 PM

Well as you point out, your timing precision will be easily met by a 555 timer circuit. So now you need a circuit that can count to two or three to turn the clock circuit off. I wonder if any of the cookbooks has a circuit that can count?

__________________
"Don't disturb my circles." translation of Archimedes last words
Register to Reply Score 1 for Good Answer
Guru
Hobbies - DIY Welding - Don't Know What Made The Old Title Attractive... Popular Science - Weaponology - New Member United States - US - Statue of Liberty - 60 Year Member

Join Date: Apr 2009
Location: Yellowstone Valley, in Big Sky Country
Posts: 7425
Good Answers: 295
#5
In reply to #3

Re: Pulse Circuit Needed

05/27/2010 9:55 AM

Good morning redfred.

After reading your two responses here, I checked the CR4 FAQ and found "Good answer votes should be given only to comments that provide a valuable technical contribution".

You have done exactly that here, and I vote 'Good Answer'. Nicely done.

CR4 member babybear does not come around too often, and I miss watching his gentle paw guide people down the path to better understanding and clearer thinking. He has some big shoes to fill, but you seem to be filling them very well.

__________________
Semper Ubi Sub Ubi
Register to Reply
Guru
Engineering Fields - Electrical Engineering - Been there, done that. Engineering Fields - Control Engineering - New Member

Join Date: Dec 2008
Location: Long Island NY
Posts: 15600
Good Answers: 981
#6
In reply to #5

Re: Pulse Circuit Needed

05/27/2010 10:16 AM

Thank You, I appreciate that compliment.

I miss babybear, too. I hope that he's well. I suspect and hope that he will one day return.

__________________
"Don't disturb my circles." translation of Archimedes last words
Register to Reply Off Topic (Score 5)
Guru
Engineering Fields - Electrical Engineering - Analog and Digital Circuit Design Engineering Fields - Electromechanical Engineering - Transformers, Motors & Drives, EM Launchers Engineering Fields - Engineering Physics - Applied Electrical, Optical, and Mechanical

Join Date: Jan 2008
Location: NY
Posts: 1207
Good Answers: 119
#4

Re: Pulse Circuit Needed

05/27/2010 2:56 AM

I've used this part to perform similar functions.

http://www.kpsec.freeuk.com/components/cmos.htm#4060

It should be able to provide the pulses you require.

Register to Reply
2
Guru
Hobbies - Musician - New Member Greece - Member - New Member

Join Date: Mar 2007
Location: Greece / Athens
Posts: 722
Good Answers: 28
#7

Re: Pulse Circuit Needed

05/28/2010 5:28 AM

Hi dahoneycutt.

Here is a very simple circuit that I had designed a long time ago for the testing needs of a system.

At IN you give the trigger pulse (i.e. a small positive pulse). At A you get the first pulse. At B you get the second pulse. At OUT you get the 2 pulses in sequence.

Probably you can't read the component values in the picture so here they are:

Caps from left to right: 1μF, 100nF, 1μF, 100nF.

Res from left to right: 2M7, trimmer 1M (it determines the 1st pulse duration), trimmer 1M (it determines the space duration between the 2 pulses), trimmer 1M (it determines the 2nd pulse duration).

Diodes: -e.g.- 1N4148 (all)

Probably you'll need big trimmer values (of several Mohms), especially for the the 2nd trimmer (in the case that you need a large space duration between the 2 pulses). (Alternatively, you can increase the caps values -if needed- in order to get smaller res values.)

(Note that the [res & diode] of the network at the 2nd NOT input are connected to +5V (not to gnd). It's not clear in the picture.)

In the case that you need 3 pulses in sequence just repeat the part included in the dashed line (in series with the output). At the new output you'll get the initial 2 pulses (of the initial circuit) followed by a 3rd pulse (generated by the additional part).

Sorry for the low resolution of the picture. If you have any question just ask.

__________________
George
Register to Reply Good Answer (Score 2)
Guru
Hobbies - Musician - New Member Greece - Member - New Member

Join Date: Mar 2007
Location: Greece / Athens
Posts: 722
Good Answers: 28
#8
In reply to #7

Re: Pulse Circuit Needed

05/28/2010 10:53 AM

Additional info: After reading your post #2 I suggest you just to put the value of 1μF (or 10μF) for all caps of the circuit. [In my application I wanted to get two small sequential pulses (and that's why I putted 100nF) with a distance between them of 1sec.] Then you can "play" with the resistors' values (i.e. by trimming).

You can use a small linear regulator (e.g. 78L05) in order to get the 5V and power this circuit. And don't forget to place decoupling caps (100nF) close to the ICs.

__________________
George
Register to Reply
Member

Join Date: May 2010
Posts: 6
#9
In reply to #8

Re: Pulse Circuit Needed

05/28/2010 7:31 PM

Thank you ... this looks like just what I need. I will breadboard it this weekend.

David

Register to Reply
Guru
Hobbies - Musician - New Member Greece - Member - New Member

Join Date: Mar 2007
Location: Greece / Athens
Posts: 722
Good Answers: 28
#10
In reply to #9

Re: Pulse Circuit Needed

05/31/2010 5:16 AM

I suggest you to use "Schmitt Trigger NOT" (i.e. an 74HC14 instead of an 74HC04) due to the slow charging/decharging time durations (1sec) of the caps. In this way, there will be no "bouncing" at the moment where a NOT changes the state of its output.

The circuit is simple and it uses (essentially) just one chip, i.e. an 74HC14 (which contains 6 gates). [Just consider that the OR gate could be replaced by [two diodes and a pull down resistor] in an "ORing connection" . So, you use just one 74HC14 for the "two pulses generator" (and two 74HC14 for the "three pulses generator") ]

__________________
George
Register to Reply
Power-User
Hobbies - Musician - guitar fan Greece - Member - Engineering Fields - Software Engineering -

Join Date: Jul 2007
Location: Athens, Greece
Posts: 256
Good Answers: 18
#11
In reply to #7

Re: Pulse Circuit Needed

06/01/2010 6:36 AM

You got a G.A. from me. This is the simplicity of analog electronics.

But just as I'm away from this field, I was considering whether one could use a 555 and a counter or even a shift register and "program" not only two or three but as many pulses as he wishes, by manipulating some switches that initialize the counter. It's certainly more complicated, but also more flexible to changes. I wonder, what will be the use of such a device, so I drop this idea too. What do you think G.K.?

__________________
tkot
Register to Reply
Guru
Hobbies - Musician - New Member Greece - Member - New Member

Join Date: Mar 2007
Location: Greece / Athens
Posts: 722
Good Answers: 28
#12
In reply to #11

Re: Pulse Circuit Needed

06/01/2010 9:23 AM

Yes tkot. Redfred presented this idea (555 & counter) in his post #3. By using (e.g.) the 74HC4060 you can have 1 to 12 sequential pulses (by just selecting the proper counter's output that will stop the operation of 555).

A shift register (taking its clock by an e.g. 555) could, also, do the job by having 1 & 0 alternatively to some of its parallel inputs (e.g. 74HC165 could give 1 to 4 sequential pulses). However, in this case, you don't have variable duration of the pulses and their separation.

Which solution is better (concerning the number of chips needed for my solution and the [555 & counter] solution) depends on the number of pulses. E.g. in the case of 2 pulses I need just 1 chip (better) while in the case of 4 pulses I need 3 chips (worse). If multiple outputs are needed the [555 & counter] solution is better than mine for more than 4 outputs (out1:2 pulses, out2:3 pulses, out3: 4 pulses, out4: 5 pulses): I need 4 chips while the other solution needs 3 chips (i.e. 2 dual timers 556 and 1 counter).

Of course the more "universal" (and more expensive) solution is to use a small PIC controller which could give you multiple outputs of several sequential pulses with variable durations by just using the proper software.

__________________
George
Register to Reply
Guru
Engineering Fields - Electrical Engineering - Analog and Digital Circuit Design Engineering Fields - Electromechanical Engineering - Transformers, Motors & Drives, EM Launchers Engineering Fields - Engineering Physics - Applied Electrical, Optical, and Mechanical

Join Date: Jan 2008
Location: NY
Posts: 1207
Good Answers: 119
#13
In reply to #12

Re: Pulse Circuit Needed

06/01/2010 10:47 AM

The CD4060 was suggested in post #4. Quick review of the data sheet shows that the CD4060s built-in oscillator and numerous divide-by-2 outputs can be used as a gated pulse generator. Another viable option would be the CD4017 and an external oscillator.

_________________________________________________________________________

"Give someone a fish and you feed them for a day. Teach someone to fish and you feed them for a lifetime."

Register to Reply
Guru
Hobbies - Musician - New Member Greece - Member - New Member

Join Date: Mar 2007
Location: Greece / Athens
Posts: 722
Good Answers: 28
#15
In reply to #13

Re: Pulse Circuit Needed

06/01/2010 12:19 PM

My apologies: I didn't remember that the 4060 has a built-in oscillator. In fact, in my previous post, I meant 4040 (and not 4060) as it has 12 outputs... Just a small correction...

You could use one of 4060 outputs to reset (i.e. stop) the chip itshelf. However you can't use it for this kind of application. Remember that we want a sequence of 2 or 3 or 4 or ... pulses. As the outputs of a counter (e.g. 4060) are divided by 2, using one of these outputs to "stop" the chip will give you an even number of pulses (at its output Q4) i.e. you can get 2 or 4 or 8... pulses. You can't get (e.g.) 3 pulses.

So I have, also, to reconsider my previous post (i.e. to "improve" Redfred's suggestion): The proper solution is a [555 & shift register] (instead of [555 & counter]). You can use (e.g.) the 74HC194: you "fill" its outputs with 1 in every clock pulse. Then you can use one of these outputs to "stop" the 555. That's the proper way (just to be accurate).

[Moreover the use of a 555 gives you more "flexibility": you can have variable pulses duration.]

__________________
George
Register to Reply
Guru
Engineering Fields - Electrical Engineering - Analog and Digital Circuit Design Engineering Fields - Electromechanical Engineering - Transformers, Motors & Drives, EM Launchers Engineering Fields - Engineering Physics - Applied Electrical, Optical, and Mechanical

Join Date: Jan 2008
Location: NY
Posts: 1207
Good Answers: 119
#16
In reply to #15

Re: Pulse Circuit Needed

06/01/2010 1:05 PM

No apologies necessary, no offense taken

"Single" chip solution to get 2 and 3 pulses is not easy. PIC micro (like the tiny 8-pin soic version) would work great, but cost would be higher and the effort requires some programming skills and tools. Obviously the CD4060 will not do 3 pulses without an extra logic gate. Two chip hardware solution (analog, digital, or combo) is fairly easy. Oscillator(555) and counter(or shift register), or counter with extra logic gate can get the job done per OPs request.

Whenever possible, I prefer to guide towards answers instead of just handing them out. The learning experience can be more rewarding than the end result.

Register to Reply
Guru
Hobbies - Musician - New Member Greece - Member - New Member

Join Date: Mar 2007
Location: Greece / Athens
Posts: 722
Good Answers: 28
#17
In reply to #16

Re: Pulse Circuit Needed

06/02/2010 11:08 AM

Whenever possible, I prefer to guide towards answers instead of just handing them out. The learning experience can be more rewarding than the end result.

I tottaly agree with you. Especially in the case of a class: The teachers must not just provide knowledge to their students. They, also, have to "learn them how to learn" and guide them to find the answers and solutions by themselves. This is the appropriate way of teaching.

(However -in CR4- sometimes it's easier just to give a clear solution rather than trying to guide another guy to a solution.)

__________________
George
Register to Reply
Member

Join Date: May 2010
Posts: 6
#18
In reply to #17

Re: Pulse Circuit Needed

06/02/2010 6:45 PM

GK... could you email the circuit to me. Hard to read and print from this post.

Thanks to all for the ideas and comments.

David

Register to Reply
Guru
Hobbies - Musician - New Member Greece - Member - New Member

Join Date: Mar 2007
Location: Greece / Athens
Posts: 722
Good Answers: 28
#19
In reply to #18

Re: Pulse Circuit Needed

06/03/2010 3:54 AM

Let me know your email address and I'll sent this picture to you via an email. It will be much clearer. Otherwise you'll have to make the drawing again by yourself .(Probably you'll have to do this anyway, if you want a really clear drawing).

However, I think that you can distinguish the several elements even from the poor picture of the post. As I've allready told you, I suggest you to use 74HC14 and 10μF caps (prefer ceramic caps) and 1Mohm multiturn trimmers. When you obtain (by trimming) the proper signals at the output then you can measure the trimmers' values and replace them with fixed resistors. And, of course, you can "extend" this circuit (by repeating the subcircuit included in the dashed line) to get two outputs (one for "2 pulses" and the other for "3 pulses"). Don't forget to put 100nF dec caps close to the chip(s) Vcc pin. Finally, don't forget to connect the inputs of the unused gates of the chip(s) to gnd.

__________________
George
Register to Reply Off Topic (Score 5)
Guru
Engineering Fields - Electrical Engineering - Analog and Digital Circuit Design Engineering Fields - Electromechanical Engineering - Transformers, Motors & Drives, EM Launchers Engineering Fields - Engineering Physics - Applied Electrical, Optical, and Mechanical

Join Date: Jan 2008
Location: NY
Posts: 1207
Good Answers: 119
#20
In reply to #18

Re: Pulse Circuit Needed

06/03/2010 9:21 AM

Contrary to my own suggestion of not providing a direct solution, see rough sketch below. You will still need to review CD4093 data-sheet to determine approximate timing values and some breadboard tweaking will be necessary. Good luck!

Register to Reply Score 1 for Good Answer
Guru
Hobbies - Musician - New Member Greece - Member - New Member

Join Date: Mar 2007
Location: Greece / Athens
Posts: 722
Good Answers: 28
#21
In reply to #20

Re: Pulse Circuit Needed

06/03/2010 11:50 AM

Nice solution. You got a GA from me. In this way you can have 2 & 3 sequential pulses (i.e. 2 outputs) at the same time by using just one chip.

There is a drawback though: The "gate time" is not independent from the "push time" of the push button. I.e. you have to push the button momentarily in order to get the proper "gate time" (and this depends on the user's skills). If, for example, the user pushes the button for 1sec (instead of a momentary push) then he will get -at the 1st output- 3 pulses (instead of 2 pulses). So, you should add another stage right after the push button: a network {[C & R//D] + gate} (like the one I use at the 2nd stage of my schematic) (and, of course, you have to connect the button to gnd instead of V+). In this way, right after this stage, you get a narrow, standard pulse (high) and then you use this pulse as the "trigger pulse" for your "gate timer" networks. As a result, the behaviour of your circuit is always predictable (i.e. independent from the "push time" of the button).

Another improvement is to use a somewhat more complex network for your oscillators: Instead of an R, you can have [R & D: —ι>ι—ΛΛΛ— ] // [R & D: —ι<ι—ΛΛΛ— ] combined with the C. In this way you can get variable "on" and "off" time durations of the output pulses.

__________________
George
Register to Reply
Guru
Engineering Fields - Electrical Engineering - Analog and Digital Circuit Design Engineering Fields - Electromechanical Engineering - Transformers, Motors & Drives, EM Launchers Engineering Fields - Engineering Physics - Applied Electrical, Optical, and Mechanical

Join Date: Jan 2008
Location: NY
Posts: 1207
Good Answers: 119
#22
In reply to #21

Re: Pulse Circuit Needed

06/03/2010 12:45 PM

Thanks and I agree, gate time depends on button duration plus RC discharge time. My intent was only to suggest simple one chip solution for simultaneous 2 and 3 pulse output. Adding more gates would allow a true one-shot pulse from switch activation OR if the OP can use 2 separate circuits, one for 2 pulse and the other for 3 pulse, he could use 2 of the 4 gates in a single chip to create the one-shot for the switch. Same circuit for 2 or 3 pulses, just different RC gate or oscillator values.

Register to Reply Off Topic (Score 5)
Power-User
Hobbies - Musician - guitar fan Greece - Member - Engineering Fields - Software Engineering -

Join Date: Jul 2007
Location: Athens, Greece
Posts: 256
Good Answers: 18
#14
In reply to #12

Re: Pulse Circuit Needed

06/01/2010 10:58 AM

Yes tkot. Redfred presented this idea (555 & counter) in his post #3.

Oops, indeed. Sorry redfred. Still, the idea to use a shift register (or more than one in cascade mode) can give you the chance to configure the number and the width of the pulses (as soon as they are multiples of the clock period).

Just for your information, I once used an 8-bit ROM filled with certain patterns and a 555-clocked counter which addressed the ROM sequencially. That way, I could get 8 data outputs configured to produce any pulse sequence I desired!

OK, that one was a more complicated problem, so don't hammer me...

__________________
tkot
Register to Reply
Register to Reply 22 comments

Good Answers:

These comments received enough positive votes to make them "good answers".

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Copy to Clipboard

Users who posted comments:

dahoneycutt (3); Doorman (1); G.K. (8); mjb1962853 (5); redfred (3); tkot (2)

Previous in Forum: Use of Matched Transistors   Next in Forum: SMART Type - HART Compatible Instruments

Advertisement