能否用NI运动控制卡读取非正交编码器?



硬件: Motion Control>>Controllers>>PCI-7344, Motion Control>>Controllers>>PXI-7344, Motion Control>>Controllers>>PXI-7334, Motion Control>>Controllers>>PCI-7342, Motion Control>>Controllers>>PXI-7350, Motion Control>>Controllers>>PCI-7332, Motion Control>>Controllers>>PCI-7352, Motion Control>>Controllers>>PCI-7354, Motion Control>>Controllers>>PCI-7356, Motion Control>>Controllers>>PCI-7358

问题: 能否用NI运动控制卡读取非正交编码器的输入?

解答: NI的运动控制卡通过特定的算法来处理编码器输入,它需要两个有相位移位的脉冲,如下图所示的情况:


如果只将单路脉冲连接到控制器的通道A上,那么计数值会在脉冲的上升沿增加,并在下降沿减少,所以计数值永远不会超过1,也就得不到正确的位置信息了。


相关链接: KnowledgeBase 2URDMLJT: What Are Possible Phase Differences Between Phase A & B on Encoder with NI 7344/7334?

KnowledgeBase 2OQEKRNQ: What Happens If I Miss-wire My Encoders to the Motion Controller?

Developer Zone: Quadrature Encoder Fundamentals

附件:





报告日期: 09/08/2008
最近更新: 07/29/2010
文档编号: 4P7ERKOB