微特电机 ›› 2022, Vol. 50 ›› Issue (6): 1-9.

• 理论研究 •    下一篇

一种基于AUTOSAR的电机控制器软件架构设计

崔淑梅, 张玉琦, 杜博超, 姚凯, 程远   

  1. 哈尔滨工业大学 电气工程及自动化学院,哈尔滨 150001
  • 收稿日期:2022-04-17 发布日期:2022-07-08
  • 作者简介:崔淑梅(1964—),女,博士,教授,研究方向为电动汽车电驱动技术和控制系统、无线电能传输技术。张玉琦(1998—),男,硕士研究生,研究方向为电机设计与控制。杜博超(1986—),男,博士,讲师,研究方向为电机控制及故障诊断。姚凯(1998—),男,博士研究生,研究方向为电机驱动及控制。程远(1979—),男,博士,教授,研究方向为电机驱动及控制。
  • 基金资助:
    国家自然科学基金青年科学基金资助项目(51807034)

A Software Architecture Design of Motor Controller Based on AUTOSAR

CUI Shumei, ZHANG Yuqi, DU Bochao, YAO Kai, CHENG Yuan   

  1. School of Electrical Engineering and Automation, Harbin Institute of Technology,Harbin 150001, China
  • Received:2022-04-17 Published:2022-07-08

摘要: 随电动汽车控制器和软件功能数量急剧增加,构建分层架构体系以提高产品在不同平台的可扩展性、软件的安全可靠性、可移植性和生命周期已是大势所趋。而电机控制器作为电动汽车ECU之一,对通讯及功能安全、匹配整车架构、适应系统特性的需求和重要性和电机控制算法已并驾齐驱。针对电机控制器软件分层架构的研究中,功能覆盖不够全面,分层体系不够系统成熟,提出一种基于AUTOSAR驱动电机系统软件架构。在简析AUTOSAR概念和分层架构标准体系,分析电机控制器的各部分功能模块、硬软件资源的占用及其交互关系的基础上,提出分层原则和整体构架体系;给出包含运行控制算法和功能安全模块的基于AUTOSAR的电机控制器软件架构各层实现与描述;以具体实例的软件流程图进行分析说明,并通过实验验证该理论设计的可行性与先进性。

关键词: 电机控制器, 软硬件耦合, 汽车开放系统构架, 软件分层架构

Abstract: With the rapid increase in the number of functions of electric vehicle controllers and software, it has become a general trend to build layered architecture to improve the scalability of products on different platforms, the safety and reliability of software, portability and life cycle. As one of theelectronic control units of electric vehicles, the motor controller has been on a par with the motor control algorithm in terms of the requirements and importance of communication and functional safety, matching vehicle architecture and adapting system characteristics. In the research on the layered architecture of motor controller software, the functional coverage was not comprehensive enough, and the layered system was not mature enough. Based on a brief analysis of the AUTOSAR concept and the layered architecture system, and analysis of the functional modules of the motor controller, the occupation of hardware and software resources and their interaction, the layering principle and the overall architecture system was put forward; The realization and description of each layer of the AUTOSAR-based motor controller software architecture of the control algorithm and functional safety module were given. the software flowchart of aspecific examples were used for analysis and explanation to verify the feasibility of the theoretical design.

Key words: motor controller, hardware/software coupling, automotive open system architecture(AUTOSAR), software layered architecture

中图分类号: