Research on Performance of Two Real-Time Simulation Environments: RTWT and xPC Target

Article Preview

Abstract:

RTWT (Real-Time Windows Target) and xPC Target are two developing environments based on Matlab/RTW for hardware-in-loop real-time simulation and rapid control prototype. Some error messages which lead to program stop often occur in their practical applications, such as CPU overload, buffer too small, and so on. In this paper, performance of the two simulation environments were studied by analyzing their working mechanism and conducting a lot of experiments, including signal data logging capability, sampling period and system stability. And the reasons which cause error running messages were analyzed. The following conclusions have been drawn. For RTWT data logging capability is not limited by buffer size because the data in buffer are saved to file in real-time during operating. While for xPC Target data logging capability is not limited by buffer size because the data in buffer are uploaded to the host computer and stored in file at the end of run. As long as the sampling period is slightly larger than the task execution time, xPC Target can run stably. RTWT can run stably only when the sampling period is far larger than the task execution time. The proposed conclusions can provide reference for selection between RTWT and xPC Target and their application.

You might also be interested in these eBooks

Info:

Periodical:

Advanced Materials Research (Volumes 889-890)

Pages:

1257-1261

Citation:

Online since:

February 2014

Export:

Price:

Permissions CCC:

Permissions PLS:

Сopyright:

© 2014 Trans Tech Publications Ltd. All Rights Reserved

Share:

Citation:

* - Corresponding Author

[1] Ding Rongjun. The Development Status of Fast Control Prototype. ELECTRIC DRIVE FOR LOCOMOTIVES, 2009, 1-3. (in Chinese).

Google Scholar

[2] Xie Han, Wu Guangqiang, Qiu Xuyun. Real-Time Simulation and Realization based on xPC Target. CONTROL&MEASUREMENT, 2006, 200-202 (in Chinese).

Google Scholar

[3] Wu Bing, Liang Jiahong, Bi Huajun. Design of Real-time Simulation System Based on MATLAB Real-timeWindows Target. Computer Simulation, 2005, 190-192. (in Chinese).

Google Scholar

[4] Yuan Shaoqiang, Zhang Zenghui, Chen Li, Li Xingshan, Li Bohu. Development&Application of Mixed Simulation System Based on RTW. Journal of System Simulation, 2009, 701-703. (in Chinese).

Google Scholar

[5] Bai Yanhong, Zhao Zhijuan, Sun Zhiyi, Li Hong. Development of Hardware-in-Loop Simulation System for Boiler Based-on RTWT. Journal of System Simulation, 2013, 340-345. (in Chinese).

Google Scholar

[6] Birdsong Charles. Developing a matlab/simulink RTWT based hydraulic servo control design experiment[C]/114th ASEE Annual Conference and Exposition, Honolulu, USA. USA: American Society for Engineering Education, 2007: 1-12.

DOI: 10.18260/1-2--3032

Google Scholar

[7] Nguyen-Vu Truong and Duc-Lung Vu. Hardware-in-the-Loop approach to the development and validation of precision induction motor servo drive using xPC Target[C]/ Ninth International Joint Conference on Computer Science and Software Engineering, Bangkok, Thailand. USA: IEEE Computer Society, 2012: 159-163.

DOI: 10.1109/jcsse.2012.6261944

Google Scholar

[8] Chen Fengxiang, Sun Zechang, Zhap Zhiguo, Zhang Tong. Semi-Physica Simulation Test Bench for Automotive Electronic Throttlel Based on MATLAB Real-timeWindows Target. Journal of Electrical & Electronic Education, 2012, 73-75. (in Chinese).

Google Scholar

[9] Yan Guangya, Ai Wu, Chen Bing. Rapid Prototyping Control System of Liner Motor Based on xPC Target. China Mechanical Engineering, 2011, 2452-2455. (in Chinese).

Google Scholar

[10] Jin Xing, Wang Xu, Yan Dongmei, Liang Qi. The system of data acquisition based on MATLAB/xPCTarget. Journal of Electrical & Electronic Education, 2010, 77-79. (in Chinese).

Google Scholar

[11] Jiang Shaoming, Bi Xiaohui. Creation of an xPC Target Boot Based on USB Flash Disk. Automation & Instrumentation, 2008, 53-56. (in Chinese).

Google Scholar