A new hardware-in-the-loop simulation method and its applications

作者:Ju Z.*; Bi-Feng X.; Min L.; Xiang-Qi Z.
来源:2011 Chinese Control and Decision Conference, CCDC 2011, China,Sichuan,Mianyang, 2011-05-23 to 2011-05-25.

摘要

The paper presents two ways to solve the problem that S-Function could not call control algorithm function written in the m language to realize xPC target Simulation, then m function could be called in hardware-in-the-loop (HIL) simulation. The use of the proposed HIL method will accelerate the pace of the conversion of algorithm from theoretical research to practical application and shorten the product development cycle obviously. Two examples, achieving xPC target Simulation by using PID controller and Explicit Model Predictive Controller (EMPC) written in m language, verify the feasibility of the methods at the end of the article.