摘要
针对传统手写编程进行软件开发周期长、调试难度大的问题,本文采用Simulink模型搭建并自动生成代码的方式生成应用层软件,为了更好地验证和测试所开发的应用层软件,本文基于合理设计的测试用例通过多次仿真测试后,使应用层与底层代码进行集成,最后通过硬件实测,验证所开发的车身控制系统软件的可靠性。Simulink模型的软件开发方式与传统的开发形式相比,开发时间大大缩短,代码可读性提高,同时还增强了车身控制系统软件的稳定性和可靠性。
Aiming at the problems of long software development life cycle and difficult debugging in traditional handwriten code,the paper uses Simulink model to build and automatically generate code to generate application layer software.In order to better verify and test the developed application layer software,the paper integrates the application layer with the underlying code after several simulation tests based on the rationally designed test cases.Finally,the reliability of the developed body control system software is verified by the hardware testing.Compared with the traditional development mode,the software development method based on Simulink model greatly shortens the development time,improves the readability of the code,and enhances the stability and reliability of the body control system software.
作者
王鑫
李惠宇
王茹
岳智帅
安旺
WANG Xin;LI Hui-yu;WANG Ru;YUE Zhi-shuai;AN Wang(Zhizi Automobile Technology Co.,Ltd.,Xianyang 713702,China)
出处
《汽车电器》
2023年第7期37-41,共5页
Auto Electric Parts