摘要
项目设计通过单片机来实现精准控制移动载体。载体设计以四轮小车为模板,选用Arduino作为控制处理器,外围电路连接超声波收发器、直流电机,利用声速、传递时间以及超声波接收器之间的距离,根据三边定位算法将目标位置反馈给单片机,用于控制各电机的转速,实现小车转弯、直行、调速,达到寻找目标并跟随的目的。
The accurate control of the mobile carrier is realized by single chip microcomputer.In the carrier design,a fourwheel car is taken as the template,Arduino is selected as the control processor,and the peripheral circuit is connected with the ultrasonic transceiver and DC motor.The sound speed,transmission time and the distance between the ultrasonic receivers are adopted to feed back the target position to the single-chip computer by means of the trilateral positioning algorithm,which is used to control the speed of each motor,realize the turning,straight going and speed regulation of the car,and achieve the purpose of finding and following the target.
作者
张凯
ZHANG Kai(Shaanxi Polytechnic Institute,Xianyang 712000,China)
出处
《现代电子技术》
2023年第3期173-176,共4页
Modern Electronics Technique
基金
陕西工业职业技术学院科研基金项目(2022YKZX-023)。
关键词
微控制器
移动载体
目标位置反馈
电机转速控制
硬件设计
程序设计
micro controller
mobile carrier
target location feedback
motor speed control
hardware design
program design