首页 | 本学科首页   官方微博 | 高级检索  
     检索      

CAN总线技术在光电编码器中的应用
引用本文:孙莹,王树洁,万秋华,李清安,范蕾.CAN总线技术在光电编码器中的应用[J].中国光学与应用光学,2009,2(4):346-351.
作者姓名:孙莹  王树洁  万秋华  李清安  范蕾
作者单位:1. 中国科学院,长春光学精密机械与物理研究所,吉林,长春130033;中国科学院,研究生院,北京,100039
2. 中国科学院,长春光学精密机械与物理研究所,吉林,长春130033
3. 中北光电科技股份有限公司,北京,100176
摘    要:介绍了采用CAN总线数据传输方式的系统中,光电编码器CAN总线接口的设计与应用。首先,设计了由单片机、独立CAN总线控制器SJA1000、CAN总线收发器TJA1050及高速光耦TLP113等构成的光电编码器CAN总线接口硬件电路;然后,介绍了光电编码器CAN总线接口的软件设计,包括初始化的设计、CAN总线报文接收及发送的设计;最后,通过周立功公司的“USBCAN1”型号CAN总线接口卡验证了该光电编码器CAN总线接口设计的可行性。实验中采用1米长的屏蔽双绞线作为传输介质,通信速率为800kbps;结果表明:带有CAN接口的光电编码器克服了传统的通信线路的缺点,具有更高的实时性、可靠性且通信速率高、传输距离长、抗干扰能力强,更加适用于自动化测量和控制系统。

关 键 词:光电编码器  CAN总线  SJA1000
收稿时间:2009-04-21
修稿时间:2009-06-22

Application of CAN bus technique in the photoelectric encoders
Authors:SUN Ying  WANG Shu-jie  WAN Qiu-hua  LI Qing-an  FAN Lei
Institution:1Changchun Institute of Optics, Fine Mechanics and Physics, Chinese Academy of Sciences, Changchun, China, 130033; 2Graduate School of Chinese Academy of Sciences, Beijing, China,100039; 3Chinanorth Optical-electrical Technology co.LTD, Beijing, China,100176
Abstract:Photoelectric encoder CAN bus interface is put forward in order to make photoelectric encoder used in the system which adopts CAN Bus as data transmission method. Firstly, CAN bus interface hardware circuit of photoelectric encoder is designed which is composed of singlechip, CAN bus controller SJA1000, CAN bus transceiver TJA1050 and high-speed optical coupling TLP113 ; secondly, the paper introduces the design of CAN bus interface software consisted of the design of initialization, receiving message and sending message; lastly, the feasibility of photoelectric encoder CAN bus interface is proofed by “USBCAN1”CAN interface card produced by ZLG company. In the test, communication speed rate is 800kbps and one-meter shield twisted pair line is used as the transmission medium; the results show that the photoelectric encoder with CAN bus interface overcomes communication line’s shortcomings of classical photoelectric encoder system . The system can work in automatic measuring and controlling system better as a result of the advantages of more real-time and reliability , high transfer rate , long transfer distance and high resistance.
Keywords:SJA1000
本文献已被 万方数据 等数据库收录!
点击此处可从《中国光学与应用光学》浏览原始摘要信息
点击此处可从《中国光学与应用光学》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号