qiuqiuaaa

02-10-2012, 04:36 AM

I am looking for a numerical integrator to integrate the acceleration getting from accelerometer, but I can not find a hardware like that. can someone give me a guide?

View Full Version : numerical integrator to get position information from accelerometer

qiuqiuaaa

02-10-2012, 04:36 AM

I am looking for a numerical integrator to integrate the acceleration getting from accelerometer, but I can not find a hardware like that. can someone give me a guide?

Leon

02-10-2012, 09:44 AM

That sort of thing is usually done in software. What MCU is the accelerometer connected to?

qiuqiuaaa

02-13-2012, 01:47 AM

Thank you. I will focus on software

Mark_T

02-13-2012, 04:54 PM

And be aware that integrating twice leads to lots of drift.... If the accelerometer has analog output an op-amp integrator(s) (with software reset) could be employed.

qiuqiuaaa

02-14-2012, 12:43 AM

Thanks. Unfortunately, I only have digital output. I am also worried about the error.

And be aware that integrating twice leads to lots of drift.... If the accelerometer has analog output an op-amp integrator(s) (with software reset) could be employed.

And be aware that integrating twice leads to lots of drift.... If the accelerometer has analog output an op-amp integrator(s) (with software reset) could be employed.

qiuqiuaaa

02-14-2012, 12:52 AM

I have a question. What do you mean by analog output, because I think we can only get a lot of numbers. It must be digital, how can it be analog?

And be aware that integrating twice leads to lots of drift.... If the accelerometer has analog output an op-amp integrator(s) (with software reset) could be employed.

And be aware that integrating twice leads to lots of drift.... If the accelerometer has analog output an op-amp integrator(s) (with software reset) could be employed.

erco

02-14-2012, 03:26 AM

Without a gyro, you can't distinguish a tilt from an acceleration; integration of data from a standalone accelerometer is "problematic "at best. More like futile.

qiuqiuaaa

02-15-2012, 06:05 AM

Actually, I have gyro. What I want to do is to integrate the acceleration along each axis after calculating based on accelerometer and gyro.

Without a gyro, you can't distinguish a tilt from an acceleration; integration of data from a standalone accelerometer is "problematic "at best. More like futile.

Without a gyro, you can't distinguish a tilt from an acceleration; integration of data from a standalone accelerometer is "problematic "at best. More like futile.

erco

02-15-2012, 10:25 PM

Sensor fusion & Kalman filter. You have some Googling to do, my friend!

JimInCA

02-16-2012, 02:10 PM

Actually, I have gyro. What I want to do is to integrate the acceleration along each axis after calculating based on accelerometer and gyro.

Here are a couple of good tutorials to start with.

http://www.starlino.com/imu_guide.html

http://www.starlino.com/dcm_tutorial.html

Jim...

Here are a couple of good tutorials to start with.

http://www.starlino.com/imu_guide.html

http://www.starlino.com/dcm_tutorial.html

Jim...

qiuqiuaaa

02-17-2012, 05:00 AM

Thanks a lot!

Here are a couple of good tutorials to start with.

http://www.starlino.com/imu_guide.html

http://www.starlino.com/dcm_tutorial.html

Jim...

Here are a couple of good tutorials to start with.

http://www.starlino.com/imu_guide.html

http://www.starlino.com/dcm_tutorial.html

Jim...