• 首页
  • 期刊简介
  • 编委会
  • 投稿指南
  • 收录情况
  • 杂志订阅
  • 联系我们
引用本文:李碧月.基于闭环控制算法和PID优化算法的智能小车软件系统设计[J].软件工程,2016,19(9):5-10.【点击复制】
【打印本页】   【下载PDF全文】   【查看/发表评论】  【下载PDF阅读器】  
←前一篇|后一篇→ 过刊浏览
分享到: 微信 更多
基于闭环控制算法和PID优化算法的智能小车软件系统设计
李碧月
(中国农业大学信息与电气工程学院电子工程系,北京 100083)
摘 要: 在全国大学生“飞思卡尔”杯智能汽车竞赛的背景下,设计出一种能够自动识别路径、跟踪赛道双边引导 线的智能小车软件控制系统。智能小车以飞思卡尔(Freescale)公司的MC9S12XS128为检测和控制核心,根据不同的环 境状况动态确定黑白二值化阈值之后,对摄像头采集到的图像进行处理,从而准确判断不同类型的赛道,进一步控制舵 机和电机。使用舵机转向闭环控制算法和电机速度闭环控制算法,结合经典的PID控制算法,实现直道加速、弯道减速 的优化。智能小车最终可以在黑色双边引导线的白色背景赛道上自动识别路径行驶。
关键词: 智能小车;MC9S12XS128;图像处理;闭环控制;PID控制
中图分类号: TP311    文献标识码: A
Design of Smart Car Software System Based on Closed-Loop Control Algorithm and PID Optimization Algorithm
LI Biyue
( Dept. of Electronic Engineering, College of Information and Electrical Engineering, China Agricultural University, Beijing 100083, China)
Abstract: Under the background of "Freescale" cup national college students smart car competition,design a control system software.Under this system,the smart car can automatically identify paths and trace the track of bilateral guide line.Tracking smart car system is designed based on the control chip of system of Freescale MC9S12XS128 MCU.After determine the black and white binarization threshold according to the different environmental conditions,run a series of processing on the images captured by the camera.Then,make an accurate judgment in the different shapes of the circuit to further control of steering gear and motor.Using steering gear steering closed-loop control algorithm and motor speed closedloop control algorithm,combined with the classic PID control algorithm to achieve optimization of car was straight-line acceleration,deceleration in bend.Smart car could eventually automatically identify route which has the bilateral guide line of the white on black background and run steadily
Keywords: smart car;MC9S12XS128;image processing;closed-loop control;PID control


版权所有:软件工程杂志社
地址:辽宁省沈阳市浑南区新秀街2号 邮政编码:110179
电话:0411-84767887 传真:0411-84835089 Email:semagazine@neusoft.edu.cn
备案号:辽ICP备17007376号-1
技术支持:北京勤云科技发展有限公司

用微信扫一扫

用微信扫一扫