PlanetPhysics/Euler Angle Velocity of 321 Sequence

From testwiki
Jump to navigation Jump to search

The method of deriving the [[../EulerAngleVelocity/|Euler angle velocity]] for a given sequence is to transform each of the derivatives into the [[../CosmologicalConstant/|reference frame]]. Remember that an [[../EulerAngleSequence/|Euler angle sequence]] is made up of three successive rotations. In other words, the angular [[../Velocity/|velocity]] ψ˙ needs one rotation, θ˙ needs two and ϕ˙ needs three.

ω=R1(ψ)R2(θ)R3(ϕ)[00ϕ˙]+R1(ψ)R2(θ)[0θ˙0]+R1(ψ)[ψ˙00]

Carrying out the [[../Matrix/|matrix multiplication]] with R1(ψ)R2(θ)R3(ϕ) being the [[../Euler321Sequence/|Euler 321 sequence]] R1(ψ)R2(θ)=[cθ0sθsψsθcψsψcθcψsθsψcψcθ]

and

R1(ψ)=[1000cψsψ0sψcψ]

gives us

[ωxωyωz]=[sθϕ˙sψcθϕ˙cψcθϕ˙]+[0cψθ˙sψθ˙]+[ψ˙00]

Adding the [[../Vectors/|vectors]] together yields

[ωxωyωz]=[sθϕ˙+ψ˙sψcθϕ˙+cψθ˙cψcθϕ˙sψθ˙]

Of course, we also wish to have the Euler angle velocities in terms of the angular velocities which requires us to solve the linear equations for them. Using a [[../SupercomputerArchitercture/|program]] like Matlab makes it easy for us to get

[ϕ˙θ˙ψ˙]=[(ωysψ+ωzcψ)sec(θ)ωycψωzsψωx+ωysψtθ+ωzcψtθ]

In matlab solving for the Euler angle velocites can be done with the following commands. Using the notation Ax=b, we want to solve for x, such that x=A1b. For our problem then

{\emph syms wx wy wz phd thd psd [[../LargeHadronCollider/|SPS]] cth cps b x A;

b = [wx wy wz]';

x = [phd thd psd]';

A = [ -sth 0 1; sps*cth cps 0; cps*cth -sps 0];}

and solve for the angle velocites with the command

x = inv(A)*b

Note that matlab spits out extra sine and cosine terms that just equal 1 through

sψ2+cψ2=1

The shorthand notation used in this article is

sψ=sin(ψ) cψ=cos(ψ) tψ=tan(ψ)

Template:CourseCat