当前位置>主页 > 期刊在线 > 智能制造 >

智能制造22年7期

基于 STM32 的巡线小车系统设计
吴凯,刘洁,张晶晶,李军,朱方明
(杭州师范大学 信息科学与技术学院,浙江 杭州 311121)

摘  要:设计了一种基于 STM32 单片机的巡线小车系统,采用七路灰度传感器采集路径灰度值,并采用双 H 桥电机驱动模块对电机进行驱动,根据七路灰度传感器的数值,通过调整两侧的电机转速差控制小车姿态,从而实现循迹功能。测试结果表明,在贴有白色循线的黑色方格场地中,小车能够准确地实现巡线及前往场景特定位置等功能,并保持较快的运行速度,系统工作稳定性高,对不同环境的适应性强。


关键词:巡线小车;STM32;灰度传感器;电机驱动



DOI:10.19850/j.cnki.2096-4706.2022.07.039


基金项目:国家级大学生创新创业项目(202010346036)


中图分类号:TP368                                        文献标识码:A                                    文章编号:2096-4706(2022)07-0159-04


Design of Line-tracking Car System Based on STM32

WU Kai, LIU Jie, ZHANG Jingjing, LI Jun, ZHU Fangming

(School of Information Science and Technology, Hangzhou Normal University, Hangzhou 311121, China)

Abstract: This paper designs a line-tracking car system based on STM32 Single-Chip Microcomputer, uses seven-road grayscale sensors to collect the path grayscale value, and uses the double H-bridge motor drive module to drive the motor. According to the value of the seven-road gray sensors, the car gesture is controlled by adjusting the motor speed difference on both sides, so as to realize the tracking function. The test results show that in the black square field pasted with white tracking line, the car can accurately realize the functions of tracking line and going to the specific location of the scene and so on. And it maintains the faster running speed. The system has high working stability and strong adaptability to different environments.

Keywords: line-tracking car; STM32; grayscale sensor; motor driver


参考文献:

[1] 徐国华,谭民.移动机器人的发展现状及其趋势 [J]. 机器人技术与应用,2001(3):7-14.

[2] 冷雪锋 . 基于 PID 的 STM32 智能小车机器人的设计 [J].自动化技术与应用,2016,35(11):122-127.

[3] 岳俊峰,李秀梅 . 基于机器视觉的智能小车自动循迹及避障系统 [J]. 杭州师范大学学报(自然科学版),2020,19(2):200-207.

[4] 张沛涛,郭颖,齐航,等 . 基于 STM32F407 的物流搬运车设计 [J]. 国外电子测量技术,2019,38(4):144-148.

[5] 张铮,张江宁,薛竹村,等 . 循迹避障灭火功能智能小车设计 [J]. 实验室研究与探索,2016,35(11):141-145+205.

[6] 董杰,王国豹 . 基于 STM32 的智能循迹往返小车设计 [J].电子设计工程,2013,21(12):158-160.

[7] 李亚巨,李战胜,熊碧涛,等 . 基于 stm32f103zet6 的智能小车的制作 [J]. 电子制作,2013(19):52-53.

[8] 张锴,李世光,朱晓莉,等 . 基于 STM32 的智能巡线小车 [J]. 电子测量技术,2012,35(2):105-107.

[9] 万兵,汪地,史烨桦 . 基于 STM32F103 控制器的智能循迹小车系统设计 [J]. 工业控制计算机,2018,31(6):137-139.


作者简介:吴凯(2001—),男,汉族,浙江金华人,本科在读,主要研究方向:智能小车、移动机器人等;通讯作者:朱方明(1969—),女,汉族,浙江湖州人,副教授,博士,主要研究方向:物联网系统及应用、嵌入式系统设计、移动机器人等。