Journal of Chongqing University of Technology(Natural Science) ›› 2023, Vol. 37 ›› Issue (5): 12-18.
• Vehicle engineering • Previous Articles Next Articles
Online:
Published:
Abstract: In order to solve the problem that application layer codes and underlying driver codes need to be manually integrated in the development process of the automotive electronic control system, this paper uses Matlab/Simulink to design application layer control strategies for pure electric vehicle controllers as the research objects, including vehicle power-on and power-off, key signal analysis, gear management, torque analysis and torque arbitration. The underlying driver is firstly configured by STM32-MAT/Target toolkit and STM32Cubemx, and then the configured underlying driver can be dragged into the Simulink interface as a graphical module so as to be built on the same platform as the application layer control strategies do. Finally, all the embedded C codes are generated with one key by using Simulink automatic code generation, and the STM32F407ZGTE micro-controller is used as the hardware platform to select several typical driving conditions for real-time algorithm verification. The results show that the generated codes work well in the target system and can run according to the designed logic. Compared with manual integration, this fully automated development method reduces manual input errors, improves development efficiency and speeds up the entire process from design to implementation.
CLC Number:
0 / / Recommend
Add to citation manager EndNote|Reference Manager|ProCite|BibTeX|RefWorks
URL: http://clgzk.qks.cqut.edu.cn/EN/
http://clgzk.qks.cqut.edu.cn/EN/Y2023/V37/I5/12
Cited