摘要
该文详细论述了基于LPC2103的RS485总线通信机的软、硬件设计。在上位机与各从站节点间增加通信机,承担上位机的轮询工作,可以改进主从式结构的RS485总线,使上位机从繁忙的通信工作中解放出来,并能够提高系统独立性,加快系统从故障中恢复的速度,从而有效地提高了系统的可靠性、安全性。本通信机已成功应用于某监舍门禁控制系统,系统性能得到了明显的改善。
The paper introduces software and hardware design of RS485 bus communication device based on LPC2103 in details. The communication device, working between a master computer and slave station nodes, does the polling work once accomplished by the master computer so as to improve the RS485 bus with a master-slave structure. It releases the master computer from busy polling tasks; the independence of the system can be improved, and it is faster for the system to recover from a failure; thus, the reliability and safety of the system are improved effectively. The communication device has been successfully applied in a prison access control system. The system's performance is improved obviously.
出处
《自动化与仪表》
北大核心
2009年第11期22-25,32,共5页
Automation & Instrumentation