摘要
本文根据第二届飞思卡尔杯全国大学生智能车竞赛的比赛要求,设计出了一辆基于MC9S12DG128单片机的智能寻迹小车,介绍了系统设计思想,硬件结构及软件设计。单片机通过红外传感器采集路径信息,处理后产生PWM信号控制电机转动,采用霍尔传感器做速度检测,从而实现闭环控制。
A smart auto-tracking vehicle using MC9S12DG128 chip as its controller is designed in this paper to meet the requirements of the Second FReescalecar Cup Competition for university and college students in China. And the ideas of the design and hardware construction are introduced in the paper as well as the design of software. The track information acquisition is done by infrared sensor. After the data being treated by the controller PWM signal is generated to control the movements of motors. The vehicle velocity is detected by Hall sensor and feedback to the controller forming close-loop control for better control effect.
出处
《微计算机信息》
北大核心
2008年第35期103-104,115,共3页
Control & Automation