基于分布式网络设计的半实物仿真平台需要在上位机与底层硬件中实现实时通信任务,基于Simulink建模环境的特殊性以及底层嵌入式操作系统的特点,提出一种采用远程网络过程调用(RPC)的设计方式,在建模环境和底层嵌入式操作系统中分别设计了客户端与服务端,通过对AIO模块的IO功能测试验证了本方法的可行性。
The hardware-in-the-loop simulation platform based on the distributed network needs to achieve real-time communication tasks between the host computer and the underlying hardware.Based on the characteristics of Simulink modelling environment p articularity and the underlying embedded operating system,a remote procedure call(RPC)communication design architecture was presented,the system client was realized in the Simulink and server was realized in the underlying embedded operating system,accorded the AIO module IO function test to verify the feasibility of this method.