【AUTOSAR】BMS开发实际项目讲解(六)----BMS软件架构设计

本文详细阐述了软件和硬件在功能安全方面的要求,包括软件需求规格(SR),技术安全要求(TSR),功能安全要求(FSR)等。提到了不同CPU平台的硬件限制,如内存和闪存大小,以及CPU负载和内存使用率的限制。软件需在符合AUTOSAR标准的RTOS环境下运行,强调了时间约束和错误处理机制。同时,文章列出了编译环境和软件架构设计的概述。
摘要由CSDN通过智能技术生成
    1. Terms and Abbreviation

No.

Terms/Abbreviation

Explanation

1

SRS

Software Requirement Specification

2

TSR

Technical Safety Requirements

3

FSR

Functional Safety Requirements

4

IC

Integrated Circuit

5

HIS

Hardware Software Interface

6

ID

Identification

7

FS

Function Safety

8

NFS

Non-Function Safety

9

SA

Software Architecture

10

DET

Default Error Tracer (AUTOSAR) / Diagnostic Exception Tracer (This document)

11

NM

CAN Network Management

12

13

表1

    1. References
      1. Project Reference Documents

No.

Name

Version

Date

1

DHEV-FS-T6-61 SW Safety Requirements Specification

1.2

2019/9/15

2

DHEV-FS-T4-62 System Design Specification

2.0

2019/1/5

3

DHEV-FS-T5-32 HW-SW Interface Specification

02

表2

      1. Outside Reference Documents

No.

Name

Version

Date

1

ISO 26262-6 Road vehicles — Functional safety — Part 6: Product development at the software level

Second edition

2018-12

2

3

表3

  1. Assumptions and Constrains

主 CPU: Infineon TC275TP

硬件约束:PFLASH: 4M Byte、Data Flash: 384K Byte、DSPR: 120K Byte、PSPR: 20K Byte

内存消耗:整体使用率≤ 80%,对于栈:正常运行≤ 70%, 压力测试≤85%

CPU负载约束:正常运行≤ 70%, 压力测试≤ 85%

软件运行环境约束:运行在RTOS环境下,使用符合AUTOSAR标准的操作系统RTA-OS

时间约束:在RTOS环境下,各任务执行的超时时间误差≤ 5%,功能安全需求相关任务执行的时间误差≤ 2%

从 CPU: Freescale MM9Z1_638

硬件约束:Flash: 128 kByte、RAM: 8.0 kByte、EEPROM: 4.0 kByte

内存消耗:整体使用率≤ 80%,对于栈:正常运行≤ 70%, 压力测试≤85%

CPU负载约束:正常运行≤ 70%, 压力测试≤ 85%

软件运行环境约束:无RTOS的前后台运行环境

时间约束:在前后台运行环境下,各周期性调用的函数执行的超时时间误差≤ 5%,功能安全需求相关周期性调用的函数执行的时间误差≤ 2%

  1. Compile Environment

Master CPU: TASKING VX-toolset for TriCore v4.2r2

Slave CPU: CodeWarrior Development Studio for Microcontrollers v10.7

  1. Software Architecture Design
    1. Software Architecture Overview
      1. Software Architecture Diagram (Slave CPU)

 

      1. Layer & Module definition (Slave CPU)

Module

Description

ASIL

Comments

ADC

Analog to Digital converter

ASIL A

CAN

Controller Area Network

ASIL A

Interrupt module

/

ASIL A

Period interrupt

/

ASIL A

COP Watchdog

/

ASIL A

System Clock

/

ASIL A

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

大道生

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值