摘要
由于分离型轮机模拟器上位机集成了实船上各种轮机设备的仿真模型,针对不同的设备采用了不同的下位机板卡,使得应用层通信协议存在差异,不仅造成下位机设备重复开发,而且增加了上位机仿真模型的开发难度。针对此情况,基于STM32F7微处理器设计含有数模数据输出与输入及网络通信的硬件电路,并在集成开发环境Keil5中,构建包含通信、数据、任务三层结构的软件程序,实现了设计初衷。经实验验证,所设计单元具有较高的可靠性和实时性,并实现上位机与下位机的信息同步,使分离型轮机模拟器对具有协议统一、通用性强的通信板卡的需求得到满足。
Since the upper computer of the separate marine engine simulator integrates the simulation models of various marine equipment on the actual ship,different lower computer boards are used for different equipment,making the application layer communication protocol different,which not only causes the repeated development of the lower computer equipment,but also increases the difficulty of the development of the upper computer simulation model.In response to this situation,based on the STM32F7 microprocessor,a hardware circuit containing digital-analog data output and input and network communication is designed.In the integrated development environment Keil5,a software program with a three-tier structure of communication,data and tasks was constructed to realize the design original intention.It is verified by experiments that the designed unit has high reliability and real-time performance,and realizes the synchronization of information between the upper computer and the lower computer,so that the separated marine engine simulator s requirements for a unified protocol and a universal and strong communication board can be met.
作者
孙泽
刘利源
何治斌
王萌萌
徐飞翔
Sun ZeLiu Liyuan;He Zhibin;Wang Mengmeng;Xu Feixiang(School of Engineering,Dalian Maritime University,Dalian 116026,Liaoning,China)
出处
《计算机应用与软件》
北大核心
2023年第6期34-41,共8页
Computer Applications and Software
基金
辽宁省2020年度自然科学基金项目(2020-HYLH-37)
中央高校基本科研业务费专项资金项目(3132019315)。
关键词
轮机模拟器
分布式处理单元
集成开发
Marine engine simulator
Distributed processing unit
Integrated development