摘要
为了提高智能小车的智能化以及抗干扰性能和鲁棒性,介绍一种基于ARM与遗传算法的智能小车的设计。小车应用ST公司的32位单片机STM32F103芯片为控制器,同时外部连接红外传感器,并通过遗传算法整定PID参数,实现更好的循迹行驶。给出了部分硬件电路图和软件流程图、算法的流程图以及相关的源代码。实践证明,采用遗传PID算法的智能小车具有更强的抗干扰性、鲁棒性并且更具智能化。
To improve the intelligence,anti?interference performance and robustness of the intelligent car,the design of in?telligent car based on ARM and genetic algorithm is introduced. The STM32F103 chip with 32?bit of ST Microelectronics is adopted as the controller in the car. It is connected with infrared sensor by outer join. PID parameter is adjusted with genetic algorithm to achieve the better tracking driving. The partial hardware circuit diagrams,software flow charts,algorithm flow chart and the re?lated source code are provided in this paper. The practice results prove that the intelligent car using genetic PID algorithm has better anti?interference performance,robustness and intelligence.
出处
《现代电子技术》
北大核心
2015年第19期152-155,共4页
Modern Electronics Technique
基金
国家创新训练项目(201410593066)