欢迎访问ic37.com |
会员登录 免费注册
发布采购

TMC223 参数 Datasheet PDF下载

TMC223图片预览
型号: TMC223
PDF下载: 下载PDF文件 查看货源
内容描述: [Micro Stepping Stepper Motor Controller]
分类和应用:
文件页数/大小: 52 页 / 494 K
品牌: TRINAMIC [ TRINAMIC MOTION CONTROL GMBH & CO. KG. ]
 浏览型号TMC223的Datasheet PDF文件第41页浏览型号TMC223的Datasheet PDF文件第42页浏览型号TMC223的Datasheet PDF文件第43页浏览型号TMC223的Datasheet PDF文件第44页浏览型号TMC223的Datasheet PDF文件第46页浏览型号TMC223的Datasheet PDF文件第47页浏览型号TMC223的Datasheet PDF文件第48页浏览型号TMC223的Datasheet PDF文件第49页  
TMC223 DATASHEET (V. 1.05 / March 7, 2011)  
45  
8.4 Finding the reference position  
Q: How do I find a reference position?  
A: The recommended way is to use the RunInit command. Two motions are specified through RunInit.  
The first motion is to reach the mechanical stop. Its target position should be specified far away  
enough so that the mechanical stop will be reached from any possible starting position. There is no  
internal stall detection so that at the end of the first motion the step motor will bounce against the  
mechanical stop loosing steps until the internal target position is reached. The second motion then can  
be used either to drive in the opposite direction out of the mechanical stop right into the reference  
position which is a known number of steps away from the mechanical stop. Or the second motion can  
slowly drive a few steps in the same direction against the mechanical stop to compensate for the  
bouncing of the faster first motion and stop as close to the mechanical stop as possible.  
Q: Can the SWI input help in finding a reference position?  
Not directly. The current state of the SWI input is reflected by the ESW flag which can only be polled  
using the command GetFullStatus1. The SWI input resp. the ESW flag have neither influence on any  
internal state machine nor on command processing. The recommended way to find a reference  
position is to use the RunInit command. Alternatively one could initiate a long distance motion at very  
low speed using SetPosition and then poll ESW as frequently as possible to be able to stop the motion  
using HardStop right in the moment the switch position is reached. Then one would reset the internal  
position counters ActPos and TagPos using the ResetPosition command.  
Q: What is the logic of the ESW flag?  
A: The ESW flag reflects the state of the SWI input. ESW is set to one if SWI is high or low, i.e. pulled  
to VBAT or to GND. ESW is set to zero if SWI is left open, i.e. floating. ESW is updated synchronously  
with ActPos every 1024 µs.  
Q: Is it possible to swap the logic of the ESW flag?  
A: No, it’s not. Actually this is not necessary since the ESW flag must be polled and evaluated by  
software anyway. The state of ESW has neither effect on any internal state machine nor on command  
processing.  
Q: What else is important for the RunInit command?  
A: The first target position of RunInit must be different from the current position before sending RunInit  
and the second target position must be different from the first one. Otherwise a deadlock situation can  
occur. During execution of RunInit only Get… commands should be sent to the device.  
Q: Does the second motion of RunInit stop when the ESW flag changes, or does it continue  
into the mechanical stop?  
A: Neither nor. The SWI input resp. the ESW flag have neither effect on any internal state machine nor  
on command processing, i.e. the RunInit command is not influenced by SWI / ESW. The same is true  
for the mechanical stop: as there isn’t any internal stall detection the RunInit command can not detect a  
mechanical stop. When the mechanical stop is hit the first or second motion of RunInit (or the motion  
of any other motion command) will be continued until the internal position counter ActPos has reached  
the target position of this motion. This results in the motor bouncing against the mechanical stop and  
loosing steps. The intention of the second motion of RunInit is to drive out of the mechanical stop  
(reached by the first motion) to the desired reference position at a known distance from the mechanical  
stop or to drive slowly against the mechanical stop again to compensate for the bouncing of the first  
motion and to come to a standstill as close to the mechanical stop as possible.  
Q: Does RunInit reset the position?  
A: Yes, it does. After the second motion of RunInit has been finished the internal position counter  
ActPos is reset to zero.  
Copyright © 2007-2011 TRINAMIC Motion Control GmbH & Co. KG  
 复制成功!