32074320145ChineseJournalofAutomotiveEngineeringVol.4No.3May2014HILTestingforVehicleControlUnitandDevelopmentofTestCaseLibraryTianZhenHuangXiaofengLiZhichengJinQiqianYouYiFengQingfengGeelyAutomobileResearchInstituteHangzhou311228ZhejiangChinaAbstractThetestingriskonthevehiclecouldbereducedbyusingthehardware-in-loop(HIL)testbenchtoverifytheVCUcontrolstrategy.BasedontheVCUHILtestbenchanddSPACEsoftware,theHILtestingprocessanddevelopmentofthetestcaselibrarywerestudiedandanalyzedinthispaper.ThefunctionoftheVCUisverifiedandtheclassificationandcompositionofthetestfunctionpointsareanalyzedtoensurethatthetestcasesoftheHILcancoverallthefunctionpoints.Thedevelopedtestcasesinthispaperhaveenrichedthetestcaselibraryandcanfulfilltherequestsofdifferentprojecttestsbyasingletestcaselibrary.Keywordsvehiclecontrolunit;hardware-in-loop;testflow;testcaselibraryHardware-In-LoopHILVehicleControlUnitVCUHILdSPACEU467.1ADOI10.3969/j.issn.20951469.2014.03.08201309108632011AA11A221V11HILVCUVCUdSPACE1VHILHIL2084HIL24123VCU4HIL52HIL435HILHIL312I/OI/O43dSPACE/ControlDesk32091HILMatlab/Simulink32Real-Time-Interface,RTI3HIL64ControlDesk7.sdfHILHIL31I/OI/O2HILdSPACE/AutomationVCU836HIL784HIL2104VCUHILHILVCUVCUVCUHILVCU35DCDC5IntergratedPowerUnitIPUIPU8085IPU85IPU910IPU6IPU12479IPU10IPU3211121114HIL12151613124413HILHILHILAutomationDesk15310014HIL16HIL2124.VJ.200662024.DaiHaifengWeiXuezheSunZechang.V-modeandItsApplicationinDevelopmentofModernAutomobileElectronicsSystemsJ.Mechatronics200662024.inChinese.dSPACEJ.2009448.GuoYongbinSunWenkaiJiangYuanguang.HybridVehicleControlSystemDesignBasedondSPACEJ.LightVehicles2009448.inChinese.MATLAB6.5M.2003.ZhangZhiyong.MATLAB6.5M.BeijingBeihangUniversityPress2003.inChinese.ECUJ.2004245407410.LiChangwenZhangHongboZhaoChangluetal.StudyonElectronicControlUnitHardwaresintheLoopSimulationPlatformofDieselControlSystemsJ.JournalofBeijingInstituteofTechnology2004245407410.inChineseEHSANIMGaoYiminEMADIA.M.2010.EHSANIMGaoYiminEMADIA.ModernElectricHybridElectricVehiclesandFuelCellVehiclesBasicPrinciplesTheoryandDesignM.BeijingChinaMachinePress2010.inChinese.J.20124121122.YangJianguangMeiDacheng.BlackBoxTestingMe-thodandVehicleStrategyDiscussionJ.ComputerCDSoftwareandApplications20124121122.inChinese.J.2009813334.XiangRun.BlackBoxTestingMethodJ.SoftwareGuide2009813334.inChinese.J.20121534548.LiLi.ATestCaseDesignMethodBasedonStateConversionGraphicJ.SoftwareIndustryandEngineering20121534548.inChinese123476581988Tel13967137325E-mail892351521@qq.com8HILdSPACEMatlab/Simulink