摘要
在船用电力推进系统中,控制系统常由多个部件组成。通过部件之间的通讯,指令下发、信息采集、故障告警等多种功能才得以实现。由于各部件之间的通讯接口多种多样,如CAN、485、以太网等。可采用的通讯协议也很多样,标准协议和自定义协议都存在,所以通讯功能调测也变得重要且复杂。在调测通讯接口的过程中,采用轻量级的开放式测试平台,比起等所有部件开发完毕后集中调试要更为便利。本文介绍了一种开放式通讯调测平台的设计方案。此调测平台可直接运行于各种pc或便携机上,具有测试接口多样、测试脚本可定制的优点。在实际应用中,已取代了plc和触摸屏等多种部件进行通讯功能的调测,给开发人员带来了很大便利。
The control system of marine electric propulsion is always constructed by many components. The interfaces and protocols of communication between these components are multiplex. Sometimes, the interfaces and protocols are based on different standards, while others are based on the self-make rules. Through the communication, the job of command, data collection, error and alarm collection can be finished. For communication interface test, it is more convenient to use an open platform than to use the total integrated system. The article presents an architecture design of test platform which can work on the PC. It has the advantage of small size, light grade, universal interface, customer-build script support etc. The platform replaces PLC, HMI device and many other components for communication test in the project, and brings much more convenience for the developer.
出处
《船电技术》
2014年第9期18-21,24,共5页
Marine Electric & Electronic Engineering
基金
国家科技支撑计划项目(2012BAG03B01)
关键词
通讯调测平台
软件架构设计
UML
communication test platform
software architecture design
UML