Research, design, simulation and implementation of an automatic flight control system for a real-time flight simulator