How to Calculate Total Angle from X and Y Angles on an Incline?

  • Context: Undergrad 
  • Thread starter Thread starter Siksissk
  • Start date Start date
  • Tags Tags
    Angles Angular Tilt
Click For Summary
SUMMARY

The discussion focuses on calculating the total angle of an object moving diagonally up an incline using X and Y angles obtained from an accelerometer. The user seeks a formula to combine these angles accurately, considering the incline angle is unknown. The conversation highlights the need for understanding the geometry of angles in three-dimensional space, specifically how to derive the angle between the object and the incline based on pitch and roll measurements. The user has achieved an accuracy of +/- 0.5 degrees in their current calculations.

PREREQUISITES
  • Understanding of three-dimensional geometry
  • Familiarity with accelerometer data interpretation
  • Knowledge of pitch and roll angles
  • Basic trigonometry for angle calculations
NEXT STEPS
  • Research the mathematical principles of vector addition in three dimensions
  • Learn about the use of trigonometric functions to calculate angles from X and Y components
  • Study the concept of tilt angles and their applications in electronics
  • Explore the implementation of angle calculations in programming languages, such as Python or C++
USEFUL FOR

Electronics engineers, robotics developers, and anyone involved in motion tracking or tilt sensing applications will benefit from this discussion.

Siksissk
Messages
8
Reaction score
0
Hi,

I have to measure a object as it goes up a incline.

I have both X and Y angles, which is fine if the object travels perfectly up or down a incline.

What I cannot figure out, is if the object travels (for lack of a better term) diagonally up a incline, how to figure out its total angle.
Also the incline angle is unknown.

Unsure how best to describe the issue.

Any help would be great.

Regards
 
Physics news on Phys.org
im not really clear on what you mean?

[PLAIN]http://img193.imageshack.us/img193/8507/wedgef.jpg

you mean moving from one red point to another? could you tell us all the information you know? i expect you can do this question either with geometry or energy
 
Last edited by a moderator:
Yes, moving from one red point to the other.

All the info I have, is a x & y angle, what I need to know is how to combine them properly to achieve a total angle. Or rather the formula, so I can hard code this into some code to work for all inclines.
 
The wording of this problem is a bit akward.

angle from x axis implies a cone with it's point at the origin and centered about the x axis, and angle from y axis implies a cone with it's point at the origin and centered about the y axis. However, I doubt this is the situation you're trying to describe.

It's more likely that angle from x axis means a plane perpendicular to the x-y plane, and that angle from y axis means a plane perpendicular to the y-z plane. In this case the intersection of the two planes is a line. I assume the goal is to determine the angle between the x-y plane and the line and/or to determine the equation for the line in x-y-z space. Since this is probably a homework problem, you'll need to show some work on this.
 
Last edited:
I wish it were a homework problem!

I will try and explain as best I can.

Unfortuantly for this bit of physics, I am a Electronics Engineer, and thus maths involving angles ect has me confused, as I have never needed to look into it.

I have a object, that will be traveling up and down slopes, but more than often it will be following a route in the picture posted above.
I am measuring the x/y angles using a accelormeter and converting the G reading into a tilt angle. (x/y, pitch and roll, can't and grad ect)

I have my current calculations accurate to +/- .5 degrees.

Now, I understand that the math falls into four quadrants. But that's about as far as I am currently.

What I am now stuck on, is how to find the refrence (the angle of the object with respect to the peak, or lowest point of the incline) and how to work out the angle of the object using the pitch and roll angles.

Apoligies for the bad explanation above, it made sense to me, but that's because I am sat next to the hardware! :)

Regards.
 
would you care to mark on the angles/lengths you know on a diagram? I am really not able to follow a description that well.
 

Similar threads

  • · Replies 25 ·
Replies
25
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K