作者:承 維(1985-),男,北京人,嵌入式系統設計師,碩士,現就職于北京廣利核系統工程有限公司,主要從事核電DCS主控嵌入式軟件研發工作;
馬建新(1976-),女,河北人,高級工程師,學士,現就職于北京廣利核系統工程有限公司,主要從事數字化儀控系統研發工作。
摘要:核電站DCS現場控制站是核電站控制系統的核心設備,其主要功能為現場信號的采集、運算以及輸出。為提高可靠性,現場控制站通常配置為主從控制器雙機冗余運行。控制器運行數據由工程師站組態后下裝到現場控制站的主控制器,為保證現場控制站主從控制器之間的工程組態一致,從控制器需要向主控制器同步工程組態文件。主從控制器同步過程需要過程可控,可靠性高,不對控制器的控制功能產生影響。傳統FTP方法基于通用協議,協議棧復雜,通信過程不完全可控,且會增加系統開銷,不適合直接復用。本文描述了一種自主設計的主從控制器文件同步方法,本方法基于UDP通信協議,設計了嚴格的校驗以及重傳機制,已在廣利核公司自主研制的核電站DCS產品中得到了應用,并且對其他儀控系統嵌入式設備的冗余通信設計具有較大的參考意義。
關鍵詞:核電站DCS;文件同步;UDP通信協議;嵌入式軟件;冗余通信
Abstract:The field control station of the nuclear power DCS is the coreequipment in the system. Its main functions are acquisition, calculationand output of field signal. It usually operates redundantly from both main and secondary computers to improve the reliability. The operation data of the controller is loaded to the master controller of the field control station after being configured by the engineer station. In order to ensure the consistency of engineering configuration information between master and slave computers, synchronous operation of engineering configuration files between master and slave computers is required. This operation needs controllable process and high reliability, which does not affect the acquisition and output function of the control station. The traditional FTP method is based on general protocol, the protocol stack is complex, the communication process is not completely controllable, and it will increase the system overhead, so it is not suitable for direct reuse. Based on UDP communication protocol, this paper designs a file synchronization method between master and slave computers in the control station. The synchronization method is fully verified, which shows that the synchronization method has the characteristics of rapidity, reliability and good maintainability. This synchronization method is of great reference significance to the redundant communication design of embedded equipment in control stations or other instrument and control systems.
Key words: Nuclear DCS; File synchronization; UDP communication protocol; Embedded software; Redu ndant communication
摘自《自動化博覽》2020年10月刊