外观
Quadrotor Dynamics
429字约1分钟
2025-01-29
We consider an ideal dynamical model of quadrotor. We define the world W and body B frames with the orthonormal basis:
{xW,yW,zW},{xB,yB,zB}
The frame B is at the root of the quadrotor. Symbols with subscript mean variables under the corresponding coordination frame. The system dynamics can be expressed by the following equations:
p˙Wq˙Bv˙Wω˙BΩ˙=vWqB⋅[0ωB/2]⊤m1(qB⊙f)+gWJ−1(τ−ωB×JωB)Tm(Ωcmd−Ω)
where p,q,v,ω,Ω represent position, quaternion, velocity, body rate (angular velocity), propeller rotation speed, respectively. Ωcmd is the command of rotational speed, and Tm is the motor time constant, which can be estimated by rotational speed testing. J=diag(Ix,Iy,Iz) denotes diagonal moment of inertia matrix. m is the mass of quadrotor. Note the quaternion-vector product is denoted by ⊙ representing a rotation of the vector by the quaternion as in q⊙v=qvq−, where q− is the quaternion’s conjugate. gW=[0,0,−9.81]⊤ denotes gravity. f and τ are the collective force and the torque produced by all propellers. The quantities are calculated as follows:
f=i∑fi,τ=i∑τi+rP,i×fi
where rP,i denotes the location of propeller i expressed in the body frame, fi and τi are forces and torques generated by the ith propeller, where we have:
fi(Ω)=[00cl⋅Ω2]⊤,τi(Ω)=[00cd⋅Ω2]⊤
where cl and cd are corresponding thrust and drag coefficients that can be obtained by system identification.