基于CORDIC算法的360°角度传感器的设计
Design of 360° Angle Sensor Based on CORDIC Algorithm
-
摘要: 一维霍尔板型角度传感器无法测量0~360°的角度,采用4个霍尔器件的联合测角技术和CORDIC算法可实现0~360°范围内的角度测量。文章详细描述了4个霍尔器件联合测角技术的测角原理及实现算法,并引入了符号幅值表示法,即先利用正弦和余弦的幅值进行0°~90°范围内的反正切CORDIC运算,再根据正弦和余弦正负号(符号)的不同组合实现角度从0°~90°到0°~360°的映射。Modelsim平台仿真验证了该方法的准确度和精度,仿真误差小于0.01%,实测总误差不大于0.05°。Abstract: One-dimensional Hall type angle sensor couldn’t measure angle from 0° to 360°,while(combined) angle measuring(technology) using four Hall devices and CORDIC algorithm could realize it.The paper described angle measuring principle and implementing algorithm of combined angle measuring(technology) using four Hall devices in details.And it introduced signed-magnitude notation,which used(amplitude) of sine and cosine to do arctangent CORDIC algorithm in 0°90° firstly,then realized angle mapping from 090° to 0360° according to different combination of positive or negative sign of sine and cosine(sign).Simulation on Modelsim platform verified accuracy and precision of the method,with error less than(0.01%.) Total error of actual measurement was no more than 0.05°.