Embedded C Code Generation Platform for Electric Vehicle Controller

2012 ◽  
Vol 546-547 ◽  
pp. 778-783 ◽  
Author(s):  
Peng Geng ◽  
Ming Gao Ouyang ◽  
Jian Qiu Li ◽  
Liang Fei Xu

This paper presents an automated C code generation platform for the development of electric vehicle controller, based on Matlab/Simulink Real-Time Workshop. By means of this method, it is possible to develop vehicle control algorithms and configure device drivers in graphic environment. Moreover, it can generate executable C code and download them into Vehicle Control Unit automatically. This technique reduces handwritten code errors, and shortens the R&D time and cost, compared with traditional method. Besides, this technology platform is applied to the development of electric vehicle controller for the first time, using a custom Simulink driver library for MPC5644A microcontroller.

2014 ◽  
Vol 721 ◽  
pp. 308-312
Author(s):  
Hong Wei Liu ◽  
Li Juan Wang ◽  
Jun Hui Tian

The driving intentions are identified, based on gear, pedal signals and vehicle status. Driving process is divided into starting mode, driving mode, reversing mode and so on. Safety management module is set, in order to control the process of power on and off, and detect the main fault related to vehicle control unit.


2021 ◽  
Vol 11 (15) ◽  
pp. 6730
Author(s):  
Michele Vignati ◽  
Nicola Debattisti ◽  
Maria Laura Bacci ◽  
Davide Tarsitano

The realization of the first prototype of a vehicle requires several tests of the algorithms implemented on the electronic control unit (ECU). This represents an important step for conventional vehicles, which becomes fundamental when dealing with unmanned vehicles. Since there is no human supervision, most critical tasks are handled by the control unit, which results in higher complexity for the control algorithms. In this work, a software-in-the-loop (SiL) test bench is used to validate the control algorithms of a vehicle control unit (VCU) for a driverless railway vehicle (DLRV). The VCU manages the control of the traction motors, pneumatic braking systems, and range extender, as well as control of the hybrid powertrain configuration to guarantee a high level of availability via the use of redundant systems. The SiL test bench has been developed in a Simulink real-time environment, where the vehicle model is simulated along with its fundamental subsystems. The model communicates with the VCU through a CAN bus protocol in the same way that it will operate with a real vehicle. The proposed method can be used to simulate many mission profiles for the DLRV, which may last several hours each. Moreover, this kind of test bench ensures a high time resolution, which allows one to find solutions for problems which occur with a time scale that is much smaller than the simulation time scale.


2013 ◽  
Vol 694-697 ◽  
pp. 1573-1581 ◽  
Author(s):  
Pan Song ◽  
Chang Fu Zong ◽  
Hong Yu Zheng ◽  
Lei He

This paper presents a full drive-by-wire vehicle named Urban Future Electric Vehicle (UFEV) and introduces the detailed design of its vehicle control unit (VCU). The LabVIEW and PXI solution is selected for the rapid prototyping of VCU, which also acts as a real-time test, measurement and control platform for UFEV. To address its unique features, the design and transition of specific driving modes are introduced. Experiments show that omnidirectional moving can be implemented accurately and reliably by using the proposed design.


Author(s):  
K. Shibazaki ◽  
H. Nozaki

In this study, in order to improve steering stability during turning, we devised an inner and outer wheel driving force control system that is based on the steering angle and steering angular velocity, and verified its effectiveness via running tests. In the driving force control system based on steering angle, the inner wheel driving force is weakened in proportion to the steering angle during a turn, and the difference in driving force is applied to the inner and outer wheels by strengthening the outer wheel driving force. In the driving force control (based on steering angular velocity), the value obtained by multiplying the driving force constant and the steering angular velocity,  that differentiates the driver steering input during turning output as the driving force of the inner and outer wheels. By controlling the driving force of the inner and outer wheels, it reduces the maximum steering angle by 40 deg and it became possible to improve the cornering marginal performance and improve the steering stability at the J-turn. In the pylon slalom it reduces the maximum steering angle by 45 deg and it became possible to improve the responsiveness of the vehicle. Control by steering angle is effective during steady turning, while control by steering angular velocity is effective during sharp turning. The inner and outer wheel driving force control are expected to further improve steering stability.


Sign in / Sign up

Export Citation Format

Share Document