Does any one know of a simple algorithm for converting a time based series of accelerations from a single axis accelerometer to displacement? I understand that double integration is the way forward ... but what am I double integrating? and how can I do this say in Excel or Visual Basic ? The accelerometer is recording motion of a wave bouy and all I need is a mean displacement. Drift of the result is not so much of an issue.