High Speed Data Capture

Mike_E_Mike

Member
Join Date
Jan 2013
Location
Michigan
Posts
3
I'm wondering if someone could point me in the right direction here. I have a test fixture traveling at a speed between 10 and 40 mph that has a 36" metal fin on it which passes through an electric eye speed gate. The signal goes high (24vdc) and then low (0vdc) when the fin passes through. Our Micrologix 1400 cannot capture the data fast enough, or so I'm told, because of the scan times, (front end and back end). Is there an add on high speed module which could capture this time within 1ms, pass it to the AB 1400 to do the speed calc? One more thing, the high speed module would have to know to stop counting after the pulse goes low in order to disregard any rebound signals.
Thanks in advance.
 
Investigate the EII (Event Input Interrupt) which can process the high speed inputs on a rising or falling edge, interrupting the processing of the main program. It may be fast enough to process your input.
 
Would the EII (Event Input Interrupt) return control of the program within say 10ms tops after detecting the falling edge? Could it store that time in a buffer to do the MPH calculation at a point later in time when the event was over?
 
The interrupt instantly transferrs control to a seperate program file, which you designate in the EII Function File setup. That program file can do anything available in code.
 
You might also want to check the input filter for the actual input you are using.
The filter is in the project tree on I/O config. I think the default is 8ms.
 
This will be difficult to do. As Caveman said there are filters on the input and even if they are turned off the input circuitry may be still very slow let alone the time it takes to respond to an interrupt.

The right way to do this is to have a device that is FPGA ( field programmable gate array ) based that doesn't use software in the traditional sense. These devices can respond within a micro second easily so usually it is the opto couplers that slow the response down.

Mike_E_Mike, you really should specify the accuracy you need or what you are really trying to do.
At 40mph the fin is traveling .7 inches per millisecond so count on a .7 inch error for every millisecond of delay.

So what is controlling the moving this fin at 40 mph? If it is a motion controller I would look at it because it probably has FPGA based latches that will respond in a few 10s of microseconds.

I learned a long time ago that one should never rely on software interrupt to capture motion data. There is too much jitter.
 
Thanks Peter. I think I did ask if there was an add on module that could capture the data within 1ms. I thought I did mention that I was told the ML1400 wouldn't capture the data on its own, hence the need for the add on HS counter. Bernie suggested looking into IEE, and Caveman mentioned filters. I really don't want to use the ML1400 for data capture, just wanted to add a module that would get the time of the pulse and pass that to the 1400 via rs232, Ethernet, or direct bus for the 1400 to do the math. The speed of the fin is all I'm really after. Once the fixture leaves the propulsion unit, it's on its own. We measure the speed at the point of disengagement and the fixture is stopped by a controlled energy absorption system. Sorry if I wasn't clear in my original post.
 
just a side thought - along the same question of accuracey.
isi it possible to install a geared reduction unit and read the speed.
then simply multiply by the reduction ratio say 40:1 or similar
 

Similar Topics

I have an application that requires high speed data acquisition. We are looking to capture data once every 10-20mS. This is for edge computing...
Replies
16
Views
6,686
We have two staggered prox. sensors hooked up to an allen bradley vhsc24 point io module. They are counting up and down in encoder mode due to...
Replies
2
Views
1,529
We are exploring options for high speed data acquisition. Currently use AB hardware to do the machine controls and then NI hardware for the high...
Replies
2
Views
2,806
I am trying to figure out how to use a High speed counter module for an incremental encoder. I don't have the exact model number for the encoder...
Replies
4
Views
2,583
I have an application where the customer is looking to trend and log to file, tag variables. The customer wants to log data every 0.5 seconds. We...
Replies
4
Views
1,980
Back
Top Bottom