摘要
使用xPC目标可以将一台PC兼容机制转变为一个实时系统,基于CAN总线技术的硬件在环测试平台建立ESP系统可使其开发比传统方法更加方便、快捷。由于在xPCTarget模块中没有可直接调用的CANPCI-1680U的驱动模块,因此利用S-function编写了xPCTarget下可调用的驱动模块,并应用于ESP硬件在环试验台中,完成了ECU与传感器之间的CAN通信任务。
With xPC Target, we can convert a PC compatible computer into a real-time system. The establishment of ESP system with hardware in-loop test bench based on CAN bus technology makes its development more convenient and faster than traditional method. Since there is not a drive module of CAN PCI-1680U which could be invoked directly in xPC Target, the author uses S-function to compile a drive module which can be invoked in xPC Target and applies it in ESP hardware-in-loop test bench, and achieves the CAN telecommunication between ECU and sensors.
出处
《汽车技术》
北大核心
2010年第5期5-10,共6页
Automobile Technology
基金
吉林省科技发展计划项目(20086003)