LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sub-pulses in LabVIEW FPGA

Solved!
Go to solution

The pulse per rev is obtained from a fibre optic and a disc attached to the shaft. Digital pulse (+5V max).

0 Kudos
Message 11 of 15
(935 Views)

Oh

 

I am confused now you are saying pulse per revolution. Which would mean an index pulse!

 

A pulse can be described as a sharp transistion from one state to another. ( Refering to electronic world)

 

Utilising a digital pulse would suggest it is either on or off!

 

So atttempting to measure  100 sub pulses would be meaning less if you intend to every 3.6 degrees!

 

xseadog

0 Kudos
Message 12 of 15
(926 Views)

thanks

0 Kudos
Message 13 of 15
(920 Views)
Solution
Accepted by ashvin0703

I believe your best bet would be to oversample the signal as stated before. How much oversampling really depends on what else you have to do on your FPGA that takes up space. I would oversample as much as possible.

 

Use the index pulse to segment your data stream from one index pulse to the next. At that point you have 1 rev worth of data. Pick the points that correspond to the 3.6 degree increments (you can decide wether you want to use the nearest sample or interpolate between samples)

 

This should give you the cleanest solution, and easily account for the speed variation of the shaft.

Greg Sussman
Sr Business Manager A/D/G BU
0 Kudos
Message 14 of 15
(912 Views)

First, thank you to you all for your help and suggestion. As suggested by stu and gsussman, oversampling is so far the better way to deal with my problem. Thank you again

0 Kudos
Message 15 of 15
(905 Views)