step_MOTORCPP

所属分类:单片机开发
开发工具:Visual C++
文件大小:13858KB
下载次数:15
上传日期:2013-11-17 08:41:04
上 传 者天下行者
说明:  用C++生成的步进电机电流细分程序,含软件,可节省较多的MCU资源实现电机各种速度曲线很流恒压控制及无级变速,实用经典,可用于各种精确运动控制及机器人神经终端驱动。
(Using C++ generated stepper motor current subdivision process, including software, can save more MCU resources to achieve a variety of motor speed curve is continuously variable flow and constant pressure control, practical classics, can be used for a variety of precision motion control and robotics nerve terminal driver.)

文件列表:
step_MOTORC++ (0, 2013-11-14)
step_MOTORC++\MOTOR (0, 2013-11-14)
step_MOTORC++\MOTOR\Makefile.win (873, 2013-11-14)
step_MOTORC++\MOTOR\main.cpp (412, 2013-11-14)
step_MOTORC++\MOTOR\main.exe (16011, 2013-11-14)
step_MOTORC++\MOTOR\main.o (994, 2013-11-14)
step_MOTORC++\MOTOR\sinevalue.txt (3156, 2013-11-16)
step_MOTORC++\MOTOR\工程1.dev (826, 2013-11-14)
step_MOTORC++\MOTOR\工程1.exe (16011, 2013-11-14)
step_MOTORC++\PanSpeed (0, 2013-11-14)
step_MOTORC++\PanSpeed\Makefile.win (877, 2013-11-14)
step_MOTORC++\PanSpeed\PanSpeed.dev (830, 2013-11-14)
step_MOTORC++\PanSpeed\PanSpeed.exe (19381, 2013-11-14)
step_MOTORC++\PanSpeed\main.c (6415, 2013-11-14)
step_MOTORC++\PanSpeed\main.o (6134, 2013-11-14)
step_MOTORC++\PanSpeed\out.txt (84270, 2013-11-16)
step_MOTORC++\TiltSpeed (0, 2013-11-14)
step_MOTORC++\TiltSpeed\Makefile.win (881, 2013-11-14)
step_MOTORC++\TiltSpeed\main.c (5926, 2013-11-14)
step_MOTORC++\TiltSpeed\main.o (6139, 2013-11-14)
step_MOTORC++\TiltSpeed\out.txt (84203, 2013-11-14)
step_MOTORC++\TiltSpeed\tiltspeed.dev (832, 2013-11-14)
step_MOTORC++\TiltSpeed\tiltspeed.exe (19382, 2013-11-14)
step_MOTORC++\devc.exe (14190515, 2013-11-16)

加减速0.3秒,加了变倍自适应。 每秒走多少度=每秒进入多少次中断*进一次中断走的读数 PanSpeed[i].speed=x(一秒钟进入多少次中断)*(0.9/(256/PanSpeed[i].MStp)) x=(PanSpeed[i].speed*256)/(0.9*PanSpeed[i].MStp) 进入一次需要时间Y y=1/X 单片机计数一次需要走的时间 1/36M 单片机需要计数n次等达到y y=n*1/36M n=36M*y=36M*(0.9*PanSpeed[i].MStp)/(PanSpeed[i].speed*256)

近期下载者

相关文件


收藏者