Title :
Development of Hardware Driver for MATLAB/Simulink Real-Time Simulation
Author :
Miao, Lidong ; Zou, Guangde ; Shi, Peilin ; Jiao, Xuhua
Author_Institution :
Special Vehicle Design & Control Lab., Shandong Univ. of Technol., Zibo
Abstract :
Real-Time Simulation, for example hardware-in-the- loop simulation(HILS), is an effective method for studying complex system, and the MATLAB/ Simulink/Real-Time Windows Target (RTWT) toolbox provides a cheap platform for such work, but the application is greatly limited due to lack of enough hardware drivers. Based on the kernel provided by MATLAB/Simulink/RTWT toolbox, this paper studied some key issues on developing drivers for unsupported computer I/O devices. Firstly, the Frame of real-time simulation with RTWT and principle of the drivers were examined. Secondly, solutions were put forward targeting the key issues of registers access and base address lookup, and drivers were developed for PCI-8360A. Finally, tests were conducted on two computers respectively, and result showed that the drives with seven channels A/D conversion could achieve 10 kHz sample rate while the signals could be visualized in real time, and the developed drivers were successfully used in HILS for a steering system, which indicates the solutions are effective and the drivers are steady and portable.
Keywords :
device drivers; digital simulation; real-time systems; A/D conversion; MATLAB/Simulink; PCI-8360A; base address lookup; computer I/O devices; hardware driver; real-time simulation; registers access; Application software; Computational modeling; Drives; Hardware; Kernel; MATLAB; Portable computers; Real time systems; Registers; System testing;
Conference_Titel :
Intelligent Systems and Applications, 2009. ISA 2009. International Workshop on
Conference_Location :
Wuhan
Print_ISBN :
978-1-4244-3893-8
Electronic_ISBN :
978-1-4244-3894-5
DOI :
10.1109/IWISA.2009.5072832