下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、QuaternionsSebastian O.H. Madgwick September 24, 2011A quaternion is a four-dimensional complex number that can be used to represent the orientation of a rigid body or coordinate frame in three-dimensional space. An arbitrary orientation of frame B relative to frame A can be achieved through a rotat
2、ion of angle around an axis Ar defined in frame A. This is represented graphically in figure 1 where the mutually orthogonal unit vectors xA, yA and zA, and xB, yB and zB define the principle axis of coordinate frames A and B respectively. The quaternion describing this orientation, ABq, is defined
3、by equation (1) where rx, ry and rz define the components of the unit vector Ar in the x, y and z axes of frame A respectively. A notation system of leading super-scripts and sub-scripts adopted from Craig 1 is used to denote the relative frames of orientations andvectors. A leading sub-script denot
4、es the frame being described and a leading super-scriptdenotes the frame this is with reference to. For example, A q describes the orientation ofBframe B relative to frame A and Ar is a vector described in frame A. Quaternion arithmetic often requires that a quaternion describing an orientation is f
5、irst normalised. It is therefore conventional for all quaternions describing an orientation to be of unit length.zAzBAryByAxAxBFigure 1: The orientation of frame B is achieved by a rotation, from alignment with frameA, of angle around the axis Ar.A q = q0qq3 = cosr2sinrsinr(1)q1sinxyzB2222Thequatern
6、ionconjugate, denotedby, canbe usedtoswaptherelativeframesdescribedby an orientation. For example, B q is the conjugate of A q and describes the orientation ofABframe A relative to frame B. The conjugate of A q is defined by equation (2).B1A q= B q= q0qqq3(2)BA12The quaternion product, denoted by ,c
7、an be used to define compound orientations.For example, for two orientations described by A q and B q, the compounded orientation A qBCCcan be defined by equation (3).A CBA q(3)q=qCBFor two quaternions, a and b, the quaternion product can be determined using the Hamilton rule and defined as equation
8、 (4). A quaternion product is not commutative; that is, a b 6= b a.a b =b3a0a1a2a3b0b1 b20 b0 a b1 1 a b22 a b 3 3 T a0b 1+ a b1 +0 a b 2 3a b 3 2 a0b 2 a b1 +3 a b 2+0a b 3 1 a0b3 + a1b2 a2b1 + a3b0a(4)=A three dimensional vector can be rotated by a quaternion using the relationship de- scribed in
9、equation (5) 2.Avand Bv are the same vector described in frame A and frameB respectively where each vector conta element row vectors.a 0erted as the first element to make them 4B v =AAAq v (5)definedqBBA RThe orientation described by A q can be represented as the rotation matrixBBby equation (6) 2.2
10、(q1q2 + q0q3)2(q1q3 q0q2)22 2q01 + 2q 1A R =222(q1q2 q 0q3 )2 1 + 2(6)q2(q2q3+ q q0 )1q0B22232(q q q q )2 1 + 2q2(q1q3 + q0q2)2 30 1q0A quaternion may be obtain from a rotation matrix using the inverse of the relationshipsdefined in (6); however,ome practical applications an available rotation matri
11、x may notbe orthogonal and so a more robust method is prefered. Bar-Itzhack provides a method 3 to extract the optimal, best fit quaternion from an imprecise and non-orthogonal rotation matrix. The method requires the construction of the symmetric 4 by 4 matrix K (equation(7) where rmn corresponds t
12、o the element of the mth row and nth column of AR. The optimalBquaternion, A q, is found as the normalised Eigen vector corresponding to the maximumBEigen value of K. This is defined by equation (8) where v0 to v3 define the elements of the normalised Eigen vector.r23 r32r21 + r12 r22 r11 r33r32 + r
13、23 r31 r132r11 r22 r33 r21 + r12r31 + r13r31 r1313r32 + r23K =(7)r33 r11 r22r12 r21+ r13r31r23 r32r12 r21r11 + r22 + r33A q = v3(8)achieved by thev0v1v2BThe ZYX Euler angles , and describe an orientation of frame Bsequential rotations, from alignment with frame A, of around zB, around yB, and around
14、 xB. This Euler angle representation of A q can be calculated 4 using equations (9)Bto (11).223! = atan2 2(q qq 1 + 2q(9), 2qq23010p 2(q1 q3 + q0 q2 ) = arctan(10)1 (2q1q3 + 2q0q2)2221 = atan2 2(q q1 2, 2q 1 + 2q(11)q q030References1John J. Craig. Introduction to Robotics Mechanics and Control. Inte
15、rnational, 2005.Pearson Education2J. B. Kuipers. Quaternions and Rotation Sequences: A Primer with Applications to Orbits, Aerospace and Virtual Reality. Princeton University Press, 1999.Itzhack Y Bar-Itzhack. New method for extracting the quaternion from a rotationma- trix. AIAA Journal of Guidance, Control and Dynamics, 23(6):10851087, Nov.Dec 2000. (Engineer
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 5.2.解二元一次方程组 练习题及答案
- 2026年校园餐整治回头看工作方案范文
- 6-4-Carboxyphenoxy-2-naphthoic-acid-生命科学试剂-MCE
- 5-Adamantan-1-yl-isophthalic-acid-生命科学试剂-MCE
- 烟台成考数学试题及答案
- 2026年电子元器件行业新人群应用需求报告及市场预测
- 2026年新能源汽车行业政策解读与市场前景报告
- 2026年生物科技行业绿色产品研发趋势报告
- 2026年养老护理行业报告:养老护理市场现状、趋势及未来发展
- 2026年物联网行业分析报告:用户画像与市场潜力
- 职业道德与职业素养培训课件
- 2026半导体芯片行业市场现状及技术发展趋势分析报告
- 2026汽车租赁行业市场发展分析及竞争格局与商业模式优化报告
- T/CI 605-2024固定污染源烟气氨排放连续监测技术规范
- ISO9001-2026 DIS标准条款解读-内审员培训课件
- 基层医疗机构抗菌药物临床应用考核试题库(适配国家基本药物目录)
- 2026-2030中国电动摩托车行业市场发展现状及竞争格局与投资前景研究报告
- 2026陕西延长石油集团统一招聘笔试真题(完整版+手写阅卷版答案解析)
- 高中学业水平合格性考试人教版地理必修一、二必背考点复习提纲
- 2025年房地产估价师《土地估价基础与实务》真题及答案解析回忆版
- 北京信息科技大学《高等数学(1)》2025-2026学年第一学期期末试卷(B卷)
评论
0/150
提交评论