Font Size: a A A

Research On Functional Test Of Vehicle Controller Of Electrical Vehicles Based On Hardware In The Loop

Posted on:2015-12-27Degree:MasterType:Thesis
Institution:UniversityCandidate:XiaFull Text:PDF
GTID:2272330452958764Subject:Power Engineering
Abstract/Summary:
Motors, batteries and electric control are the key technologies of electric vehicles.As the core of the electric control system, the development of vehicle controllerfollows the standard V-Cycle process of automotive electronics. Hardware in the loop(HIL), which plays an important role in V-Cycle, is able to fully verify the function ofthe vehicle controller.The vehicle controller software system can be divided into the low-level layer andthe application layer. The low-level software is the carrier of the application layersoftware functions, whose function is relatively simple and involves massiveduplication work during the testing process. The application layer software hasrelatively complex function with heavy testing work. Consequently, a system methodshould be applied to improve test efficiency for reducing test cost. To solve theseproblems, automatic testing system used in the low-level software is developed.Besides, the vehicle controller function test model and test case automatic generationsoftware is proposed. These methods mentioned above have been applied in thevehicle controller development process, resulting an improvement in test efficiencyand reduction in the test cost. The specific work is summarized as follows:The HIL system lifecycle has been put forward. This present work introduces thedevelopment process and function of the vehicle controller. The HIL system and itsprinciple in the application of vehicle controller based on dSPACE is presented. Thebuilding process of HIL system must be standardized and the system has to bemaintained during the implementation. Therefore, the hardware in loop systemlifecycle model is proposed.In order to reduce the workload of the low-level software testing, an automatictest method of the low-level software interface is put forward. Then a HILenvironment for testing the function of application layer is built by Matlab/Simulinksoftware, with the module divided reasonably. An object model of electric car is builtand the parameterized management is realized. After that, a Controldesk testmanagement interface is built to verify the whole environment.A vehicle controller function test model is built by the implementation of the statemachine based on the requirement documents, and method of discretization of inputs is proposed. The discrete inputting method is based on the equivalence class partitionmethod and boundary value, which is realized and implemented by Python In addition,considering that fault has to be set in some test cases, the fault injection test based ondSPACE DS291board is introduced.
Keywords/Search Tags:Electrical vehicles, Vehicle controller unit, Hardware in theloop, Functional test
Related items