BmwStReqMgr_MDD

Module Design Document

For

BmwStReqMgr

May 22, 2018

Prepared By:

Software Group,

Nexteer Automotive,

Saginaw, MI, USA
Change History

DescriptionAuthorVersionDate
Initial VersionKrzysztof Byrski124-Oct-2017
Update to FDD 2.0.0Mateusz Bartocha214-Nov-17
Updated DiagramMatthew Leser310-Jan-18
Updated TargetECUState function inputsMatthew Leser423-Feb-18
Updated local functionsKrzysztof Byrski522-Mar-2018
Update to FDD 4.0.0Krzysztof Byrski622-May-2018


Table of Contents1 Introduction 4

1.1 Purpose 4

1.2 Scope 4

2 BmwStReqMgr & High-Level Description 5

3 Design details of software module 6

3.1 Graphical representation of BmwStReqMgr 6

3.2 Data Flow Diagram 6

3.2.1 Component level DFD 6

3.2.2 Function level DFD 6

4 Constant Data Dictionary 7

4.1 Program (fixed) Constants 7

4.1.1 Embedded Constants 7

5 Software Component Implementation 8

5.1 Sub-Module Functions 8

5.1.1 Init: BmwStReqMgrInit1 8

5.1.2 Per: BmwStReqMgrPer1 8

5.2 Server Runables 8

5.3 Interrupt Functions 8

5.4 Module Internal (Local) Functions 9

5.4.1 Local Function Override 9

5.4.2 Local Function CalcOfStsSteerAssiAndEpsFctSts 9

5.4.3 Local Function StsDrvrActvyTmr 10

5.4.4 Local Function AssiOnToOffFlg 10

5.4.5 Local Function AllwToOff 11

5.4.6 Local Function TargetECUState 11

5.5 GLOBAL Function/Macro Definitions 12

6 Known Limitations with Design 13

7 UNIT TEST CONSIDERATION 14

Appendix A Abbreviations and Acronyms 15

Appendix B Glossary 16

Appendix C References 17

Introduction

Purpose

Module Design Document for CF069A_BmwStReqMgr_Impl

Scope

The following definitions are used throughout this document:

  • Shall: indicates a mandatory requirement without exception in compliance.

  • Should: indicates a mandatory requirement; exceptions allowed only with documented justification.

  • May: indicates an optional action.

BmwStReqMgr & High-Level Description

This function will be responsible for requesting transitions between the states and modes of the steering system based on vehicle signals.

Design details of software module

Graphical representation of BmwStReqMgr

Data Flow Diagram

Refer FDD

Component level DFD

None

Function level DFD

None

Constant Data Dictionary

Program (fixed) Constants

Embedded Constants

Local Constants

Constant NameResolutionUnitsValue
-

*Refer FDD for local constants

Software Component Implementation

Sub-Module Functions

The sub-module functions are grouped based on similar functionality that needs to be executed in a given “State” of the system (refer States and Modes). For a given module, the MDD will identify the type and number of sub-modules required. The sub-module types are described below.

Init: Init1

Design Rationale

Refer FDD

Module Outputs

Refer FDD

Per: Per1

Design Rationale

Refer FDD

Store Module Inputs to Local copies

Refer FDD

(Processing of function)………

Refer FDD

Store Local copy of outputs into Module Outputs

Refer FDD

Server Runables

None

Interrupt Functions

None

Module Internal (Local) Functions

Local Function Override

Function NameOverrideTypeMinMax
Arguments PassedBmwVehCdnVld_Cnt_T_loglbooleanFALSETRUE
BmwVehCdn_Cnt_T_enumenum115
Return ValueBmwVehCdnVld_Cnt_T_loglbooleanFALSETRUE
BmwVehCdn_Cnt_T_enumenum115

Design Rationale

Refer FDD

Processing

Implementation of Simulink block Override

Local Function CalcOfStsSteerAssiAndEpsFctSts

