摘要
针对在xPC平台下开发的实时仿真系统依赖于MATLAB环境,影响其在工程实践中推广应用的问题,提出了一种基于xPC Target和LabWindows/CVI的实时仿真系统设计方法。采用该方法设计的仿真系统,实现了独立的宿主机程序,同时利用LabWindows/CVI虚拟仪器技术开发出了主控台仿真软件。经仿真验证,该系统具备仿真步长1 ms,数据通讯周期20 ms,显示更新周期20 ms的实时仿真能力。仿真系统界面友好且易于操作,为xPC平台下的实时仿真系统在工程实际的应用提供了有益参考。
The real-time simulation system developed on xPC platform depends on MATLAB commonly, and it affects its application in engineering. Aiming at this problem, a method of designing simulation system based on xPC Target and LabWindows/CVI is presented. Simulation systems designed in this method, not only realize independent host PC programs, but also can take full advantages of professional virtual instrument provided by LabWindows/CVI to develop the main console simulation software. Simulation proves that the system can achieve real-time simulations with sample time lms,data updating cycle lms and display updating cycle 10ms. The simulation system has a friendly interface, high real time property and operates easily, which provides beneficial reference for the real-time simulation system on xPC platform in practical engineering application.
出处
《电子设计工程》
2012年第24期17-20,共4页
Electronic Design Engineering