LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Position sensor with accelerometer

Hi,

          Recently, I have finished a project with accelerometer to detect the noise when the motor stroke hit some part or near by mechanical part. I wonder about using position sensor to my project in order to detect the stroke or mechanical part position when it hit by stroke. I don't know that I can go along with position sensor to detect the noise or any support for accelerometer. Can any one experienced this kind of situation. Any ideas will be appreciated.

0 Kudos
Message 1 of 4
(3,094 Views)

Hi

 

Recently I started a project about measure position with accelerometer, but Im with a little bit trouble. I applying the first integration and find the velocity, when the value from velocity become a negative value I force it to zero, up to this point thats all right, but the second integration occure a trouble that I am not fix, I applying the second integration, but each new sample it change the value, of course this non will be a trouble whether the change the value change to a positive value, as Im measure position Id like that value for example [X] follow the rule:

 

X always increase or hold the same value, never decrease. I increase my distance each new step, like i am not return my actual distance will be always >= the preview distance

0 Kudos
Message 2 of 4
(2,889 Views)

velocity has positive and negative direction.  Since you are forcing your negative velocity (direction) to zero, the integration to displacement assumes you always are traveling in the same direction.  In other words, you never go back. 

 

Let you velocity measurements and integration have both positive and negative results, your displacement will return to 0
.

 

Hope this helps. 

 

 

Preston Johnson
Solutions Manager, Industrial IoT: Condition Monitoring and Predictive Analytics
cbt
512 431 2371
preston.johnson@cbtechinc
0 Kudos
Message 3 of 4
(2,882 Views)

Another point to consider...

 

I'm not sure how accurate your system needs to be but using an accelerometer to derive position may not yield the results you're expecting due to misalignments and errors in the sensor signal. Also the error due to integration and double integration would have a significant influence.

 

 

0 Kudos
Message 4 of 4
(2,874 Views)