基于Simulink生成ARXML自下而上导入ISOLAR自动配置ASW组件并自动连线生成RTE

1. General

ETAS ISOLAR-A/B and MATLAB will be used to configure RTE. The version of the software used as below.

ID

Software

Version

1

ISOLAR-AB

V9.2.1

2

RTA-RTE

V7.5.3

3

RTA-BSW

V6.1.3

4

RTA-OS

V6.2.0

5

MATLAB

2021b

In order to successfully follow these workflows, you must have the RTACAR v9.2.1 toolchain installed, and you must be familiar with the AUTOSAR specifications, terminology and methodology.

1.1 Development Mode

There are 2 kinds of methods to develop RTE with ISOLAR.

The 1st one is used widely, but the disadvantage is also a headache.


Time consuming for SW design and integration. SwDev Engineers have to do the following at the same time:

Maintain the interfaces of Simulink


To improve the efficiency and mistake rate of SW development and integration, a solution based on the Automatic Method to achieve the implementation of RTE layer as below.

Figure 2 AUTOSAR Development Mode From Bottom to Top

1.2 Purpose

This document aims at instructing the engineers how to configure and generate the AutoSar source codes for RTE, COM in ISOLAR-A/B.

2. Develop AutoSar Frame Based on Simulink

MATLAB has already been able to support to develop model based on AutoSar. The concept is extremely simple that add an external frame on the top of the model. Briefly speaking, this frame is only used to:

  1. Define the interfaces and ports of SWC
  2. Generate the codes with the defined interfaces and ports.
  3. Generate the “.arxml” with the information of datatypes, interfaces, ports, runnable, and SWC.

Nevertheless, the generated arxml could not be imported in ISOLAR-A/B directly, due to the unreasonable design principle defined by MATLAB, e.g. the datatype definition, interface definition, etc.

Anyway, we could develop a tool to resolve this issue.

疑难问题:

  1. ARXML:Simulink只能基于单个模型生成SWC的arxml,但是又会将所有用到的IF定义并生成在ARXML中,这就是问题所在。这些重复定义的IF在不同的ARXML导入ISOLAR中会自动生成多个IF,从而造成冲突。

未完待续。。。

<后续会重点介绍Simulink配置过程及开发脚本生成arxml>

Reference: Heroluishin知识星球

INFO: 后期会在Heroluishin知识星球共享Simulink模型和AutoSAR配置的demo及ARXML

  • 10
    点赞
  • 25
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值