摘要
本文以Arduino单片机作为主控处理器,控制智能小车完成自动避障设计。小车启动遇到障碍物时,通过HC-SR04超声传感器检测障碍物距离信号传送给单片机,并在LCD上显示距离,同时Arduino根据设定的安全距离,控制小车避开障碍物,实现小车自动安全行驶。在传感器加入SG90舵机,优化障碍物的检测范围。小车测试的安全距离设定为60 cm,舵机可转动左90°、右180°、正前方3个角度,可检测小车左右前方向上的环境信息。小车避障的同时,LCD显示屏上同步显示当前检测距离。最后通过场景验证,所设计的智能小车满足安全避障的要求。
Subject to Arduino single-chip processor control intelligent design of car automatic obstacle-avoidance.Start the car when the car encounters an obstacle,ultrasonic sensor detects the signal transmitted to the MCU and returns the distance and obstacle,Arduino main control board the appropriate control signals control cars according to set procedures to set procedures to avoid obstacles,realize the car automatically drive safely.Using Arduino microcontroller as the main control board information acquisition device uses Ultrasonic sensors to help car access to environmental information;then add servos to sensors,optimizing the ultrasonic sensor detection range.When you start the car after,Ultrasonic sensors began testing whether there is less than a set distance on the current direction of obstacles,through rotation of the servos,environment information about testing cars up ahead,Arduino main Control Board according to the information the control car to a more open direction,achieve the purpose of avoidance.Car test the safety distance is set to 60cm,rudder left and a rotation angle of 90 degrees,180 degrees right,straight ahead.Obstacle avoidance while in the car,at car loading detected by the LCD display.
作者
李云强
LI Yun-qiang(College of Computer&Information Engineering,Nanyang Institute of Technology, Nanyang 473004,China;Key Laboratory of Road and Traffic Engineering of the Ministry of Education,Tongji University,Shanghai 201804,China)
出处
《南阳理工学院学报》
2018年第4期17-21,共5页
Journal of Nanyang Institute of Technology