现代电子技术
現代電子技術
현대전자기술
Modern Electronics Technique
2015年
19期
152-155
,共4页
何华光%梁超%殷金伟%张虎
何華光%樑超%慇金偉%張虎
하화광%량초%은금위%장호
ARM/STM32F103%遗传PID算法%智能小车%智能整定
ARM/STM32F103%遺傳PID算法%智能小車%智能整定
ARM/STM32F103%유전PID산법%지능소차%지능정정
ARM/STM32F103%genetic PID algorithm%intelligent car%intelligent adjusting
为了提高智能小车的智能化以及抗干扰性能和鲁棒性,介绍一种基于ARM与遗传算法的智能小车的设计。小车应用ST公司的32位单片机STM32F103芯片为控制器,同时外部连接红外传感器,并通过遗传算法整定PID参数,实现更好的循迹行驶。给出了部分硬件电路图和软件流程图、算法的流程图以及相关的源代码。实践证明,采用遗传PID算法的智能小车具有更强的抗干扰性、鲁棒性并且更具智能化。
為瞭提高智能小車的智能化以及抗榦擾性能和魯棒性,介紹一種基于ARM與遺傳算法的智能小車的設計。小車應用ST公司的32位單片機STM32F103芯片為控製器,同時外部連接紅外傳感器,併通過遺傳算法整定PID參數,實現更好的循跡行駛。給齣瞭部分硬件電路圖和軟件流程圖、算法的流程圖以及相關的源代碼。實踐證明,採用遺傳PID算法的智能小車具有更彊的抗榦擾性、魯棒性併且更具智能化。
위료제고지능소차적지능화이급항간우성능화로봉성,개소일충기우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.