模型车智能轨迹跟踪控制系统设计
Design of Intelligent Trajectory Tracking Control System for Model Cars
-
摘要: 模型车轨迹跟踪控制系统是以Freescale公司的HCS12系列单片机MC9S12DG128B作为主控制芯片, 采用红外光电传感器来检测白色跑道上的黑色导引线, 通过控制舵机的转角来操纵小车前进的方向的智能控制系统。它通过PID算法对模型车的转向和速度进行闭环控制, 从而实现了优秀的路径搜索和良好的轨迹跟踪。实践表明, 该系统运行稳定可靠。Abstract: The microcontroller MC9S12DG128B of Freescale HCS12 was used as the main control chip of the trajectory tracking control system for model cars. The infrared photoelectric sensor detected the black guide line on the white runway. The direction of the car was controlled by rotating a steering gear. The closed loop control was realized for model carS through PID algorithm and speed. As a result, the exact path search and correct trajectory tracking were realized. Experiment showed that the operation of the system was stable and reliable.