摘要
激光快速成型制造(RPM)系统中,上位机与加工设备之间的可靠数据通讯是需要解决的关键问题。首先,建立了上位机与多个下位机进行串口通信的总体模型,采用8251芯片对单片机串口进行扩展;其次,根据系统的实际需要定义数据帧的格式,应用信道编码的循环冗余码校验技术设计了信道差错控制系统;最后运用面向对象程序设计方法开发了系统的串口类,通过类的封装和函数重载实现上位机程序,在ke il环境下用C语言实现了下位机程序。实际应用表明,方案简单可行,易于扩充,保证了上位机和多个单片机之间数据通讯的可靠性。
In the laser rapid prototyping technique system,the reliable data communication between the PC and processing equipment is a key problem.A model of multi-computer serial communications between PC and hypogenous machines was designed and 8251 was used to extend the serial port of single-chip microcomputers.A proper signal channel error control system was designed by making use of the CRC signal channel coding theory.Finally,the object-oriented programming technique was used to realize the software locating on the upper computer and the multiple lower computer software was implementation in C program by Keil C51.The experiments show that this model is easy to realize and the communications reliable is ensured.
出处
《仪表技术与传感器》
CSCD
北大核心
2009年第11期43-45,共3页
Instrument Technique and Sensor
基金
广西自然科学基金(桂科自0728211)
广西研究生教育创新计划资助项目(2008105950812M425)
关键词
快速成型制造
差错控制
串口扩展
多机通讯
可靠性
RPM error control extend the serial port multi-computer serial communications communications reliable