This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

"Acceleration without g" algorithm
I intend to develop an app that measures the centrifugal force applied to a skier making a series of turns.
I've found that using phyphox's "acceleration without g" option gives good results.
I ask to the authors of this excellent app (which I have been using with my students for some time) to learn more about the implementation of this specific algorithm.
Would it even be possible to have only the piece of code (presumably in Java or in any case in any high-level language) that interacts with the accelerometers (and the gyroscope) of the smartphone and performs this single type of measurement ?  Would be the best !
Thanks in advance for any thoughts on this topic.
The Android and iOS APIs support the “acceleration without g” right away (at least, as long as the required sensors are built-in) so there is no specific algorithm in phyphox. On other systems like microcontrollers, there are libraries supporting the so-called “sensor fusion” in order to remove “g” or compute an absolute position in space.

I find this series on sensor fusion rather instructive: (if you want to go the hard way and implement it yourself Wink)
Thanks for the info.
However if, as you say, there is no specific algorithm in phyphox to calculate centrifugal acceleration "without" g, then what is the difference between the two options (the first 2 above) "Acceleration (g included)" and " Acceleration (without g)" ?
I watched the suggested video (and also 2 others in the same section) but my knowledge of spoken English is not sufficient to fully understand what is illustrated there.
However, I understood the interesting concept of "sensor fusion" but I am not able, at the moment, to implement it in a high-level language (I usually use B4A) without further help.
The algorithm that subtracts Earth‘s acceleration is provided by the OS. Both options, acceleration with g in- and excluded, are directly obtained from the sensor APIs. You could (likely) do the same with your Android framework without wondering how to implement any sensor fusion concepts…

The accelerometer “sees” Earth‘s acceleration, however, on many occasion that‘s not what you want in scientific experiments, centrifugal acceleration being one of these examples like you said. Sensor fusion with gyroscope and magnetometer allows to identify the direction of Earth‘s acceleration and accordingly “remove” it. Since the latest release of phyphox, there is also this virtual gravity sensor included in

Forum Jump: