摘要
本文介绍了单片机控制的自动往返电动车的工作原理、相应的控制电路以及软件编程方法。利用PWM技术和独特的软件算法控制电动机的转速,实现了小车在运动过程中的精确定位。
Based on two microcontrollers, 89C52 and 89C2051, the model vehicle can race intelligently by detecting black lines on the ground. Reflecting-infrared sensors are applied to detect black lines, and photoelectric switchers are used in speed and distance detection. By introducing PWM to the system, we are able to control motor revolving speed dynamically and precisely. And one of the most striking features of the design is its software algorithm which enables the vehicle to stop at the final line with high accuracy.
出处
《微计算机信息》
北大核心
2007年第26期143-144,301,共3页
Control & Automation
基金
国家重点基础研究发展计划973计划的资助高压超浓相气固两相流流型测量研究(2004CB217702-04-01)颁发部门:中华人民共和国科学技术部
关键词
单片机
反射式红外传感器
PWM技术
Microcontrollers, Reflecting-infrared sensors, PWM technology