Abstract:The measurement accuracy of tilt angle directly detemines the effect of the state control system. On the basis of studying single sensor tilt angle mensurement, this paper discusses the method using sensor data fusion technology in tilt angle measuresment. Firstly, the tilt angle measurement principle based on accelerometer and gyroscope is analyzed, and the frequency characteristics of accelerometer and gyroscope measurement results are studied. Secondly, the complementary filter is selected as the data fusion method according to the frequency characteristics of accelerometer and gyroscope measurement results. Finally, the quantumbehaved particle swarm optimization (QPSO) algorithm is introduced as the parameter optimization method of the complementary filter, and the parameter optimization effects of QPSO and particle swarm optimization (PSO) algorithms are conpared in this paper. The experiment results show that the complementary filter can accurately measure the tilt angle in a wide frequency range, and QPSO algorithm has better parameter optimization effect than PSO algorithm.