孙万峰, 李维波, 李齐, 等. 基于DMA与中断方式的组态监控系统容错通信技术[J]. 中国舰船研究, 2021, 16(4): 199–207. doi: 10.19693/j.issn.1673-3185.01935
引用本文: 孙万峰, 李维波, 李齐, 等. 基于DMA与中断方式的组态监控系统容错通信技术[J]. 中国舰船研究, 2021, 16(4): 199–207. doi: 10.19693/j.issn.1673-3185.01935
SUN W F, LI W B, LI Q, et al. Fault tolerant communication technology of configuration monitoring system based on integration of DMA and interrupt[J]. Chinese Journal of Ship Research, 2021, 16(4): 199–207. doi: 10.19693/j.issn.1673-3185.01935
Citation: SUN W F, LI W B, LI Q, et al. Fault tolerant communication technology of configuration monitoring system based on integration of DMA and interrupt[J]. Chinese Journal of Ship Research, 2021, 16(4): 199–207. doi: 10.19693/j.issn.1673-3185.01935

基于DMA与中断方式的组态监控系统容错通信技术

Fault tolerant communication technology of configuration monitoring system based on integration of DMA and interrupt

  • 摘要:
      目的  为实现舰船并网控制系统中监控模块的数据快速交互,提高通信数据的容错率,同时减少CPU额外占有率,提出直接存储器访问(direct memory access, DMA)和中断方式的通信技术解决变长传输难题。
      方法  根据并网控制系统中监控模块的组态软件与单片机通信协议,设计组态与主控制器通信握手流程,并以STM32F417作为主控制器,借助串口接口硬件电路,在克服传统串口通信数据定长收发缺点的基础上提出DMA和中断方式的通信技术。
      结果  在某舰船综合电力系统的并网控制装置上,采用该通信技术,实现了监控数据变长传输功能,且提高了串行通信数据的传输容量和数据的容错度。
      结论  研究成果在舰船并网控制系统的监控模块中具有一定的实践指导意义与参考价值。

     

    Abstract:
      Objectives  In order to realize the rapid data exchange of the monitoring module in a grid-connected control system, the fault tolerance rate of communication data is improved and the extra CPU occupancy is saved by using Direct Memory Access (DMA) and interrupt communication technology to solve the problem of variable length transmission.
      Methods  This paper is based on the communication protocol between the configuration software of the monitoring module and the microcontroller in a grid-connected control system. It designs a communication handshake flow between configuration and main controller, taking STM32F417 as the main controller, with the help of a serial interface hardware circuit. The use of DMA and interrupt communication technology is proposed to overcome the shortcomings of the traditional serial communication data fixed-length transceiver.
      Results  On the grid-connected control device of a ship's integrated power system, DMA and interrupt communication technology is adopted to realize the variable-length transmission function of the monitoring data, thereby improving the serial communication data transmission capacity and data tolerance.
      Conclusions  The results of this study have certain practical guiding significance and reference value for the development of monitoring modules for ship grid control systems.

     

/

返回文章
返回