[摘要] 智能化是当今社会的新产物,也一个重要的发展方向在将来,未来智能化主要体现在不管理就可以按照人类的意愿需要人为的去控制就可以完成各项功能。这篇文章主要讲述以单片机为主控制芯片的多功能智能小车的系统控制过程。多功能智能小车是以自动引导机器人系统为基础的,可用以实现智能小车自动循迹,可以选择出正确的线路。多功能智能小车是一个运用传感器、单片机、电机驱动及自动控制等技术来实现按照预先设定的模式下,不受人为管理时能够自动实现循迹导航的高新科技。该技术已经应用于无人驾驶机动车,无人工厂,仓库,服务机器人等多种领域。
整个智能小车的设计主要是以STC89C52为主控制的核心,利用无线遥控功能来实现智能小车的各项运动,以及对智能小车各种功能模式的切换;采用了红外线光电传感器和接收器,实现智能小车的进行自动避障和循迹两种功能。这篇设计的各个模块都是独立的,综合的分析与对比,选择出实用性最强的方案来设计。从最智能小车的小系统到红外循迹功能和避障功能,都是非常谨慎的选择与对比试验才得出的结论。经过一系列的调试与检测,才得到准确的信号,将应该有的功能实现出来。在单片机的控制下,可以将各模块整合在一起,达到所预期的设计想法,成功的完了本次的设计与制作,可以使智能小车实现智能化的各种功能。
[关键词]智能小车 避障 循迹 智能化
[Abstract] Intelligence is an important direction for the future development as a new product of modern society. It can operate automatically in a specific environment according to the predetermined pattern and will be able to complete the intended target without user’s management. This paper discusses the intelligent tracing electric trolley control process. Automatic tracing is used to make the car indentify route automatically , and choosing the right route, based on the automatic guide robot system. Intelligent tracing electric trolley is an advanced technology to realize automatic tracing navigation.
This dissertation discusses mainly on the design of the intelligent car in single-chip processor as the control core. To realize the car moving around and transform the mode of the small car function, it uses wireless remote control; to realize the small car obstacle-avoidance function and comprehensively car tracing function, it uses the infrared sensor. This excogitation adopts the research methods of contrast selected, independent modules, comprehensive treatment method. After the comparison between Pros and cons, the best program design will be elected combining with the actual situation. It is complete in accordance with the rigorous scientific attitude from the smallest systems to the wireless remote control, infrared tracking and ultrasonic obstacle avoidance. The right signal outputs can be gotten to achieve its function by the debugging detection module. Finally on the commissioning of the module into the bodywork of the car, with procedure and by single-chip processor control, it will be effectively integrated with the module, achieve the intended objectives, final design and production that can make cars intelligently operate in a certain circumstances.
[Key words] Intelligent toy car; Obstacle avoidance; tracking; Intelligent
目录
第1章 绪论…………………………………………………………………………………………… 4
1.1研究的背景和意义……………………………………………………………………… 4
1.2国内外发展现状…………………………………………………………………………. 5
第2章 系统方案设计…………………………………………………………………………… 8
2.1 主控制系统………………………………………………………………………………. 8
2.2电源模块……………………………………………………………………………………. 9
2.3 电机模块………………………………………………………………………………….. 9
2.4循迹模块………………………………………………………………………………….. 10
2.5避障模块………………………………………………………………………………….. 10
2.6测速模块…………………………………………………………………………………… 11
2.7显示模块…………………………………………………………………………………… 11
第3章硬件设计……………………………………………………………………………………… 13
3.1系统硬件设计…………………………………………………………………………… 13
3.2电机驱动…………………………………………………………………………………… 14
3.2.1电机驱动原理………………………………………………………………….. 15
3.3循迹电路…………………………………………………………………………………… 16
3.4避障检测电路…………………………………………………………………………… 17
3.5测速电路………………………………………………………………………………….. 18
3.6显示电路………………………………………………………………………………….. 19
3.7复位电路………………………………………………………………………………….. 19
3.8晶振电路…………………………………………………………………………………… 20
3.9单片机最小系统……………………………………………………………………….. 21
第4章 软件设计……………………………………………………………………………………. 22
4.1主程序模块设计………………………………………………………………………… 22
4.1.1主程序的设计………………………………………………………………….. 23
4.2电机驱动程序设计…………………………………………………………………….. 24
4.2.1电机驱动程序图…………………………………………………………….. 24
4.2.2电机驱动程序的设计……………………………………………………….. 25
4.3循迹程序设计…………………………………………………………………………… 27
4.3.1循迹流程图……………………………………………………………………. 27
4.3.2循迹程序……………………………………………………………………… 27
总结……………………………………………………………………………………………………… 30
致 谢………………………………………………………………………………………………….. 31
参考文献………………………………………………………………………………………………. 32
附录……………………………………………………………………………………………………… 33