Numerically Integrating a Damped-Oscillating Mass System

In summary, the conversation is about numerical differentiation and integration of LVDT and accelerometer data to find acceleration and displacement of a damped-oscillating mass system. There is a problem with the displacement data drifting off, which is said to be caused by integration drift. The solution to reduce this drift is to calibrate the accelerometer, use a band-limiting filter, and keep the accelerometer level. Tilting the accelerometer can cause inaccurate readings and even saturation.
  • #1
Wolff
2
0
Hi all. My first time posting. Hopefully it will go well. :)

For my ME Lab 1 class I need to numerically differentiate LVDT data to find acceleration of an damped-oscillating mass system and I need to numerically integrate accelerometer data to find displacement of the same damped-oscillating mass system. This data is supposed to be compared.

I did not have any problem numerically differentiating the data. It came out perfect.

Now when I go to numerically integrate the accelerometer data, the displacement data seems to drift off into space. The drift is slightly apparent in the velocity data but the displacement data doesn't even come close to resembling the LVDT displacement.

I have been told that this is integration drift. I have no clue how to remove this and was hoping someone here could guide me in the right way.

Thanks for all your help in advance!
 
Physics news on Phys.org
  • #2
Wolff said:
I have been told that this is integration drift. I have no clue how to remove this and was hoping someone here could guide me in the right way.

Short answer: You can't. Tiny errors in acceleration measurement become (relatively) big errors in displacement.
 
  • #3
Wolff said:
I have been told that this is integration drift. I have no clue how to remove this and was hoping someone here could guide me in the right way.

Thanks for all your help in advance!

All small accelerometers drift rapidly over small periods of time (on the order of 20ft/s/s). As lewando said, this cannot be stopped. This assignment should show you why dead reckoning is an abandoned tool.
 
  • #4
Thanks for your help!
 
  • #5
Slightly longer answer: You can reduce your drift somewhat by doing a couple of things:

1) Make sure your accelerometer is well-calibrated. Gain error and offset error should be minimized. For a single z-axis (+z=up, -z=down) accelerometer, resting on a perfectly flat, non-vibrating surface, you should be gettting as close to 1 g as you can. Any deviation from this, either generated by the accelerometer or by your measuring device, will result in drift.

2) Accelerometers respond to acceleration dynamically over a (somewhat large) range of frequencies. This allows a window of opportunity for unwanted noise sources to creep into your measurements. Depending on your application's operating frequency range, you can use an appropriate band-limiting filter to filter out unwanted noise sources.

3) Do not tilt the accelerometer. Keep it perfectly level or else the tilt will look like an acceleration when there is none.
 
  • #6
lewando said:
3) Do not tilt the accelerometer. Keep it perfectly level or else the tilt will look like an acceleration when there is none.

Just wanted to add to that. Tilt looks like an insanely major acceleration. I was doing some readings on a control system where I estimated angles from the accelerations (inaccurate obviously) but when I tilted it at around 30 degrees for a short period of time, one of my motors used for roll instantly saturated at full throttle. Good thing I had the saturation in place, because the readings became unbounded (on the order of 3million ft/s/s).
 

FAQ: Numerically Integrating a Damped-Oscillating Mass System

What is numerical integration?

Numerical integration is a technique used in mathematics and computational science to approximate the value of a definite integral, which is the area under a curve on a graph. It involves breaking down the integral into smaller, simpler parts and using numerical methods to calculate their sum.

What is a damped-oscillating mass system?

A damped-oscillating mass system is a physical system in which a mass is attached to a spring and is allowed to oscillate back and forth. The system is "damped" because there is some type of resistance or friction acting on the mass, causing it to gradually lose energy and eventually come to a stop.

Why is numerical integration useful for studying a damped-oscillating mass system?

Numerical integration is useful for studying a damped-oscillating mass system because it allows us to model and analyze the system's behavior over time. By breaking down the system into smaller time intervals and using numerical methods to calculate the position and velocity of the mass at each interval, we can gain insight into how the system behaves and how it is affected by different parameters.

What are some common numerical methods used for integrating a damped-oscillating mass system?

Some common numerical methods used for integrating a damped-oscillating mass system include the Euler method, the Runge-Kutta method, and the Verlet method. These methods vary in accuracy and complexity, but all involve breaking down the system into smaller time intervals and using iterative calculations to determine the position and velocity of the mass at each interval.

What are some real-world applications of studying a damped-oscillating mass system?

Studying a damped-oscillating mass system has many real-world applications, such as in the design of shock absorbers for vehicles, understanding the behavior of pendulums, and analyzing the motion of molecules in chemical reactions. It can also be used to study the effects of damping on structures like bridges and buildings, and in the development of control systems for robotics and other mechanical systems.

Similar threads

Back
Top