LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

haw i calculate velocity if my sensor give me a voltage?

haw i calculate velocity if my sensor give me a voltage?

0 Kudos
Message 1 of 11
(6,907 Views)

@edi_sn wrote:

haw i calculate velocity if my sensor give me a voltage?




You MUST realize that nobody can answer that unless you tell us what kind of sensor right??? Smiley Frustrated

If you want help here, be specific with your questions.

 

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 2 of 11
(6,905 Views)

Hi edi,

 

you need to read the datasheet of your sensor to know the conversion parameters from voltage to speed.

Then you just apply those conversion parameters to your voltage measurement!

 

Generic answer to a generic question…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 11
(6,903 Views)

The next time your sensor gives you a voltage, have a friend measure how high you jump with a ruler, and how long it takes you to come down with a stopwatch. Your average velocity then is twice the height you jump divided by the time you were in the air. Smiley Wink Couldn't resist.

 

Cameron

 

To err is human, but to really foul it up requires a computer.
The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
Profanity is the one language all programmers know best.
An expert is someone who has made all the possible mistakes.

To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):

LabVIEW Unit 1 - Getting Started</ a>
Learn to Use LabVIEW with MyDAQ</ a>
0 Kudos
Message 4 of 11
(6,862 Views)

my sensor is a accelerometer.

i have to determine the velocity of a motor by using this sensor. I masseur with this sensor the vibrations of my motor, and i have to find a relation between  the signal of sensor and velocity

 

 

Model: 603C11
 
General purpose, industrial, ceramic shear ICP® accelerometer, 100 mV/g, 0.5 to 10k Hz, top exit, 10-ft integral cable, single point ISO 17025 accredited calibration

  • Sensitivity: (±10%) 100 mV/g (10.2 mV/(m/s²))
  • Frequency Range: (±3dB) 30 to 600000 cpm (0.5 to 10000 Hz)
  • Measurement Range: ±50 g (±490 m/s²)
  • Electrical Connector: Molded Integral Cable
0 Kudos
Message 5 of 11
(6,785 Views)

V = V0 + a*dt.  So first you convert the voltage into acceleration.  You can then just add the previous velocity with the current acceleration multiplied by the sample rate.  Or you could just integrate.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 6 of 11
(6,782 Views)

haw i convert voltage in acceleration?

0 Kudos
Message 7 of 11
(6,766 Views)

Hi edi,

 

did you read your own sensor datasheet?

This says it all: Sensitivity: (±10%) 100 mV/g (10.2 mV/(m/s²))

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 8 of 11
(6,763 Views)

Since you can't assume your acceleration will be constant (the motor has to reach a final speed eventually), integration is what you need to do.  Measure the acceleration as a function of time and integrate the data.

 

This sounds like an extremely unusual way to measure a motor speed.  What if the acceleration/deceleration is below your measurable threshold?  Can you measure the rotation speed directly?

 

Even without information of the signal/velocity conversion, you can create this data by recording the sensor output for a wide range of known velocities.  Then simply use this data as a calibration file.

0 Kudos
Message 9 of 11
(6,761 Views)

thanks!!

 

0 Kudos
Message 10 of 11
(6,755 Views)