Electric vehicle, which has the advantages of high efficiency and zero pollution, is considered to be one of the most effective method to solve the vehicle energy shortage and environmental pollution in the future. Pure electric vehicles will be the main direction of future development. With the development of the research on electric vehicles, people pay more and more attention to distributed drive electric vehicle.In this article, the vehicle control system software is designed which based on a distributed driving electric vehicle. First of all, the type and function of input and output signal of the vehicle control and the vehicle control software function is determined after analyzing the structure of vehicle and the construction of vehicle control system. It is determined that PI control algorithm based on tire speed difference, which is used in multi condition driving. At the same time, Ackerman differential algorithm is used in vehicle steering control, after analyzing and describing the various driving condition of distributed drive vehicle. Then, the paper puts forward the overall design scheme and function of the vehicle control software. The V-mode which is a new development pattern of vehicle control unit is studied in this paper, and the development process in this paper is determined. The vehicle control model is established by Matlab/Simulink, and the control strategy code of vehicle controller is automatic generated by RTW. The driver software of vehicle is established by DAvE. After integrated the control strategy code and driver software of vehicle by Tasking software, the vehicle control software is completed.At last, the vehicle control software is tested and debugged, including bench test and vehicle test. According to the needs of bench test and debugging, the single-wheel in wheel motor bench control software is designed. Through the associated debugging, the test results show that this software can complete the expected control and data acquisition. After the bench debugging, the vehicle test is completed, including vehicle starting-straight accelerating condition, fixed steering angle condition, stop and backward condition. The vehicle test results show that vehicle control software satisfies the requirements of electric vehicle driving, and it ensures security and stability of the electric vehicle at the same time. |