LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Pulse-Counter to RPM using Digital Inputs from a DAQ Device

Counter Pic.PNG

Pulse Generator.PNG

Counter Pic - GUI.PNG

 

Hi all, Please help me with the following. I know my program is terrible but I am learning a bit, so I welcome all the recommendations and improvements. 

 

I am trying to convert a speed sensor digital reading into an RPM. The speed sensor is mounted in a transmission Gearbox and reads Gear Teeth (24) and blinks with each passing tooth.

Using the Pulse to RPM Formula for converting the teeth readings or Pulses, I can work out the RPM of the rotating Gear.

 

I have upload my Arduino code as well for Blink code that simulate the blinks that the sensor would make e.g. voltage high/low with a delay in between. This can be adjusted to reflect difference pulse frequency. The attached example translate to a 5 Hz pulse equating to a 12.5 RPM speed for 24 gear tooth blinks.

 

Issues:

 

  • My RPM readings fluctuate and I need them accurate to the rotation speed of the shaft.
  • I want increase my read rate to 10 readings per second in order to get a faster reading up changing speed of the shaft. (I can set the time elapsed to 0.1 s).

Device: NI USB 6002.

 

I appreciate all the input I get from everyone. Thank you.

0 Kudos
Message 1 of 1
(1,960 Views)