FordMsg077BusHiSpd_MDD

Module Design Document

For

FordMsg077BusHiSpd

02-May-2018

Prepared For:

Software Engineering

Nexteer Automotive,

Saginaw, MI, USA

Prepared By:

TATA ELXSI,

INDIA

Change History

Sl. No.DescriptionAuthorVersionDate
1Initial versionShishir Holenarasipura1.002-May-2018


Table of Contents

Table of Contents 3

1 Introduction 6

1.1 Purpose 6

1.2 Scope 6

2 FordMsg077BusHiSpd & High-Level Description 7

3 Design details of software module 8

3.1 Graphical representation of FordMsg077BusHiSpd 8

3.2 Data Flow Diagram 9

3.2.1 Component level DFD 9

3.2.2 Function level DFD 9

4 Constant Data Dictionary 10

4.1 Program (fixed) Constants 10

4.1.1 Embedded Constants 10

5 Software Component Implementation 11

5.1 Sub-Module Functions 11

5.1.1 Init: FordMsg077BusHiSpdInit1 11

5.1.2 Per: FordMsg077BusHiSpdPer1 11

5.2 Server Runnables 11

5.2.1 ComIPduCallout_BrakeSnData_3_FD1 11

5.2.1.1 Design Rationale 11

5.2.1.2 Processing of function 11

5.2.2 ComTimeoutNotification_VehLatComp_A_Actl 11

5.2.2.1 Design Rationale 11

5.2.2.2 Processing of function 11

5.3 Interrupt Functions 12

5.4 Module Internal (Local) Functions 12

5.4.1 Local Function #1 12

5.4.1.1 Design Rationale 12

5.4.1.2 Processing 12

5.4.2 Local Function #2 12

5.4.2.1 Design Rationale 13

5.4.2.2 Processing 13

5.4.3 Local Function #3 13

5.4.3.1 Design Rationale 13

5.4.3.2 Processing 13

5.4.4 Local Function #4 14

5.4.5 Design Rationale 14

5.4.5.1 Processing 14

5.4.6 Local Function #5 15

5.4.6.1 Design Rationale 15

5.4.6.2 Processing 15

5.4.7 Local Function #6 15

5.4.7.1 Design Rationale 15

5.4.7.2 Processing 15

5.4.8 Local Function #7 15

5.4.8.1 Design Rationale 16

5.4.8.2 Processing 16

5.4.9 Local Function #8 16

5.4.9.1 Design Rationale 16

5.4.9.2 Processing 16

5.4.10 Local Function #9 16

5.4.10.1 Design Rationale 16

5.4.10.2 Processing 16

5.4.11 Local Function #10 17

5.4.11.1 Design Rationale 17

5.4.11.2 Processing 17

5.4.12 Local Function #11 17

5.4.12.1 Design Rationale 17

5.4.12.2 Processing 17

5.4.13 Local Function #12 17

5.4.13.1 Design Rationale 18

5.4.13.2 Processing 18

5.4.14 Local Function #13 18

5.4.14.1 Design Rationale 18

5.4.14.2 Processing 18

5.4.15 Local Function #14 18

5.4.15.1 Design Rationale 18

5.4.15.2 Processing 19

5.4.16 Local Function #15 19

5.4.16.1 Design Rationale 19

5.4.16.2 Processing 19

5.4.17 Local Function #16 19

5.4.17.1 Design Rationale 19

5.4.17.2 Processing 19

5.4.18 Local Function #17 19

5.4.18.1 Design Rationale 20

5.4.18.2 Processing 20

5.4.19 Local Function #18 20

5.4.19.1 Design Rationale 20

5.4.19.2 Processing 20

5.5 GLOBAL Function/Macro Definitions 20

6 Known Limitations with Design 21

7 UNIT TEST CONSIDERATION 22

Appendix A Abbreviations and Acronyms 23

Appendix B Glossary 24

Appendix C References 25

Introduction

Purpose

Module Design Document for MM124A_FordMsg077BusHiSpd_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.

