摘要: |
In the field of automotive electronic control software development, the concept of model based design has been widely recognized, which mainly focus on using MATLAB for development. The key point of model based design is to setup a group of unified software development standards, processes and methods, and realize them with automatic tool chains. The development of automotive control software using MATLAB in China is not enough mature, therefore, this paper establishes an automotive electronic software plat- form based on model design, including software architecture, software integration and automatic software specification genera- tion. Software architecture includes model hierarchy partition, function scheduling, function encapsulation, basic algorithm library, in- put and output interface, data dictionary definition, unified configuration, and software initialization, Software integration provides a method which integrates the Simulink control models, the basic software C codes and other external function C codes, Software specifica- tion is automatically generated by the way that control model information is obtained, and output to a Latex format file through MATLAB M language, then the Latex file is compiled to software specification. Finally, this paper develops a modeling tool based on this plat- form, which can greatly improve the efficiency of software development and guarantee the quality of software. |