The attitude sensor is a high-precision measuring instrument,and its output data is easily affected by temperature.To ensure working accuracy,it needs to be temperature compensated.As an important part of attitude sensor calibration,temperature compensation has become an important research field of attitude sensor error compensation.This paper studies and designs a set of temperature error compensation system,which eliminates the error of attitude sensor data caused by temperature change and improves the data accuracy of attitude sensor.The main contents include:1.In order to solve the problems of control delay and overshoot in temperature compensation systems,the radiation model is established by studying the radiation principle of quartz lamp;A sensor temperature response model was established by collecting sensor temperature response data.In order to eliminate the temperature delay error of the system,a double fuzzy PID temperature control method based on the temperature delay system is proposed to improve the compensation accuracy of the attitude sensor.2.In order to solve the problem of identifying anomalies such as coarse errors and false numbers in the data caused by environmental and human factors during attitude sensor compensation,local outlier detection(LOF)algorithm and Grubbs algorithm were studied.The K nearest neighbor(KNN)algorithm is researched to predict and complete the data.3.In order to solve the problem of precise modeling of attitude sensor temperature error,the basic principle of least squares support vector machine algorithm was studied,and the firefly algorithm was introduced to optimize the least squares support vector machine,which improved the precision of attitude sensor temperature error compensation.4.Design of the temperature compensation system.In order to solve the problem that data collection is not accurate caused by incomplete heating at extreme angles of the system,the attitude follower control system of heating equipment is adopted.Through the analysis and demonstration of different modules,the upper computer interface and the lower computer main control system of the system are designed.In this paper,a temperature compensation system for attitude sensor is designed and implements,and the system experiment shows that the temperature compensation results can meet the requirements of the attitude sensor temperature error index. |