Function NameCalcOfStsSteerAssiAndEpsFctStsTypeMinMax
Arguments PassedSysSt_Cnt_T_enumenum03
ThermRednFac_Uls_T_f32float3201
RcvrlFltPrsnt_Cnt_T_loglbooleanFALSETRUE
DiagcStsNonRcvrlReqDiFltPrsnt_Cnt_T_loglbooleanFALSETRUE
PwrLimrRednFac_Uls_T_f32float3201
Return ValueStsSteerAssi_Cnt_T_enumenum01
BmwEpsFctSts_Cnt_T_enumenum96224

Design Rationale

Refer FDD

Processing

Implementation of Simulink block DeterminationOfStatusSteeringAssistAndEpsFctSts

Local Function StsDrvrActvyTmr

Function NameStsDrvrActvyTmrTypeMinMax
Arguments PassedHwTq_HwNwtMtr_T_f32float32-1010
Return ValueStsDrvrActvy_Cnt_T_enumenum01

Design Rationale

Refer FDD

Processing

Implementation of Simulink block StsDrvrActvyTmr

Local Function AssiOnToOffFlg

Function NameAssiOnToOffFlgTypeMinMax
Arguments PassedDiagcStsNonRcvrlReqDiFltPrsnt_Cnt_T_loglbooleanFALSETRUE
BmwVehCdnVld_Cnt_T_loglbooleanFALSETRUE
BmwVehSpdSts_Cnt_T_enumenum115
VehSpd_Kph_T_f32float320350
BmwVehCdn_Cnt_T_enumenum115
StsDrvrActvy_Cnt_T_enumenum01
Return ValueAssiOnToOffFlg_Cnt_T_loglbooleanFALSETRUE

Design Rationale

Refer FDD

Processing

Implementation of Simulink block AssiOnToOffFlg

Local Function AllwToOff

Function NameAllwToOffTypeMinMax
Arguments PassedBmwVehCdn_Cnt_T_enumenum115
IgnLine_Cnt_T_loglbooleanFALSETRUE
Return ValueAllwToOff_Cnt_T_loglbooleanFALSETRUE

Design Rationale

Refer FDD

Processing

Implementation of Simulink block AllwToOff

Local Function TargetECUState

Function NameTargetECUStateTypeMinMax
Arguments PassedDiagcStsNonRcvrlReqDiFltPrsnt_Cnt_T_loglenumFALSETRUE
BmwVehCdn_Cnt_T_enumenum115
AssiOnToOffFlg_Cnt_T_loglbooleanFALSETRUE
AllwTranToDi_Cnt_T_loglbooleanFALSETRUE
IgnLine_Cnt_T_loglbooleanFALSETRUE
AllwToOff_Cnt_T_loglbooleanFALSETRUE
Return ValueTarEcuSt_Cnt_T_enumenum03
PwrSplyEnaReq_Cnt_T_loglbooleanFALSETRUE
SysStReqEna_Cnt_T_loglbooleanFALSETRUE
SysOperMotTqCmdSca_Uls_T_f32float01

Design Rationale

Refer FDD

Processing

Implementation of Simulink block TargetECUState

GLOBAL Function/Macro Definitions

None

Known Limitations with Design

None

UNIT TEST CONSIDERATION

None

Abbreviations and Acronyms

Abbreviation or AcronymDescription
FDDFunctional Design Document. (See references)

Glossary

Note: Terms and definitions from the source “Nexteer Automotive” take precedence over all other definitions of the same term. Terms and definitions from the source “Nexteer Automotive” are formulated from multiple sources, including the following:

  • ISO 9000

  • ISO/IEC 12207

  • ISO/IEC 15504

  • Automotive SPICE® Process Reference Model (PRM)

  • Automotive SPICE® Process Assessment Model (PAM)

  • ISO/IEC 15288

  • ISO 26262

  • IEEE Standards

  • SWEBOK

  • PMBOK

  • Existing Nexteer Automotive documentation

TermDefinitionSource
MDDModule Design Document
DFDData Flow Diagram

References

Ref. #TitleVersion
1AUTOSAR Specification of Memory Mapping (Link:AUTOSAR_SWS_MemoryMapping.pdf)v1.4.0 R4.0 Rev 3
2MDD Guideline EA41.02
3EA4 Software Naming Conventions1.01
4Software Design and Coding Standards2.01
5CF069A_BmwStReqMgr_DesignSee Synergy Sub Project Version
Last modified October 12, 2025: Initial commit (af72ad2)