摘要
文章以TI-MSPM0G3507为核心构建自动行驶小车控制系统。以12V电池供电,降压至5V,再降压至3.3V,分别用以给电机驱动、传感器模块、主控模块等供电。通过光电传感器检测反射光的强度来判断路面信息,通过GY-521模块内嵌的MPU6050陀螺仪应用算法计算出角度,通过TB6612FNG芯片驱动左右轮电机,并经双PID控制算法处理,调整左右电机的不同转速,进而实现小车的自动行驶。
This paper uses TI-MSPM0G3507 as the core to achieve the automatic driving car control system.The device is powered by a 12V battery,which is stepped down to 5V and then to 3.3V.They are used to supply power to the motor drive,sensor module,main control module etc.The road information is determined by detecting the intensity of reflected light through a photoelectric sensor.The angle is calculated using the MPU6050 gyroscope algorithm embedded in the GY-521 module.The left and right wheel motors are driven by the TB6612FNG chip.Signals are acquired and processed by algorithms,which are used to adjust the different speeds of the left and right motors.Finally,the automatic driving of the car is realized.
作者
汪伟
肖顿
刘良斌
Wang Wei;Xiao Dun;Liu Liangbin(Hunan Industry Polytechnic,Changsha 410208,China)
出处
《汽车电器》
2025年第8期55-58,共4页
Auto Electric Parts
基金
湖南省自然科学基金项目(2022JJ60035)。