测试科学与仪器
測試科學與儀器
측시과학여의기
JOURNAL OF MEASUREMENT SCIENCE AND INSTRUMENTATION
2014年
2期
55-58
,共4页
智能机器人%STM32%巡线%PWM%PID 控制
智能機器人%STM32%巡線%PWM%PID 控製
지능궤기인%STM32%순선%PWM%PID 공제
intelligent robot%STM32%line-tracking%PWM%PID control
本文提出了一种以增强型微控制器 STM32F103RBT6为核心的智能巡线机器人,阐述了系统的巡线控制原理、硬件构造,分析了传感器的黑白标定软件设计。该系统采用两个由4个分立元件(MOS 管)构成的 H 桥驱动电路分别驱动左右两个电机,并且通过改变电压极性及脉冲宽度调制波(PWM)来调整机器人的行走方向和速度,并在行走过程中运用传统 PID 控制进行调节。结果表明,设计方式科学合理,机器人对场地适应性强、成本低、实用性强。
本文提齣瞭一種以增彊型微控製器 STM32F103RBT6為覈心的智能巡線機器人,闡述瞭繫統的巡線控製原理、硬件構造,分析瞭傳感器的黑白標定軟件設計。該繫統採用兩箇由4箇分立元件(MOS 管)構成的 H 橋驅動電路分彆驅動左右兩箇電機,併且通過改變電壓極性及脈遲寬度調製波(PWM)來調整機器人的行走方嚮和速度,併在行走過程中運用傳統 PID 控製進行調節。結果錶明,設計方式科學閤理,機器人對場地適應性彊、成本低、實用性彊。
본문제출료일충이증강형미공제기 STM32F103RBT6위핵심적지능순선궤기인,천술료계통적순선공제원리、경건구조,분석료전감기적흑백표정연건설계。해계통채용량개유4개분립원건(MOS 관)구성적 H 교구동전로분별구동좌우량개전궤,병차통과개변전압겁성급맥충관도조제파(PWM)래조정궤기인적행주방향화속도,병재행주과정중운용전통 PID 공제진행조절。결과표명,설계방식과학합리,궤기인대장지괄응성강、성본저、실용성강。
An intelligent line-tracking robot using the enhanced microprocessor STM32F103RBT6 as its core controller is in-troduced in this paper .The hardware configuration and line-tracking control principle of the system are described ,and the black-white marked program design of the sensor is analyzed .Two motors are respectively driven by two H-bridge driving circuits ,which are formed by four discrete components of metal oxide semiconductor (MOS) field effect transistor respec-tively .By altering values of voltage directions and pulse width modulation (PWM) ,the walking direction and the speed of robot are adjusted ,and the traditional PID control theory is adopted to adjust the robot during walking process .The results indicate that the design is scientific and reasonable ,low cost ,good adaptability and high applicability .