Tilt angle with y and z coordinates ?

Elijah14

New member
Joined
Jul 1, 2019
Messages
1
Hello !

Im trying to determine the height of a little tree using only an application (PhysicsToolbox on Android) that serves as an accelerometer on my phone.
After launching the measurement, I aimed with my phone down the tree for 10 seconds and then tilted the phone to the top of the tree. The phone records several times per second the measurement variations according to the x, y and z coordinates (cf. spreadsheet). As can be seen in the illustration, with this tilting movement, only the x and y coordinates vary.
Illustration :
View attachment accelerometer.png
Tab :
12749

I would like to know how with these data, I can deduce an angle of inclination to finally calculate the height of the tree, knowing that I am located at a distance of 4 meters.
I averaged acceleration for y and z for both phone positions (1 and 2) :
Acceleration y (position 1) : -1,9147057 m.s^-2
Acceleration z (position 1) : 9,61337851 m.s^-2
Acceleration y (position 2) : 4,3146447 m.s^-2
Acceleration z (position 2) : 8,81079648 m.s^-2

So I would like to know how to determine the angle using the data "Absolute acceleration" but also the angle assuming that the gravity acceleration is constant g = 9.8 m.s^-2.

raw data spreadsheet

Someone can help me ? Thanks for your help.
 

Attachments

  • accelerometer.png
    440.3 KB · Views: 0
  • accelerometer graph.png
    accelerometer graph.png
    901.4 KB · Views: 1
Top