Abstract:During actual flight, aircraft may be affected by external disturbances such as wind and airflow, which can cause the trajectory of the aircraft to deviate from the expected trajectory, resulting in errors in the state information of the aircraft obtained by sensors. To provide timely feedback on the flight status of the aircraft, a flight path adaptive control system based on the improved Zunhei scabbard swarm algorithm is designed. Modify attitude angle measurement sensors, position measurement sensors, airspeed sensors, etc., adjust the internal structure of the processor and trajectory controller, and achieve optimized hardware system design. Based on the flight mission of the aircraft, plan the expected trajectory of the aircraft as the control target of the system. By using the improved Zunhei scabbard swarm algorithm to adaptively detect the position and posture of aircraft, calculate flight environment parameters such as air pressure and wind speed. Considering the interference of flight environment, by comparing the current position and posture of the aircraft with the target trajectory, the solution results of the aircraft trajectory control variables are obtained. Through the execution of control commands, the system"s trajectory adaptive control function is achieved. The experimental results show that the average deviation values of the straight and curved trajectory control of the aircraft under the designed system application are 0.8km and 2.1km, respectively, and the vibration amplitude value of the aircraft is 2.5db.