Computer Engineering and Applications ›› 2018, Vol. 54 ›› Issue (1): 246-250.DOI: 10.3778/j.issn.1002-8331.1606-0425

Previous Articles     Next Articles

Design of signal multiplexing/demultiplexing algorithm of real-time simulation system

LI Jing1,2, WANG Guangsen1, LIU Zhentian1, HOU Chengxi1,2, QIN Gang2   

  1. 1.School of National Key Laboratory for Vessel Integrated Power System Technology, Naval University of Engineering, Wuhan 430033, China
    2.Wuhan Marine Machinery Co., Ltd., Wuhan 430084, China
  • Online:2018-01-01 Published:2018-01-15

实时仿真系统信号复用/解复用算法设计

李  靖1,2,汪光森1,刘振田1,侯承玺1,2,覃  刚2   

  1. 1.海军工程大学 舰船综合电力技术国防科技重点实验室,武汉 430033
    2.武汉船用机械有限责任公司,武汉 430084

Abstract: The hardware-in-the-loop simulation plays an important role in the research of complex eletromechanical system. The number of simulation channels is limited, which can’t meet the demand of synchronize simulation for large number of signals of complex electromechanical systems. A signal multiplexing/demultiplexing algorithm is proposed, the core idea of which is as follows. Signal multiplexing algorithm which implements on FPGA of simulator, multiplexes simulation signals and send in batches by the same group simulation output channels in a simulation cycle. Signal demultiplexing algorithm restores simulation signals by synchronous clock and address seeking signals, then sends them to the actual controller. It implements on CPLD of interface-board. The simulation results show that the signal multiplexing/demultiplexing algorithm only uses the less simulation output channels to realize the synchronous interaction between large number of simulation signals and the actual controller, and it finally solves the problem of inadequate simulation channels.

Key words: real-time simulation, multiplexing, demultiplexing, complex electromechanical system

摘要: 硬件在回路实时仿真是研究复杂机电系统过程中的一个重要环节,由于仿真通道数量有限,不能满足复杂机电系统大量信号的同步仿真需求。提出一种信号复用/解复用算法,其基本思想是信号复用算法在仿真器的FPGA中实现,将仿真信号复用重组,并在一个仿真周期内通过同组仿真输出通道分批发送;信号解复用算法在接口板卡CPLD中实现,根据解析出的同步时钟信号和寻址信号,将重组信号还原,并发送给被测控制器。仿真结果表明,提出的复用/解复用算法实现了大量的仿真信号通过少量的仿真输出通道与被测控制器同步交互,解决了实时仿真系统中仿真通道不够用的技术难题。

关键词: 实时仿真, 复用, 解复用, 复杂机电系统