Previous in Forum: electrical engineering   Next in Forum: Energy Measurements In Harmonic Environment
Close
Close
Close
26 comments
Rate Comments: Nested
Anonymous Poster

Pulse Count Problem

11/28/2007 2:51 PM

hi guys hope I've got the right place for this question?

I've got two count pulses (24v dc switching)running together which need to go to one total count system any one got a simple solution or maybe something off the shelf i could buy..

thanks ........

Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Guru
Popular Science - Weaponology - New Member United Kingdom - Member - New Member

Join Date: May 2007
Location: Harlow England
Posts: 16512
Good Answers: 670
#1

Re: Pulse Count Problem

11/28/2007 3:24 PM

Hey...good question...

Sorry I've got no simple solution, I'd use a microcontroller, two inputs two counts, and then add 'em together.

One would think there'd be a simple cunning way of doing it .

Del

__________________
health warning: These posts may contain traces of nut.
Reply
Guru

Join Date: Aug 2006
Posts: 4484
Good Answers: 246
#14
In reply to #1

Re: Pulse Count Problem

11/29/2007 12:21 PM

This seems profoundly straightforward and on the money. Alternatives such as sending the pulses through diodes would result in missed pulses, unless the pulses never overlap or have predictable regularities. Plenty simple and cunning enough. 10 points for good answer... 5 bonus points for the first good answer.

__________________
There is more to life than just eating mice.
Reply
Guru

Join Date: Sep 2007
Posts: 1817
Good Answers: 7
#16
In reply to #14

Re: Pulse Count Problem

11/29/2007 12:39 PM

There are ready made microprocessors and the manufacturers call them counters. I wonder why?

There are some that will accept the stated signal switched voltage and there are that will accept 2 inputs which I am sure you could in some way ad together. They can be configured so they take all sorts of signal sorts and shapes and will have high def filters in them if you want them. You never need to loose a pulse ever as long as you know the spec you are working to.

I have worked with quite a few from the RS range and never had an application that could not be worked out. No programming needed as it is all already in the box ready to be configured. This can be a pain and is the only drawback, you need to speak funny languages to decypher some technicians translation of Bangladenglish!

What is it with these manuals?

Reply
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#17
In reply to #14

Re: Pulse Count Problem

11/29/2007 12:41 PM

While I agree that Del has the most elegant solution, if the chap doesn't have PIC experience or programming gear, and can afford in his app. to lose the odd count, then a couple of 1N4148's (and maybe a couple of R's & C's) is by far the quickest and most cost-effective solution.

We'd need to know the full story before finding the best answer.

__________________
"Love justice, you who rule the world" - Dante Alighieri
Reply
Guru
Popular Science - Weaponology - New Member United Kingdom - Member - New Member

Join Date: May 2007
Location: Harlow England
Posts: 16512
Good Answers: 670
#19
In reply to #14

Re: Pulse Count Problem

11/29/2007 12:51 PM

Smug Del prrrrr prrrrr

Can I trade points for srdines any place?

__________________
health warning: These posts may contain traces of nut.
Reply Off Topic (Score 5)
Guru

Join Date: Sep 2007
Posts: 1817
Good Answers: 7
#2

Re: Pulse Count Problem

11/28/2007 4:40 PM

Hi guest, please register for further posts.

I would go to RS Components and look up their range of counters. They do lots of counters and most will give you a scaling function which you can use to re-calculate the total it should display from the counted amount of pulses.

I would look at RS number 500-6485 part number H7CX-A11SD1

This is a counter that supports your 24VDC signal and does give you pre set functions for batch output and scaling. (please check with them before going with my suggestions)

You can find them on http://rswww.com/cgi-bin/bv/rswww/home.do?returningUser=N&cacheID=ukie

or phone UK (United Kingdom) 01536 402888

Reply
Power-User

Join Date: Oct 2007
Location: Hartwell Georgia N34* 56.770 / W83* 35.431
Posts: 222
Good Answers: 1
#3

Re: Pulse Count Problem

11/28/2007 5:58 PM

Do the actual pulses fire with a time lapse? Could these pulses fire transistors, each feeding the counter?

James

__________________
" adapt, improvise, overcome "
Reply
Guru

Join Date: Sep 2007
Posts: 1817
Good Answers: 7
#4
In reply to #3

Re: Pulse Count Problem

11/28/2007 6:08 PM

It states the pulses are 24Vdc switching. I read that as the pulses are in fact 24Vdc on or off. That makes them readable by the counter on the input as they are. No need for further transistors.