FordMsg077BusHiSpd & High-Level Description

Refer the FDD.

Design details of software module

Graphical representation of FordMsg077BusHiSpd

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

Constant NameResolutionUnitsValue
Refer .m file for 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: FordMsg077BusHiSpdInit1

Design Rationale

Refer FDD

Module Outputs

Refer FDD

Per: FordMsg077BusHiSpdPer1

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 Runnables

ComIPduCallout_BrakeSnData_3_FD1

5.2.1.1 Design Rationale

None

5.2.1.2 Processing of function

None

ComTimeoutNotification_VehLatComp_A_Actl

5.2.2.1 Design Rationale

None

5.2.2.2 Processing of function

None

Interrupt Functions

None

Module Internal (Local) Functions

Local Function #1

Function NameDiagEnaTypeMinMax
Arguments PassedFordTqSteerCmpEnad_Cnt_T_loglboolean0U1U
FordBrkOscnRednEnad_Cnt_T_loglboolean0U1U
FordLaneKeepAssiEnad_Cnt_T_loglboolean0U1U
FordTrfcJamAssiEnad_Cnt_T_loglboolean0U1U
FordLaneCentrAssiEnad_Cnt_T_loglboolean0U1U
FordPullDriftCmpEnad_Cnt_T_loglboolean0U1U
FordTrlrBackUpAssiEnad_Cnt_T_loglboolean0U1U
FordEvasSteerAssiEnad_Cnt_T_loglboolean0U1U
FordCanDtcInhb_Cnt_T_loglboolean0U1U
FordClrDiagcFlgProxy_Cnt_T_loglboolean0U1U
*MissMsgDiagEna_Cnt_T_loglboolean0U1U
* FordVehLatACmpdInvldDiagEna_Cnt_T_loglboolean0U1U
*FordVehLgtACmpdInvldDiagEna_Cnt_T_loglboolean0U1U
*FordVehSpdOverGndInvldDiagEna_Cnt_T_loglboolean0U1U
Return ValueNA

Design Rationale

None

Processing

Please refer to the below path in the FDD model.

MM124A_FordMsg077BusHiSpd/FordMsg077BusHiSpd/FordMsg077BusHiSpdPer1/DiagEna

Local Function #2

Function NameCalSelnTypeMinMax
Arguments PassedFordEpsLifeCycMod_Cnt_T_u08uint80U1U
*BusHiSpdMissThd_MilliSec_T_u16uint160U6000U
*BusHiSpdLatACmpdInvldThd_MilliSec_T_u16uint160U6000U
*BusHiSpdLgtACmpdInvldThd_MilliSec_T_u16uint160U6000U
*BusHiSpdYawRateCmpdInvldThd_MilliSec_T_u16uint160U6000U
*BusHiSpdOverGndInvldThd_MilliSec_T_u16uint160U6000U
Return ValueNA

Design Rationale

None

Processing

Please refer to the below path in the FDD model.

MM124A_FordMsg077BusHiSpd/FordMsg077BusHiSpd/FordMsg077BusHiSpdPer1/CalSeln

Local Function #3

Function NameMissMsgTypeMinMax
Arguments PassedMissMsgDiagEna_Cnt_T_loglboolean0U1U
BusHiSpdMissTiThd_MilliSec_T_u16uint160U6000U
*FordVehLatACmpdRaw_Cnt_T_u16uint160U1023U
*FordVehLatACmpd_Cnt_T_f32float32-17.917.835
*FordVehLatACmpdVld_Cnt_T_loglboolean0U1U
*FordVehLgtACmpdRaw_Cnt_T_u16uint160U1023
*FordVehLgtACmpd_Cnt_T_f32float32-17.917.835
*FordVehLgtACmpdVld_Cnt_T_loglboolean0U1U
*FordVehYawRateCmpdRaw_Cnt_T_u16uint160U4095
*FordVehYawRateCmpd_Cnt_T_f32float32-7574.92659
*FordVehYawRateCmpdVld_Cnt_T_loglboolean0U1U
*FordVehSpdOverGndRaw_Cnt_T_u16uint160U65535
*FordVehSpdOverGnd_Kph_T_f32float320655.33
*FordVehSpdOverGndVld_Cnt_T_loglboolean0U1U
Return ValueNA

