Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69264

Velocity from phidget encoders

$
0
0
*I'm using the 3530 encoder and it is wired to a 1047
http://www.phidgets.com/products.php?category=7&product_id=3530_0
 
http://www.phidgets.com/products.php?category=7&product_id=1047_1
 
We started by taking the diameter of the roller  (2.246 in), that the encoder is attached to, and using that to find the circumference.  It was 0.588 ft/revolution.  We took 4*360 to get the 1440 pulses/revolution.  Then I took the time output and divided by 1000 to get from ms to s and then divided again by 60 to get to min.  All of this math gave us a conversion factor of 24.5, which is the number you see in the VI velocity conversion VI.  We are trying to get our output velocity in ft/min.
 
Here's our math:
Velocity= Circumference  = 0.588 ft/rev                                          0.588 * 1000 * 60 = 24.5
                 (pulses/rev)(Δt)    (4*360 pulses/rev)((1/1000)*(1/60))               1440
 
It just isn't giving anything that looks like a velocity recording, let alone the proper velocity.  I don't know if it's my code or if I'm just not reading the right outputs from the phidget itself.  

Viewing all articles
Browse latest Browse all 69264

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>