Reply
Power-User

Join Date: Oct 2007
Location: Hartwell Georgia N34* 56.770 / W83* 35.431
Posts: 222
Good Answers: 1
#5
In reply to #4

Re: Pulse Count Problem

11/28/2007 6:19 PM

If the square waves are not synchronized, each might trigger an input to a counter, Yes?

James

__________________
" adapt, improvise, overcome "
Reply
Guru

Join Date: Sep 2007
Posts: 1817
Good Answers: 7
#6
In reply to #5

Re: Pulse Count Problem

11/28/2007 6:22 PM

Yes that is correct. This is in my mind why I think he might want or need a scaling factor. That way you can determine the total count depending on a pre determined amount of pulses.

Reply
Power-User

Join Date: Oct 2007
Location: Hartwell Georgia N34* 56.770 / W83* 35.431
Posts: 222
Good Answers: 1
#7
In reply to #6

Re: Pulse Count Problem

11/28/2007 6:32 PM

I had a VISION....... sorry, flashback. I jumped to the conclusion, two conveyors feeding products, merge. A dark sensor registers the passing can of dog food.

Yada yada yada. (Bla, bla bla in French)

James

__________________
" adapt, improvise, overcome "
Reply
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#8

Re: Pulse Count Problem

11/28/2007 6:33 PM

Need to know more about the source signals and what is counting them.

If you have two pulse trains with short, fairly infrequent pulses on each, they could be OR'd with a couple of diodes, and you'd only miss the odd coincidental pulse pair.

Please register & tell us more.

__________________
"Love justice, you who rule the world" - Dante Alighieri
Reply
Power-User

Join Date: Oct 2007
Location: Hartwell Georgia N34* 56.770 / W83* 35.431
Posts: 222
Good Answers: 1
#9
In reply to #8

Re: Pulse Count Problem

11/28/2007 6:39 PM

Two quick off topic questions. What time is it in U.K. now. What is your national electrical standard called? 6:38PM east coast, here.

James

__________________
" adapt, improvise, overcome "
Reply
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#10
In reply to #9

Re: Pulse Count Problem

11/28/2007 6:47 PM

Hi, James,

Local time 23:44 GMT.

"What is your national electrical standard called?" - not 100% sure what you mean here - wiring must conform to IEE Wiring Regulations (now 17th edition, I think!) which is a British Standard.

Rgds, John

__________________
"Love justice, you who rule the world" - Dante Alighieri
Reply Score 1 for Off Topic
Power-User

Join Date: Oct 2007
Location: Hartwell Georgia N34* 56.770 / W83* 35.431
Posts: 222
Good Answers: 1
#11
In reply to #10

Re: Pulse Count Problem

11/28/2007 6:52 PM

5 hours difference.

Ours is National Electrical Code (NEC) Canada's is close to ours.

I will try and find IEE on Web.

James

__________________
" adapt, improvise, overcome "
Reply
Guru
Popular Science - Weaponology - New Member United Kingdom - Member - New Member

Join Date: May 2007
Location: Harlow England
Posts: 16512
Good Answers: 670
#12

Re: Pulse Count Problem

11/29/2007 4:11 AM

If you want to do it cheap and dirty, you could shorten the pulse width with a CR network and 'OR' them with diodes as has been suggested..

But there is always the coincident pulses problem, whereby they will be counted a 1 not 2.... you could also add an AND gate etc to catch the coincident ones....but you will end up with a glitch prone mess... This is why I made the suggestions in my initial post.

Del

__________________
health warning: These posts may contain traces of nut.
Reply
Guru
Engineering Fields - Systems Engineering - New Member Hobbies - Model Rocketry - New Member

Join Date: Dec 2006
Location: Long.92E,Lat.26N
Posts: 1336
Good Answers: 14
#13
In reply to #12

Re: Pulse Count Problem

11/29/2007 11:21 AM

Del you want to get a spike out of eachTTL pulse coming in to be counted.Good idea!

And you are worried about 2 from 2 strings appearing at same Real time .

In that situation you foresee one pulse getting LOST.***

You (or some Circit tinkerer )can take care of this *** situation thus:

A Chip receives 2 pulses at 2 input gates at same(or within the resolution time of the Spike generator) Real time. This Chip has a simple Logic " When 2pulses arrive at very close intervals--it gives out 2 countable pulses with a short(but countable)gap in time".

