06-24-2022 10:53 PM
Hi
I have a NPN type gear tooth Hall Effect speed sensor that produces a pulse (voltage drops to zero then back to the pull up voltage value V) with every passing gear tooth.
I want to measure the speed of that rotating gear at a rate of at least a 100 Hz (meaning a 100 readings per second for monitoring purposes).
How do I perform this measurement? What hardware would I need? I currently have the USB 6002 with 1 built in counter but no hardware clock so I can’t perforce frequency measurements with it😭.
I know the formulae for RPM from pulses is:
I can I reliably get the Pulse frequency?
Regards.
06-24-2022 11:51 PM
You can still reuse 6008 by capturing your pulse signal using analog input, do N sample read, read 100ms worth of samples every time, count the number of transitions in 100ms worth of captured analog signal, and convert to RPM.
Please note, this method has a bunch of downsides compared to native counter-based frequency measurement.
06-25-2022 02:34 AM
What kind of software environment are you using? (LabVIEW? Something else?). Done right, reading the counter at somewhat regular intervals should be able to give you the desired measurements.
06-25-2022 10:16 PM
@santo_13 wrote:
You can still reuse 6008 by capturing your pulse signal using analog input, do N sample read, read 100ms worth of samples every time, count the number of transitions in 100ms worth of captured analog signal, and convert to RPM.
Please note, this method has a bunch of downsides compared to native counter-based frequency measurement.
Thank you, will try that out. N samples with every read is what I didn’t think of doing.
06-25-2022 10:34 PM
@altenbach wrote:
What kind of software environment are you using? (LabVIEW? Something else?). Done right, reading the counter at somewhat regular intervals should be able to give you the desired measurements.
LabView 2021.
Yes I tried exploring that avenue but discovered that I only had 1 counter in the 6002 USB device and I need to measure +3 speed sensors.
So I made my own edge counter VI using the digital input with Boolean data and an interval of 100 ms but it would often skip counts and cause the rpm reading to drop with every few readings.
Will link the VI as soon as my Power is back.