Normalized Angular Rotation/Position Equations?

  • I
  • Thread starter Stargazer43
  • Start date
  • Tags
    Angular
In summary, the conversation discusses the difficulties in solving for the angular position of an object rotating around a circle and specifying certain conditions on the circle. The first issue is the need to normalize the angle to ensure a smooth transition between 360 degrees and 0 degrees, without creating a major discontinuity. The second issue involves setting a variable to decay from 1 to 0 based on the calculated angle, but facing challenges due to the same sin value for different angles. The conversation also mentions the use of the Newton method and avoiding conditional statements to converge on a solution.
  • #1
Stargazer43
7
0
TL;DR Summary
Trying to describe position on a circle as a function of time within 0-360 degrees, without creating a discontinuity when the angle goes from 360-degrees back to 0.
I'm trying to write a program to solve a series of dynamic equations, and ran into one stumbling block that seems like it should be easy to resolve. Basically, I'm trying to solve for the angular position of an object rotating around a circle, and to specify certain conditions on the circle when the object passes over it. These conditions would not be active on the rest of the circle. This is far enough outside the realm of what I usually get involved with that I could use some advice! I have a series of discretized equations for each position on the circle. The issues I was running into were the following:

1.) I can easily solve for the angular position as a function of time by using RPM = Angle/Time, but the issue is that my circle is only 0-360 degrees. After one revolution the reported angle will be >360, and arbitrarily resetting it back to 0 creates a major discontinuity that throws off the equation solvers I'm using. Is there a way to normalize the angle so that there will be a smooth transition between 360 degrees and 0 degrees, and to keep the final angular value within the range of 0-360?

2.) For each position on the circle, I want to set the value of a variable x=1 if the position matches the angle calculated above as a function of time, and have x decay to 0 if the angle is more than 10-degrees apart from that calculated above. Is there a good way to do this? I started off by using a ratio of the values of sin(Angle), but since two different angles can have the same sin value, it wasn't working quite as intended.
 
Mathematics news on Phys.org
  • #2
Stargazer43 said:
1.) I can easily solve for the angular position as a function of time by using RPM = Angle/Time, but the issue is that my circle is only 0-360 degrees. After one revolution the reported angle will be >360, and arbitrarily resetting it back to 0 creates a major discontinuity that throws off the equation solvers I'm using. Is there a way to normalize the angle so that there will be a smooth transition between 360 degrees and 0 degrees, and to keep the final angular value within the range of 0-360?
Why not keep the angle as it is, and take the modulo when you need to map it in the range 0-360?

Stargazer43 said:
2.) For each position on the circle, I want to set the value of a variable x=1 if the position matches the angle calculated above as a function of time, and have x decay to 0 if the angle is more than 10-degrees apart from that calculated above. Is there a good way to do this? I started off by using a ratio of the values of sin(Angle), but since two different angles can have the same sin value, it wasn't working quite as intended.
I don't understand the issue here. You'll have to give more details.
 
  • #3
DrClaude said:
I don't understand the issue here. You'll have to give more details.

I am trying to model a localized force of a known magnitude acting on a rotating cylinder. The force is in a constant location, but the cylinder is rotating. The main part I was struggling with is how to mathematically represent the angular position/magnitude of this force on the cylinder as a function of time.

I am solving all of the equations using the Newton method, so I was hoping not to use too many if/then statements or discontinuities since it struggles with that. Any of the approaches I have come up with involve a lot of conditional if/then statements that make it more difficult to converge on a solution.
 
  • #4
Complex numbers of magnitude 1 correspond to a circle without discontinuity, but usually accepting angles larger than 2pi and then take the modulus when it matters is easier to handle.
 

1. What is the purpose of normalized angular rotation/position equations?

The purpose of normalized angular rotation/position equations is to describe the motion of a rotating object in terms of its angular position and velocity. These equations help to understand and predict the behavior of rotating systems, such as gyroscopes and spinning objects.

2. How are normalized angular rotation/position equations different from regular rotational equations?

Normalized angular rotation/position equations take into account the concept of normalization, which means that the angular position and velocity are measured relative to a fixed reference frame. This allows for a more accurate and consistent representation of rotational motion.

3. What are the variables used in normalized angular rotation/position equations?

The variables used in normalized angular rotation/position equations are angular position (θ), angular velocity (ω), and time (t). These variables are all measured in radians and seconds, respectively.

4. How do normalized angular rotation/position equations relate to Newton's laws of motion?

Normalized angular rotation/position equations are based on the principles of Newton's laws of motion, specifically the second law which states that the net force acting on an object is equal to its mass times its acceleration. In rotational motion, this translates to the torque (force that causes rotation) being equal to the moment of inertia (mass distribution) times the angular acceleration.

5. What are some real-world applications of normalized angular rotation/position equations?

Normalized angular rotation/position equations have many practical applications, such as in the design and analysis of rotating machinery, navigation systems, and spacecraft control systems. They are also used in sports science to understand the movements of athletes and in robotics to control the motion of robotic arms and joints.

Similar threads

Replies
7
Views
1K
Replies
8
Views
936
Replies
7
Views
986
Replies
1
Views
1K
Replies
1
Views
779
  • General Math
Replies
4
Views
1K
  • Precalculus Mathematics Homework Help
Replies
1
Views
529
  • Introductory Physics Homework Help
2
Replies
54
Views
2K
  • General Math
Replies
11
Views
5K
Back
Top