在讨论了MATLAB环境下实时仿真实现方法的基础上,提出一种以"多宿主机"为构架的xPC实时仿真系统.相比于传统xPC系统,该系统大幅度提高了实时仿真系统的数据处理能力,并拓展了硬件的适用范围.在此基础上,设计了以2台宿主机、1台目标机为主结构的双目视觉2轮机器人实时目标跟踪系统;同时,辅以M文件-S函数驱动GUI的实时监控界面,增强了系统的动态监控能力.最后,经实际测试验证了所提出的多宿主机构架能够有效地应用于实时仿真系统的开发.
The approaches to the real-time control based on Matlab were discussed,a novel real-time simulation system framework based on "Multi-host PC" mode was proposed.Compared to traditional system,this system greatly improves the data processing capabilities and expands the scope of the hardware.Based on this new structure,a real-time target-tracking system of binocular vision two-wheeled robot was designed.Meanwhile,combined with M file-S function-driven GUI real-time monitoring interface,the dynamic monitoring capabilities of system were enhanced.Finally,it was verified by test that the proposed multi-host PC framework can be effectively applied to real-time simulation system development.