Reply
Active Contributor

Join Date: Apr 2007
Posts: 22
#15

Re: Pulse Count Problem

11/29/2007 12:36 PM

If you want a simple and relatively cheap solution:

Use an Automation Direct DL-05 and use the first 2 inputs X0 & X1 (high speed counters)

and add the two counter values , you have a lot more that you can do with this unit , but the device is under $125.00 and software for it is cheep $99.00.

No problem the out put can be done several ways! but this is the most simple off the shelf method others I could recommend would more expensive but no software or programing ie. two counter modules and a summer module give AGM in Tucson AZ. a call

They can set you up there for a combined pulse train out put or a total count , even combine the units in one module or board w/ plug in modules if required.


Jon Russell

Reply
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#18
In reply to #15

Re: Pulse Count Problem

11/29/2007 12:44 PM

2 off 1N4148 = about £0.02 (don't know what that is in $).

__________________
"Love justice, you who rule the world" - Dante Alighieri
Reply
Active Contributor

Join Date: Apr 2007
Posts: 22
#20
In reply to #18

Re: Pulse Count Problem

11/29/2007 12:58 PM

No offence taken the dude ( and question ) just did not sound like a board level inquiry, more like a shop floor level ...help!!

Jon

Reply
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#24
In reply to #20

Re: Pulse Count Problem

11/29/2007 2:54 PM

Don't worry - I'm just a cheapskate!

(Inexpensive fish of the family Rajidae

)

Cheapskate seems to be a word from somewhere in the US. Please, someone, find out what it means & tell us here

__________________
"Love justice, you who rule the world" - Dante Alighieri
Reply Off Topic (Score 5)
Power-User

Join Date: Oct 2007
Location: Hartwell Georgia N34* 56.770 / W83* 35.431
Posts: 222
Good Answers: 1
#21
In reply to #15

Re: Pulse Count Problem

11/29/2007 1:05 PM

I like automation direct.com I had the hardest time convincing a plant to change over from European electrical parts to those sold in America. But, does the individual want to sit down and build a small electronic circuit to solve his problem or buy something prepackaged? (The plant was foreign operated and really didn't understand all we need is a compatible product)

James

__________________
" adapt, improvise, overcome "
Reply
Guru

Join Date: Sep 2007
Posts: 1817
Good Answers: 7
#22

Re: Pulse Count Problem

11/29/2007 1:54 PM

That sounds a lot of money in my book.

I know you can get of the shelf counters starting from £25 range going up to what you say in your web page but to start there is not the right approach.

Start at the bottom and go up until you get what does the job, most logical way of getting to choose the right product from a CUSTOMER'S point of view.

RS components does pre-configured counters that will do the job starting around £100 figure. You can then stack features if you like.

You won't make many friends with your sales technique

Reply
Member

Join Date: May 2007
Location: Hertfordshire, England
Posts: 7
#23
In reply to #22

Re: Pulse Count Problem

11/29/2007 2:16 PM

I merely offered another solution, fortunately we live in a world full of choice. If I have offended you or anyone else I appologise.

Rob

__________________
Suppliers of digital panel meters, signal conditioners, panel printers, large digit displays & scrolling message displays
Reply
Guru

Join Date: Sep 2007
Posts: 1817
Good Answers: 7
#25
In reply to #23

Re: Pulse Count Problem

11/30/2007 1:16 AM

No offense my friend, just pointing out economics.

Reply Off Topic (Score 5)
Guru
Philippines - Member - New Member Engineering Fields - Instrumentation Engineering - New Member Engineering Fields - Control Engineering - Who am I?

Join Date: Oct 2006
Location: Northern Mindanao, Philippines
Posts: 2147
Good Answers: 53
#26

Re: Pulse Count Problem

11/30/2007 7:48 PM

You might want to look at Koyo Counters.

I've used these and they're easy to configure and use. Some models have dual inputs which is what you're looking for, I believe.

__________________
Miscommunication: when what people heard you say differs from what you said. Make yourself understood.
Reply
Reply to Forum Thread 26 comments
Copy to Clipboard

Users who posted comments:

Blink (1); case491 (6); hastingselectric (6); JohnDG (5); JonRR (2); MUKULMAHANT (1); Rob Grummitt (1); user-deleted-1105 (3); Vulcan (1)

Previous in Forum: electrical engineering   Next in Forum: Energy Measurements In Harmonic Environment
You might be interested in: Pulser-Receivers

Advertisement