EotProtnFwl_MDD

Module Design Document

For

EotProtnFwl

Feb 01, 2016

Prepared For:

Software Engineering

Nexteer Automotive,

Saginaw, MI, USA

Prepared By:

Sarika Natu,

KPIT Technologies,

India


Change History

DescriptionAuthorVersionDate
Initial VersionSarika Natu(KPIT Technologies)1.001-Feb-2016


Table of Contents

1 EotProtnFwl & High-Level Description 5

2 Design details of software module 6

2.1 Graphical representation of EotProtnFwl 6

2.2 Data Flow Diagram 6

2.2.1 Component level DFD 6

2.2.2 Function level DFD 6

3 Constant Data Dictionary 7

3.1 Program (fixed) Constants 7

3.1.1 Embedded Constants 7

4 Software Component Implementation 8

4.1 Sub-Module Functions 8

4.1.1 Init: EotProtnFwl_Init1 8

4.1.1.1 Design Rationale 8

4.1.1.2 Module Outputs 8

4.1.2 Per: EotProtnFwl_Per1 8

4.1.2.1 Design Rationale 8

4.1.2.2 Store Module Inputs to Local copies 8

4.1.2.3 (Processing of function)……… 8

4.1.2.4 Store Local copy of outputs into Module Outputs 8

4.2 Server Runables 8

4.3 Interrupt Functions 8

4.4 Module Internal (Local) Functions 8

4.4.1 Local Function #1 8

4.4.1.1 Design Rationale 9

4.4.1.2 Processing 9

4.4.2 Local Function #2 9

4.4.2.1 Design Rationale 9

4.4.2.2 Processing 9

4.5 GLOBAL Function/Macro Definitions 9

5 Known Limitations with Design 10

6 UNIT TEST CONSIDERATION 11

Appendix A Abbreviations and Acronyms 12

Appendix B Glossary 13

Appendix C References 14

EotProtnFwl & High-Level Description

EOT Protection Firewall function is safety function which imposes a firewall limit to the Assist_EOTDamping and EOTActvCmd motor commands generated by SF-018A.

Design details of software module

Graphical representation of EotProtnFwl

C:\Users\fzd2x9\Desktop\SF027A_EotProtnFwl_Impl.png

Data Flow Diagram

Refer FDD

Component level DFD

Refer FDD

Function level DFD

Refer FDD

Constant Data Dictionary

Program (fixed) Constants

Embedded Constants

Local Constants

Refer FDD

Software Component Implementation

Sub-Module Functions

Init: EotProtnFwl_Init1

Design Rationale

Refer FDD

Module Outputs

Refer FDD

Per: EotProtnFwl_Per1

Design Rationale

EotProtnFwl_Per1 function is divided into various functions to reduce the cyclomatic complexity.

Store Module Inputs to Local copies

Refer FDD

(Processing of function)………

Refer FDD

Store Local copy of outputs into Module Outputs

Refer FDD

Server Runnables

None

Interrupt Functions

None

Module Internal (Local) Functions

Local Function #1

Function NameDetEOTDampingTypeMinMax
Arguments PassedEotDampgCmd_MotNwtMtr_T_f32float32-8.88.8
EotProtnDi_Cnt_T_Loglboolean01
HwAg_HwDeg_T_f32float32-1440.01440.0
MotVelCrf_MotRadPerSec_T_f32float32- 1118.01118.0
EotProtnFwlPinionAgConfSts_Cnt_T_Loglboolean01
VehSpd_Kph_T_u9p7uint160511
MfgEnaSt_Cnt_T_EnumEnum01
* EotDampgFwlReached_Cnt_T_Loglboolean01
Return by ValueEotDampgCmdLimd_MotNwtMtr_T_f32float32-8.88.8

Design Rationale

This function updates EotDampgFwlReached_Cnt_T_Logl

Processing

Refer Active/Inactive region for EOTDamping Command implementation in model

Local Function #2

Function NameDetEOTActiveTypeMinMax
Arguments PassedEotActvCmd_MotNwtMtr_T_f32float32-8.88.8
EotProtnDi_Cnt_T_Loglboolean01
HwAg_HwDeg_T_f32float32-1440.01440.0
EotProtnFwlPinionAgConfSts_Cnt_T_Loglboolean01
VehSpd_Kph_T_u9p7uint160511
MfgEnaSt_Cnt_T_EnumEnum01
* EotActvCmdFwlReached_Cnt_T_Loglboolean01
Return ValueEotActvCmdLimd_MotNwtMtr_T_f32float32-8.88.8

Design Rationale

This function updates EotActvCmdFwlReached_Cnt_T_Logl

Processing

Refer Active/Inactive region for EOT Active Command implementation in model

GLOBAL Function/Macro Definitions

None

Known Limitations with Design

None

UNIT TEST CONSIDERATION

None

Abbreviations and Acronyms

Abbreviation or AcronymDescription

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.3.0 R4.0 Rev 2
2MDD GuidelineEA4 01.00.00
3Software Naming Conventions.doc2.0
4Software Design and Coding Standards.doc2.1
5SF027_EotProtnFwl_DesginPlease refer synergy subproject version
Last modified October 12, 2025: Initial commit (1fadfc4)