论文部分内容阅读
在捷联寻北方位角解算时,采用查表法计算反正切函数存在占用存储空间大和代码执行效率低这两个问题。根据寻北精度对角度计算的要求,提出了一种近似计算角度的方法,该方法首先根据捷联寻北方位角解算时的数据特点将角度分成8个区间,然后在8区间细分的基础上对反正切函数进行分段线性化。给出反正切函数的分段线性方程并通过计算得出该方法的误差不超过3″,完全满足寻北精度的要求,该方法占用存储空间为22 kB,是直接查表法的1/153。采用单片机实现时代码的执行效率明显高于轮询查表法。
When finding the north azimuth of the strapdown, the two problems of using the look-up table to calculate the arc tangent function occupy a large storage space and the code execution is inefficient. According to the requirement of North seeking accuracy, a method of approximate calculation of angle is proposed. The method first divides the angle into 8 intervals based on the data characteristics of the Azimuth Azimuth solve, and then subdivides it in 8 intervals Based on the arc tangent function piecewise linearization. The piecewise linear equation of arc tangent function is given and the error of this method is calculated to be no more than 3 ", which fully satisfies the requirement of seeking north precision. The method takes up 22 kB of storage space, which is 1/153 The implementation efficiency of the code using SCM is obviously higher than that of polling.