Design of Tracking Car System Based on Single Chip Microcomputer
Abstract
In order to work in a small or dangerous environment, this topic is specially designed to replace the human beings to complete the established tasks.The tracking car designed in this paper is combined with hardware and software. The part of hardware includes the selection and design of the microprocessor, motor drive, tracking, obstacle avoidance, communication and other modules. At the same time, software part includes the design of subfunction program and system program. Through the joint debugging of software and hardware, the design finally realized all expected functional indicators. In the future, on the basis of this design, it is also possible to add an automatic wireless charging module, so that the fully automatic operation can be realized. And the production efficiency is further improved.
Key words
Arduino;Infrared tube;L298N;PWM speed regulation;Bluetooth
Introduction
The research of intelligent cars is very necessary. lts development may be of vital importance to our future life. So intelligent cars have not only much research significance in the current, but also a broad prospect and inestimable market value. In practical applications, intelligent robots can play a role in situations that human cannot approach, such as various military robots, exploration robots. In our daily life, we also have medical robots, handling robots and so on.
This design takes the omni-directional robots as the research object. Through the analysis of trajectory-tracking, an intelligent car is built which can track the trajectory on the ground automatically. Specific technical requirements are as follows:
- Track the trajectory automatically by the infrared tube.
- Stop When the sensor detects an obstacle.
- Adjust the speed by O-Click.
- The OLED displays the state of the car synchronously.
- Voice module broadcasts the state of the car.
Outline
1.Hardware design
According to the project brief, the system circuit schematic diagram is shown in Figure 1.
2.Software design
System flowchart is shown in Figure 2.
3.Joint debugging
- Motor debugging
The result of motor debugging is shown in Table 1.
.
- Ranging debugging
The result of ranging debugging is shown in Figure 3.
Figure 3. The result of ranging debugging
Conclusion
The advantages of this design are as follows:
- Because of the idea of modular design, this system has both expansibility and upgradability.
- Singlechip is adopted as the core of control system, which has the advantages of flexibility and stability.
- The infrared transmitting and receiving tube can effectively avoid the interference of visible light to the system and has better stability than the camera.
- The structure of bipolar h-type thyristor can quickly respond to the control signal.
The disadvantages of this design are as follows:
- Many extension modules can be transplanted. However, due to limited time, this design cannot fully realize.
- The speed of the tracking car needs to be improved.
References
[1]段颖康.基于光电传感器自动寻迹智能小车位置信息采集模块[J].新特器件应用,2004,12,22(3):20-25.
[2]Richard Barett(著),周俊杰(译).嵌入式C编程与ATMEL AVR[M].北京:清华大学出版社,2009,200-220.
[3]黄迪明.软件技术基础[M].成都:高等教育出版社,2006,150-160.
[4]孔令淑,刘涛.基于MC9S12XS128单片机的智能循迹小车的硬件设计[J].技术研发,2009,7,20(2):30-35.
[5]安岩.自动循迹智能小车的设计[J].苏州科技学院学报,2009,1,18(2):32-35.
[6]马忠梅,李月香.单片机内部资源的C语言编程[J].微计算应用,1997,15(3):42-46.
[7]郭亮,谭立伟.基于单片机的新型智能小车研制设计[J].西南交通大学,2008,15(3):32-35.
[8]谭浩强.C程序设计[M].北京:清华大学出版社,2009,100-150.
[9]董涛,刘进英,蒋苏.基于单片机的智能小车的设计与制作[J].计算机测量与控制,2009,23(3):33-35.
[10]王娟娟,曹凯.基于栅格法的机器人路径规划[J].农业装备与车辆工程,2009,6(2):55-60.
[11]杨兵,刘伟杰.一种基于可视图的机器人避障路径规划[J].电脑知识与技术,2009,28(5):12-16.
[12]陈伯时.电力拖动自动控制系统[M].北京:机械I业出版社,2010,100-120.
[13]赵负图.传感器集成电路于册[M].北京化学工业出版社,2008,80-90.
[14]朱清慧,张凤蕊.Proteus教程[M].北京:清华大学出版社,2008,230-250.
[15]D.L.Wailar,S.Elangovan,A.C.Liew.Fault Impedance Estimation Algorithm for Digital Distance Relaying. IEEE Trans,Power Delivery,1994,9(3):1375-1383.
[16]Adly A Girgis,David G.Hart,Willian L.Peterson.A new fault location technique For two and three terminal lines.Transactions on power Delivery,1992,7(1):98-107.
[17]石华军,赵舫.基于单片机的测距算法[J].浙江电力,1998,17(6):1-3.
[18]陈铮,苏进喜,吴欣荣等.基于单片机小车模型寻迹方法研究[J].微型机应用,2000,24(11):31-33.
[19]安艳秋.基于微机的小车行驶轨迹控制方法[D].硅谷,2003,31(6):42-45.
[20]黄培根.精通MULTISIM 10[M].杭州:浙江大学出版社,2007,120-130.