摘要
针对智能小车自动循迹的要求,提出由车体模块、电源模块、单片机控制模块、电机驱动控制模块、电机模块、传感器模块等构成智能小车硬件系统,利用Keil u Vision2集成开发工具进行C51高级语言程序设计,开发出控制软件。利用红外传感器检测小车的循迹轨道,并以STC89C52RC单片机为控制芯片根据接收的轨迹信息发出相应的控制指令,通过L298N驱动控制模块来驱动小车以实现循迹的系统总体设计方案,并采用了"反转式转向模式"和"反转式刹车模式"。实验结果表明,该智能小车硬件系统各模块选择合理,控制软件高效可行,小车整体性能优良,成功实现了自动循迹的功能,且采用"反转式转向模式"和"反转式刹车模式"实现了极好的转向及刹车效果。
For the purpose of intelligent car automatic tracking,we put forward that an intelligent car's hardware system which is composed of a vehicle body module,power supply module,MCU control module,motor drive control module,motor module and sensor module. The Keil u Vision2 integrated development tool C51 programming to is used to develop control software. Infrared sensors is used to detect car tracking trajectory. STC89C52 RC MCU sends the corresponding control command according to the track information received. L298 N drive control module is used to drive the car in order to achieve the overall design of the system tracking,and the "reversal type steering mode"and "reverse brake mode"are also used. Experimental results show that the intelligent car hardware modules selection is reasonable,control software is feasible and efficient,overall performance of the car is excellent. It successfully implements the automatic tracking function,and the application of "reversal type steering mode"and "reverse brake mode"achieves excellent steering and braking effect.
出处
《实验室研究与探索》
CAS
北大核心
2015年第3期142-145,共4页
Research and Exploration In Laboratory
基金
承德医学院大学生科研基金项目(201471)