引用本文
  • 肖丹丹.一种船用柴油机监测系统串口抗干扰算法研究[J].柴油机,2019,41(4):18-21.    [点击复制]
  •    [点击复制]
【打印本页】 【在线阅读全文】 查看/发表评论下载PDF阅读器关闭

←前一篇|后一篇→

过刊浏览    高级检索

本文已被:浏览 674次   下载 446 本文二维码信息
码上扫一扫!
一种船用柴油机监测系统串口抗干扰算法研究
肖丹丹
0
七一一研究所, 上海 201108
摘要:针对柴油机监测系统串口通信中出现的问题,在分析KMP算法特点的基础上,对其应用结构进行改进,并将改进后的算法应用到上位机与机旁箱的串口通讯中。该算法将模式与主串中对应的子串的相似程度进行评估,并根据相似程度的大小决定是否响应命令。试验表明:采用该方法后,监测系统串口通讯的抗干扰能力有很大提高,运行稳定性增强。
关键词:  船用柴油机  监测系统;串口通讯;KMP算法
Algorithm Research on Anti-interference of Serial Communication of a Marine Diesel Engine Monitoring System
Xiao Dandan
Shanghai Marine Diesel Engine Research Institute, Shanghai 201108
Abstract:To solve the interference of serial communication of a marine diesel engine monitoring system, on the basis of analyzing the characteristics of KMP algorithm, its application structure was improved, and the improved algorithm was applied to serial communication between upper computer and side box. The algorithm evaluated the similarity between the pattern and the corresponding substrings in the main string, and decided whether to respond to the command according to the similarity. The test results show that the anti-interference ability of serial communication of the monitoring system is greatly improved, as well as the stability of the operation.
Key words:  marine diesel engine  monitoring system  serial communication  KMP algorithm