Font Size: a A A

Study On Hardware-in-the-loop Testing Of Electric Vehicle Controller And Motor Controller Based On DSPACE

Posted on:2021-04-18Degree:MasterType:Thesis
Country:ChinaCandidate:M T DangFull Text:PDF
GTID:2492306470980649Subject:Vehicle Engineering
Abstract/Summary:PDF Full Text Request
The development of new energy vehicles can effectively alleviate the problem of environmental pollution.In electric vehicles,the vehicle controller controls the good operation of each module and information exchange;the motor controller controls the good operation of the motor module.With the increasing complexity of the electronic components of vehicle controllers and motor controllers,the traditional real-vehicle test technology has a long development cycle due to shortcomings such as long test cycles and lagging test times.Therefore,in order to solve the contradiction between the complication of functions of controllers and the needs of rapid development,hardware-in-the-loop testing has received attention.This paper takes pure electric vehicle controller and permanent magnet synchronous motor controller as research objects,respectively building a dSPACE-based pure electric vehicle controller hardware-in-the-loop simulation test platform and dSPACE-based pure electric vehicle permanent magnet synchronous motor control hardware-in-the-loop simulation test platform.Through in-depth analysis and research on the hardware-in-the-loop simulation test theory,from the hardware aspect,the core board of the dSPACE tool chain is studied,and the board suitable for this design is selected;according to the definition of the signal pin of the controller,the wire harness is made and the experimental platform is built,connecting the controller and the dSPACE cabinet to form a closed loop.In terms of software,according to the functional safety requirements and control strategies of the controller,the control requirements of the controller and the controlled object are analyzed.Based on the electrical system control standards,the built controlled object model is re-developed and the relevant parameter configuration is studied;By configuring the RTI CAN module,the cabinet and the measured object can perform bus communication;the controller pin topology is definedand the IO model is configured;the visual test interface is bulit.By studying the vehicle test process and test case design methods,the software test theory is applied to the test case development of the controller to achieve the entire test to cover all the functions of the controller as much as possible;a method designing the test case by extracting the conditions to code is designed;based on the user’s normal high-voltage power-on,D-block driving and incorporating start-up acceleration,taxiing,energy recovery,brake deceleration,brake parking and other working conditions,after the driving being over,the vehicle is backed up and stored in the warehouse.In the case of failure,the test situation of three function points of VCU high-voltage power-on control function,normal power-off control function and shift function are introduced;based on the user’s normal high-voltage power-on driving,driving during the process,the MCU encounters a fault and performs an emergency power-off.The normal power-off scenario after the end of driving is for the MCU power-on control function,normal power-off control function,emergency power-off control function,speed and torque control function,and fault protection function.The test situation of five function points is introduced.The test results show that coding test cases can improve test coverage,and the HIL test platform,as a test tool for testing the functionality of VCU and MCU,is effective and reliable.
Keywords/Search Tags:vehicle controller, motor controller, hardware-in-the-loop, dSPACE
PDF Full Text Request
Related items