Design Rationale

None

Processing

Please refer to the below path in the FDD model.

MM124A_FordMsg077BusHiSpd/FordMsg077BusHiSpd/FordMsg077BusHiSpdPer1/MissingMsgDetermination

Local Function #4

Function NameOutProcgTypeMinMax
Arguments PassedFord_VehLatComp_A_Actl_Cnt_T_enumFord_VehLatComp_A_Actl0U1023U
Ford_VehLongComp_A_Actl_Cnt_T_enumFord_VehLongComp_A_Actl0U1023U
Ford_VehYawComp_W_Actl_Cnt_T_enumFord_VehYawComp_W_Actl0U4095U
Ford_VehOverGnd_V_Est_Cnt_T_enumFord_VehOverGnd_V_Est0U65535U
*FordVehLatACmpdRaw_Cnt_T_u16uint160U1023U
*FordVehLatACmpd_Cnt_T_f32float32-17.917.835
*FordVehLatACmpdVld_Cnt_T_loglboolean0U1U
*FordVehLgtACmpdRaw_Cnt_T_u16uint160U1023U
*FordVehLgtACmpd_Cnt_T_f32float32-17.917.835
*FordVehLgtACmpdVld_Cnt_T_loglboolean0U1U
*FordVehYawRateCmpdRaw_Cnt_T_u16uint160U4095U
*FordVehYawRateCmpd_Cnt_T_f32float32-7574.92659
*FordVehYawRateCmpdVld_Cnt_T_loglboolean0U1U
*FordVehSpdOverGndRaw_Cnt_T_u16uint160U65535U
*FordVehSpdOverGnd_Kph_T_f32float320655.35
*FordVehSpdOverGndVld_Cnt_T_loglboolean0U1U
*FordVehLatACmpdVldInp_Cnt_T_loglboolean0U1U
*FordVehLgtACmpdInp_Cnt_T_loglboolean0U1U
*FordVehYawRateCmpdInp_Cnt_T_loglboolean0U1U
*FordVehSpdOverGndInp_Cnt_T_loglboolean0U1U
Return ValueNA

Design Rationale

None

Processing

Please refer to the below path in the FDD model.

MM124A_FordMsg077BusHiSpd/FordMsg077BusHiSpd/FordMsg077BusHiSpdPer1/MsgProcessing/OutputProcessing

Local Function #5

Function NameVldElpdTiTypeMinMax
Arguments Passed*VehLatVldElpdTi_Cnt_T_loglboolean0U1U
*VehLatInvldElpdTi_Cnt_T_loglboolean0U1U
*VehLgtVldElpdTi_Cnt_T_loglboolean0U1U
*VehLgtInvldElpdTi_Cnt_T_loglboolean0U1U
*VehYawRateVldElpdTi_Cnt_T_loglboolean0U1U
*VehYawRateInvldElpdTi_Cnt_T_loglboolean0U1U
*VehSpdOverGndVldElpdTi_Cnt_T_loglboolean0U1U
*VehSpdOverGndInvldElpdTi_Cnt_T_loglboolean0U1U
Return ValueNA

Design Rationale

None

Processing

Please refer to the below path in the FDD model.

MM124A_FordMsg077BusHiSpd/FordMsg077BusHiSpd/FordMsg077BusHiSpdPer1/MsgProcessing/OutputProcessing/VldElpdTi

Local Function #6

Function NameVehLatVldElpdTiTypeMinMax
Arguments Passed*VehLatVldElpdTi_Cnt_T_loglboolean0U1U
*VehLatInvldElpdTi_Cnt_T_loglboolean0U1U
Return ValueNA

Design Rationale

None

Processing

Please refer to the below path in the FDD model.

