摘要
针对目前无人驾驶领域主要集中在公路,比赛和循迹环境中,而一般室内自动寻路智能小车技术应用的不足,旨在设计一种适合服务于室内,满足室内无人设备需求的智能小车。STC89C52单片机为控制芯片,使用双H桥式简化驱动模块与一对减速齿轮电机实现小车的行进与转向功能,利用三路HC-SR04超声波传感器进行测距和反馈,同时设计了防偏移反馈调节程序防止小车偏离中线,使用PCB板制作既稳定又利于转向的三轮底盘,最后运用右边遍历的深度优先搜索算法在逻辑运算下控制小车,实现走出模拟室内迷宫的功能。实验证明小车可以走出一个模仿室内环境的迷宫。该方法与其他现有的方法相比,具有稳定、微小、动力好、低功耗、智能化等特点。
At present,the field of unmanned driving is mainly concentrated in the environment of highway,race and tracking,while the general indoor automatic wayfinding intelligent car technology application is insufficient,this paper designs a kind of intelligent car suitable for indoor service and meet the needs of indoor unmanned equipment.In this design,the STC89C52 microcontroller is used as the control chip,and the double H-bridge simplified drive module and a pair of reduction gear motor are used to realize the traveling and steering function of the car.The three-way HC-SR04 ultrasonic sensor is used for ranging and feedback,and the anti-offset feedback regulation program is designed to prevent the car from deviating from the center line.The PCB board is used to make a stable and steering three-wheel chassis.Finally,the right traversal depth-first search algorithm is used to control the car to get out of the simulated indoor maze under the logic operation.Experiments show that the car can walk out of a maze that mimics an indoor environment.Compared with other existing methods,this method is stable,small,good power,low power consumption,intelligent.
出处
《工业控制计算机》
2022年第12期153-155,共3页
Industrial Control Computer
基金
武汉市教育局教育研究项目(2019068)
江汉大学研究生培养基金(301004310001)。
关键词
单片机
智能小车
迷宫
超声波
single chip microcomputer
smart car
maze
ultrasonic