基于STM32的运动控制器设计指导教师梁维源摘要运动控制器是现在社会的主流发展,不管是现在还是将来都会有重要的运用
本文运用STM32输出PWM波对电机进行控制使他们能分别沿着X轴和Y轴以及Z轴移动,STM32发送指令,由TB6560驱动芯片驱动进电机,在图纸上实现绘画,定位,转孔
选用STM32芯片作为控制核心,通过控制步进电机来控制机器臂,带动X轴和Y轴以及Z轴进行平面画图
该运动控制器具有精度高、操作方便、速度快、低成本等特点
关键词:运动控制器;STM32;步进电机;TB6560BasedontheSTM32motioncontrollerdesignElectronicinformationengineeringspecialtylevel2011jiangshijianSupervisorLiangWeiyuanAbstractThemotioncontrollerisnowthemainstreamofthedevelopmentofsociety,bothnowandinthefuturewillhaveimportantapplications
Greatdefenseandindustrialapplicationsaswellasinlife
Inthispaper,theoutputPWMwaveSTM32motorcontrolsothattheycanalongtheX-axisandY-axisandZ-axismovement,STM32sendcommandsrespectively,drivenbyasteppingmotordriverchipTB6560realizepainting,positioning,turntheholeinthedrawings
TheprogrammakestheselectionSTM32chipste