MM124A_FordMsg077BusHiSpd/FordMsg077BusHiSpd/FordMsg077BusHiSpdPer1/MsgProcessing/OutputProcessing/VldElpdTi

Local Function #7

Function NameVehLgtVldElpdTiTypeMinMax
Arguments Passed*VehLgtVldElpdTi_Cnt_T_loglboolean0U1U
*VehLgtInvldElpdTi_Cnt_T_loglboolean0U1U
Return ValueNA

Design Rationale

None

Processing

Please refer to the below path in the FDD model.

MM124A_FordMsg077BusHiSpd/FordMsg077BusHiSpd/FordMsg077BusHiSpdPer1/MsgProcessing/OutputProcessing/VldElpdTi

Local Function #8

Function NameVehYawRateVldElpdTiTypeMinMax
Arguments Passed*VehYawRateVldElpdTi_Cnt_T_loglboolean0U1U
*VehYawRateInvldElpdTi_Cnt_T_loglboolean0U1U
Return ValueNA

Design Rationale

None

Processing

Please refer to the below path in the FDD model.

MM124A_FordMsg077BusHiSpd/FordMsg077BusHiSpd/FordMsg077BusHiSpdPer1/MsgProcessing/OutputProcessing/VldElpdTi

Local Function #9

Function NameVehSpdOverGndVldElpdTiTypeMinMax
Arguments Passed*VehSpdOverGndVldElpdTi_Cnt_T_loglboolean0U1U
*VehSpdOverGndInvldElpdTi_Cnt_T_loglboolean0U1U
Return ValueNA

Design Rationale

None

Processing

Please refer to the below path in the FDD model.

MM124A_FordMsg077BusHiSpd/FordMsg077BusHiSpd/FordMsg077BusHiSpdPer1/MsgProcessing/OutputProcessing/VldElpdTi

Local Function #10

Function NameVehLatAVldTypeMinMax
Arguments PassedFordVehLatACmpdVldInp_Cnt_T_loglboolean0U1U
VehLatVldElpdTi_Cnt_T_loglboolean0U1U
VehLatInvldElpdTi_Cnt_T_loglboolean0U1U
*FordVehLatACmpdVld_Cnt_T_loglboolean0U1U
Return ValueNA

Design Rationale

None

Processing

Please refer to the below path in the FDD model.

MM124A_FordMsg077BusHiSpd/FordMsg077BusHiSpd/FordMsg077BusHiSpdPer1/MsgProcessing/OutputProcessing/ChkElpdTi

Local Function #11

Function NameVehLgtAVldTypeMinMax
Arguments PassedFordVehLgtACmpdInp_Cnt_T_loglboolean0U1U
VehLgtVldElpdTi_Cnt_T_loglboolean0U1U
VehLgtInvldElpdTi_Cnt_T_loglboolean0U1U
*FordVehLgtACmpdVld_Cnt_T_loglboolean0U1U
Return ValueNA

Design Rationale

None

Processing

Please refer to the below path in the FDD model.

MM124A_FordMsg077BusHiSpd/FordMsg077BusHiSpd/FordMsg077BusHiSpdPer1/MsgProcessing/OutputProcessing/ChkElpdTi

Local Function #12

Function NameVehYawRateVldTypeMinMax
Arguments PassedFordVehYawRateCmpdInp_Cnt_T_loglboolean0U1U
VehYawRateVldElpdTi_Cnt_T_loglboolean0U1U
VehYawRateInvldElpdTi_Cnt_T_loglboolean0U1U
*FordVehYawRateCmpdVld_Cnt_T_loglboolean0U1U
Return ValueNA

Design Rationale

None

Processing

Please refer to the below path in the FDD model.

MM124A_FordMsg077BusHiSpd/FordMsg077BusHiSpd/FordMsg077BusHiSpdPer1/MsgProcessing/OutputProcessing/ChkElpdTi

Local Function #13

