摘要
CORDIC算法是用于计算三角、反三角、指数、对数等超越函数的简捷算法。将该算法应用在以单片机为核心的三轴电子罗盘中,用于实现罗盘的倾斜补偿并计算俯仰角、横滚角和航向角。实验表明,该算法可有效地在单片机上运行,能够较好地兼顾计算精度与效率,有实用价值。
CORDIC is an efficient algorithm for computing transcendental functions including trigonometric, inverse trigonometric, exponential and logarithmic functions. It has been applied to a 3-axis digital compass, which uses micro-controller as the control unit, for tilt-compensation and the calculation of pitch, roll and heading. Experiments show that the algorithm can run effectively on the micro-controller and keep a fair trade-off between accuracy and efficiency, and its practicality is demonstrated.
出处
《电子技术应用》
北大核心
2010年第6期144-147,共4页
Application of Electronic Technique
基金
广西研究生教育创新计划资助项目(2009105950804M32)