The Development of A Real-Time Hardware-in-the-Loop Test Bench for Hybrid Electric Vehicles Based on Multi-Thread Technology

H. Zhong, Guoqiang Ao, J. Qiang, Lin Yang, B. Zhuo
{"title":"The Development of A Real-Time Hardware-in-the-Loop Test Bench for Hybrid Electric Vehicles Based on Multi-Thread Technology","authors":"H. Zhong, Guoqiang Ao, J. Qiang, Lin Yang, B. Zhuo","doi":"10.1109/ICVES.2006.371637","DOIUrl":null,"url":null,"abstract":"The hardware-in-the-loop (HIL) platform for hybrid electric vehicle in this paper features the real-time characteristic and flexibility with a simple architecture which consist of a PC to display the simulation result and calculate the model, a simulation board (HIL-ECU) to generate the analogue signals and measure the Hybrid Control Unit (HCU) output, and a USB-CAN card to implement CAN communication. The RT-HIL adopts three methods to guarantee the real-time ability: 1) utilizing the multi-thread technology based on windows operating system with high-resolution timing function to proceed the model calculation; 2) adopting high speed MCU as key component of the simulation ECU; 3) using the high speed CAN as the communication method. The multi-thread technology is a key to realize the real-time simulation by create three independent threads to handle the model calculation, the monitor-control interface and can communication in the PC without sacrificing the realtime characteristic. The HIL-ECU in this platform has a core MCU which is 32-bits single chip MC68376 form Freescale, which is a high-speed and versatile MCU with the ability to generate the analogue signals and PWM signals to replace the true sensors in practical vehicles. A hybrid vehicle model is built in the PC acting as the real engine and electric motor. The RT-HIL platform can realize the hardware-in-the-loop simulation which is a combination test the hardware and its control strategy and validate the auto-generated code to eliminate the software bugs. And it was successfully used in the ISG Diesel Hybrid development.","PeriodicalId":253788,"journal":{"name":"2006 IEEE International Conference on Vehicular Electronics and Safety","volume":"43 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2006-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"20","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2006 IEEE International Conference on Vehicular Electronics and Safety","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICVES.2006.371637","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 20

Abstract

The hardware-in-the-loop (HIL) platform for hybrid electric vehicle in this paper features the real-time characteristic and flexibility with a simple architecture which consist of a PC to display the simulation result and calculate the model, a simulation board (HIL-ECU) to generate the analogue signals and measure the Hybrid Control Unit (HCU) output, and a USB-CAN card to implement CAN communication. The RT-HIL adopts three methods to guarantee the real-time ability: 1) utilizing the multi-thread technology based on windows operating system with high-resolution timing function to proceed the model calculation; 2) adopting high speed MCU as key component of the simulation ECU; 3) using the high speed CAN as the communication method. The multi-thread technology is a key to realize the real-time simulation by create three independent threads to handle the model calculation, the monitor-control interface and can communication in the PC without sacrificing the realtime characteristic. The HIL-ECU in this platform has a core MCU which is 32-bits single chip MC68376 form Freescale, which is a high-speed and versatile MCU with the ability to generate the analogue signals and PWM signals to replace the true sensors in practical vehicles. A hybrid vehicle model is built in the PC acting as the real engine and electric motor. The RT-HIL platform can realize the hardware-in-the-loop simulation which is a combination test the hardware and its control strategy and validate the auto-generated code to eliminate the software bugs. And it was successfully used in the ISG Diesel Hybrid development.
基于多线程技术的混合动力汽车实时硬件在环试验台的研制
本文提出的混合动力汽车半在环(HIL)平台结构简单,由PC机显示仿真结果和模型计算、仿真板(HIL- ecu)生成模拟信号和测量混合动力控制单元(HCU)输出、USB-CAN卡实现CAN通信组成,具有实时性和灵活性。RT-HIL采用三种方法保证实时性:1)利用基于windows操作系统的多线程技术,具有高分辨率定时功能,进行模型计算;2)采用高速单片机作为仿真ECU的关键部件;3)采用高速CAN作为通信方式。多线程技术是实现实时仿真的关键,它在不牺牲实时性的前提下,创建三个独立的线程来处理模型计算、监控接口和在PC机上的通信。该平台中的HIL-ECU以飞思卡尔32位单片机MC68376为核心,是一种高速通用的单片机,能够产生模拟信号和PWM信号,取代实际车辆中的真正传感器。在PC中建立了一个混合动力汽车模型,作为真正的发动机和电动机。RT-HIL平台可以实现硬件在环仿真,即对硬件及其控制策略进行组合测试,并验证自动生成的代码以消除软件缺陷。并成功应用于ISG柴油混合动力开发。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信