Function NameVehSpdOverGndVldTypeMinMax
Arguments PassedFordVehSpdOverGndInp_Cnt_T_loglboolean0U1U
VehSpdOverGndVldElpdTi_Cnt_T_loglboolean0U1U
VehSpdOverGndInvldElpdTi_Cnt_T_loglboolean0U1U
*FordVehSpdOverGndVld_Cnt_T_loglboolean0U1U
Return ValueNA

Design Rationale

None

Processing

Please refer to the below path in the FDD model.

MM124A_FordMsg077BusHiSpd/FordMsg077BusHiSpd/FordMsg077BusHiSpdPer1/MsgProcessing/OutputProcessing/ChkElpdTi

Local Function #14

Function NameMissMsgNtcPassTypeMinMax
Arguments PassedMissMsgDiagEna_Cnt_T_loglboolean0U1U
FordVehYawRateCmpdInp_Cnt_T_loglboolean0U1U
BusHiSpdYawRateCmpdInvldThd_Cnt_T_u16uint160U65535U
FordEvasSteerAssiEnad_Cnt_T_loglboolean0U1U
Return ValueNA

Design Rationale

None

Processing

Please refer to the below path in the FDD model.

MM124A_FordMsg077BusHiSpd/FordMsg077BusHiSpd/FordMsg077BusHiSpdPer1/MsgProcessing/MissMsgNtcPass

Local Function #15

Function NameFordVehLgtACmpdInvldNtcTypeMinMax
Arguments PassedFordVehLgtACmpdInvldDiagEna_Cnt_T_loglboolean0U1U
FordVehLgtACmpdInp_Cnt_T_loglboolean0U1U
BusHiSpdLgtACmpdInvldThd_Cnt_T_u16uint160U65535U
Return ValueNA

Design Rationale

None

Processing

Please refer to the below path in the FDD model.

MM124A_FordMsg077BusHiSpd/FordMsg077BusHiSpd/FordMsg077BusHiSpdPer1/MsgProcessing/FordVehLgtACmpdInvldNtc

Local Function #16

Function NameFordVehLatACmpdInvldDiagEnaPassTypeMinMax
Arguments PassedFordVehLatACmpdInvldDiagEna_Cnt_T_loglboolean0U1U
FordVehLatACmpdVldInp_Cnt_T_loglboolean0U1U
BusHiSpdLatACmpdInvldThd_Cnt_T_u16uint160U65535U
Return ValueNA

Design Rationale

None

Processing

Please refer to the below path in the FDD model.

MM124A_FordMsg077BusHiSpd/FordMsg077BusHiSpd/FordMsg077BusHiSpdPer1/MsgProcessing/FordVehLatACmpdInvldDiagEnaPass

Local Function #17

Function NameFordVehSpdOverGndInvldNtcTypeMinMax
Arguments PassedFordVehSpdOverGndInvldDiagEna_Cnt_T_loglboolean0U1U
BusHiSpdOverGndInvldThd_Cnt_T_u16uint160U65535U
FordVehSpdOverGndInp_Cnt_T_loglboolean0U1U
Return ValueNA

Design Rationale

None

Processing

Please refer to the below path in the FDD model.

MM124A_FordMsg077BusHiSpd/FordMsg077BusHiSpd/FordMsg077BusHiSpdPer1/MsgProcessing/FordVehSpdOverGndInvldNtc

Local Function #18

Function NameIsFeatActvTypeMinMax
Arguments PassedEnad_Cnt_T_loglboolean0U1U
Return ValueNA

Design Rationale

None

Processing

Please refer to the below path in the FDD model.

MM124A_FordMsg077BusHiSpd/FordMsg077BusHiSpd/FordMsg077BusHiSpdPer1/DiagEna

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.3.0 R4.0 Rev 2
2MDD GuidelineEA4 01.02
3Software Naming Conventions.docEA4 01.02
4Software Design and Coding Standards.docEA4 2.01
5FDD: MM073A_FordMsg3CABusHiSpd_DesignSee Synergy subproject version
Last modified October 12, 2025: Initial commit (ddf2e20)