摘要
针对当前电梯通信系统任务繁重,通信效率较低、实时性不高等问题,提出了基于SPI和CAN总线的电梯现场总线系统的优化设计方案。设计了一种基于串行外设接口的SPI电梯通信协议,对SPI电梯通信的帧机制、数据流、差错控制等做了较完善的规定;设计了SPI通信在干扰情况下重新帧同步的方法;设计了主控板与电梯外围控制器的统一CAN总线协议。实验表明本方案不仅实现了电梯系统中主控板与电机控制板的全双工实时通信,还降低了通信系统设计的复杂性,提高了通信性能。本设计能极大地改善当前电梯通信的状况。
As for the complexity and low efficiency of elevator communication,the paper designed a new optimized field bus system for elevators based on SPI and CAN bus. A lift communication protocol based on SPI was designed in detail with its frame mechanism,data flow,error control mechanism; a resynchronize method was proposed to ensure the reliability. And the unified CAN field bus protocol was designed for the main control board and other elevator peripheral controllers. It proved that it not only implemented full duplex real-time communication between the main control board and the driver board,but also improved the performance of elevator communication system,and simplified the system.
出处
《轻工机械》
CAS
2016年第4期58-62,共5页
Light Industry Machinery
关键词
电梯
现场总线
SPI电梯通信协议
CAN总线协议
elevator
field bus
SPI(serial peripheral interface) elevator communication protocol
CAN field bus protocol