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. | Description | Author | Version | Date |
| 1 | Initial version | Shishir Holenarasipura | 1.0 | 02-May-2018 |
Table of Contents
2 FordMsg077BusHiSpd & High-Level Description 7
3 Design details of software module 8
3.1 Graphical representation of FordMsg077BusHiSpd 8
4.1 Program (fixed) Constants 10
5 Software Component Implementation 11
5.1.1 Init: FordMsg077BusHiSpdInit1 11
5.1.2 Per: FordMsg077BusHiSpdPer1 11
5.2.1 ComIPduCallout_BrakeSnData_3_FD1 11
5.2.1.2 Processing of function 11
5.2.2 ComTimeoutNotification_VehLatComp_A_Actl 11
5.2.2.2 Processing of function 11
5.4 Module Internal (Local) Functions 12
5.5 GLOBAL Function/Macro Definitions 20
6 Known Limitations with Design 21
Appendix A Abbreviations and Acronyms 23
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 Name | Resolution | Units | Value |
|---|---|---|---|
| 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 Name | DiagEna | Type | Min | Max |
| Arguments Passed | FordTqSteerCmpEnad_Cnt_T_logl | boolean | 0U | 1U |
| FordBrkOscnRednEnad_Cnt_T_logl | boolean | 0U | 1U | |
| FordLaneKeepAssiEnad_Cnt_T_logl | boolean | 0U | 1U | |
| FordTrfcJamAssiEnad_Cnt_T_logl | boolean | 0U | 1U | |
| FordLaneCentrAssiEnad_Cnt_T_logl | boolean | 0U | 1U | |
| FordPullDriftCmpEnad_Cnt_T_logl | boolean | 0U | 1U | |
| FordTrlrBackUpAssiEnad_Cnt_T_logl | boolean | 0U | 1U | |
| FordEvasSteerAssiEnad_Cnt_T_logl | boolean | 0U | 1U | |
| FordCanDtcInhb_Cnt_T_logl | boolean | 0U | 1U | |
| FordClrDiagcFlgProxy_Cnt_T_logl | boolean | 0U | 1U | |
| *MissMsgDiagEna_Cnt_T_logl | boolean | 0U | 1U | |
| * FordVehLatACmpdInvldDiagEna_Cnt_T_logl | boolean | 0U | 1U | |
| *FordVehLgtACmpdInvldDiagEna_Cnt_T_logl | boolean | 0U | 1U | |
| *FordVehSpdOverGndInvldDiagEna_Cnt_T_logl | boolean | 0U | 1U | |
| Return Value | NA |
Design Rationale
None
Processing
Please refer to the below path in the FDD model.
MM124A_FordMsg077BusHiSpd/FordMsg077BusHiSpd/FordMsg077BusHiSpdPer1/DiagEna
Local Function #2
| Function Name | CalSeln | Type | Min | Max |
| Arguments Passed | FordEpsLifeCycMod_Cnt_T_u08 | uint8 | 0U | 1U |
| *BusHiSpdMissThd_MilliSec_T_u16 | uint16 | 0U | 6000U | |
| *BusHiSpdLatACmpdInvldThd_MilliSec_T_u16 | uint16 | 0U | 6000U | |
| *BusHiSpdLgtACmpdInvldThd_MilliSec_T_u16 | uint16 | 0U | 6000U | |
| *BusHiSpdYawRateCmpdInvldThd_MilliSec_T_u16 | uint16 | 0U | 6000U | |
| *BusHiSpdOverGndInvldThd_MilliSec_T_u16 | uint16 | 0U | 6000U | |
| Return Value | NA |
Design Rationale
None
Processing
Please refer to the below path in the FDD model.
MM124A_FordMsg077BusHiSpd/FordMsg077BusHiSpd/FordMsg077BusHiSpdPer1/CalSeln
Local Function #3
| Function Name | MissMsg | Type | Min | Max |
| Arguments Passed | MissMsgDiagEna_Cnt_T_logl | boolean | 0U | 1U |
| BusHiSpdMissTiThd_MilliSec_T_u16 | uint16 | 0U | 6000U | |
| *FordVehLatACmpdRaw_Cnt_T_u16 | uint16 | 0U | 1023U | |
| *FordVehLatACmpd_Cnt_T_f32 | float32 | -17.9 | 17.835 | |
| *FordVehLatACmpdVld_Cnt_T_logl | boolean | 0U | 1U | |
| *FordVehLgtACmpdRaw_Cnt_T_u16 | uint16 | 0U | 1023 | |
| *FordVehLgtACmpd_Cnt_T_f32 | float32 | -17.9 | 17.835 | |
| *FordVehLgtACmpdVld_Cnt_T_logl | boolean | 0U | 1U | |
| *FordVehYawRateCmpdRaw_Cnt_T_u16 | uint16 | 0U | 4095 | |
| *FordVehYawRateCmpd_Cnt_T_f32 | float32 | -75 | 74.92659 | |
| *FordVehYawRateCmpdVld_Cnt_T_logl | boolean | 0U | 1U | |
| *FordVehSpdOverGndRaw_Cnt_T_u16 | uint16 | 0U | 65535 | |
| *FordVehSpdOverGnd_Kph_T_f32 | float32 | 0 | 655.33 | |
| *FordVehSpdOverGndVld_Cnt_T_logl | boolean | 0U | 1U | |
| Return Value | NA |
Design Rationale
None
Processing
Please refer to the below path in the FDD model.
MM124A_FordMsg077BusHiSpd/FordMsg077BusHiSpd/FordMsg077BusHiSpdPer1/MissingMsgDetermination
Local Function #4
| Function Name | OutProcg | Type | Min | Max |
| Arguments Passed | Ford_VehLatComp_A_Actl_Cnt_T_enum | Ford_VehLatComp_A_Actl | 0U | 1023U |
| Ford_VehLongComp_A_Actl_Cnt_T_enum | Ford_VehLongComp_A_Actl | 0U | 1023U | |
| Ford_VehYawComp_W_Actl_Cnt_T_enum | Ford_VehYawComp_W_Actl | 0U | 4095U | |
| Ford_VehOverGnd_V_Est_Cnt_T_enum | Ford_VehOverGnd_V_Est | 0U | 65535U | |
| *FordVehLatACmpdRaw_Cnt_T_u16 | uint16 | 0U | 1023U | |
| *FordVehLatACmpd_Cnt_T_f32 | float32 | -17.9 | 17.835 | |
| *FordVehLatACmpdVld_Cnt_T_logl | boolean | 0U | 1U | |
| *FordVehLgtACmpdRaw_Cnt_T_u16 | uint16 | 0U | 1023U | |
| *FordVehLgtACmpd_Cnt_T_f32 | float32 | -17.9 | 17.835 | |
| *FordVehLgtACmpdVld_Cnt_T_logl | boolean | 0U | 1U | |
| *FordVehYawRateCmpdRaw_Cnt_T_u16 | uint16 | 0U | 4095U | |
| *FordVehYawRateCmpd_Cnt_T_f32 | float32 | -75 | 74.92659 | |
| *FordVehYawRateCmpdVld_Cnt_T_logl | boolean | 0U | 1U | |
| *FordVehSpdOverGndRaw_Cnt_T_u16 | uint16 | 0U | 65535U | |
| *FordVehSpdOverGnd_Kph_T_f32 | float32 | 0 | 655.35 | |
| *FordVehSpdOverGndVld_Cnt_T_logl | boolean | 0U | 1U | |
| *FordVehLatACmpdVldInp_Cnt_T_logl | boolean | 0U | 1U | |
| *FordVehLgtACmpdInp_Cnt_T_logl | boolean | 0U | 1U | |
| *FordVehYawRateCmpdInp_Cnt_T_logl | boolean | 0U | 1U | |
| *FordVehSpdOverGndInp_Cnt_T_logl | boolean | 0U | 1U | |
| Return Value | NA |
Design Rationale
None
Processing
Please refer to the below path in the FDD model.
MM124A_FordMsg077BusHiSpd/FordMsg077BusHiSpd/FordMsg077BusHiSpdPer1/MsgProcessing/OutputProcessing
Local Function #5
| Function Name | VldElpdTi | Type | Min | Max |
| Arguments Passed | *VehLatVldElpdTi_Cnt_T_logl | boolean | 0U | 1U |
| *VehLatInvldElpdTi_Cnt_T_logl | boolean | 0U | 1U | |
| *VehLgtVldElpdTi_Cnt_T_logl | boolean | 0U | 1U | |
| *VehLgtInvldElpdTi_Cnt_T_logl | boolean | 0U | 1U | |
| *VehYawRateVldElpdTi_Cnt_T_logl | boolean | 0U | 1U | |
| *VehYawRateInvldElpdTi_Cnt_T_logl | boolean | 0U | 1U | |
| *VehSpdOverGndVldElpdTi_Cnt_T_logl | boolean | 0U | 1U | |
| *VehSpdOverGndInvldElpdTi_Cnt_T_logl | boolean | 0U | 1U | |
| Return Value | NA |
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 Name | VehLatVldElpdTi | Type | Min | Max |
| Arguments Passed | *VehLatVldElpdTi_Cnt_T_logl | boolean | 0U | 1U |
| *VehLatInvldElpdTi_Cnt_T_logl | boolean | 0U | 1U | |
| Return Value | NA |
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 Name | VehLgtVldElpdTi | Type | Min | Max |
| Arguments Passed | *VehLgtVldElpdTi_Cnt_T_logl | boolean | 0U | 1U |
| *VehLgtInvldElpdTi_Cnt_T_logl | boolean | 0U | 1U | |
| Return Value | NA |
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 Name | VehYawRateVldElpdTi | Type | Min | Max |
| Arguments Passed | *VehYawRateVldElpdTi_Cnt_T_logl | boolean | 0U | 1U |
| *VehYawRateInvldElpdTi_Cnt_T_logl | boolean | 0U | 1U | |
| Return Value | NA |
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 Name | VehSpdOverGndVldElpdTi | Type | Min | Max |
| Arguments Passed | *VehSpdOverGndVldElpdTi_Cnt_T_logl | boolean | 0U | 1U |
| *VehSpdOverGndInvldElpdTi_Cnt_T_logl | boolean | 0U | 1U | |
| Return Value | NA |
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 Name | VehLatAVld | Type | Min | Max |
| Arguments Passed | FordVehLatACmpdVldInp_Cnt_T_logl | boolean | 0U | 1U |
| VehLatVldElpdTi_Cnt_T_logl | boolean | 0U | 1U | |
| VehLatInvldElpdTi_Cnt_T_logl | boolean | 0U | 1U | |
| *FordVehLatACmpdVld_Cnt_T_logl | boolean | 0U | 1U | |
| Return Value | NA |
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 Name | VehLgtAVld | Type | Min | Max |
| Arguments Passed | FordVehLgtACmpdInp_Cnt_T_logl | boolean | 0U | 1U |
| VehLgtVldElpdTi_Cnt_T_logl | boolean | 0U | 1U | |
| VehLgtInvldElpdTi_Cnt_T_logl | boolean | 0U | 1U | |
| *FordVehLgtACmpdVld_Cnt_T_logl | boolean | 0U | 1U | |
| Return Value | NA |
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 Name | VehYawRateVld | Type | Min | Max |
| Arguments Passed | FordVehYawRateCmpdInp_Cnt_T_logl | boolean | 0U | 1U |
| VehYawRateVldElpdTi_Cnt_T_logl | boolean | 0U | 1U | |
| VehYawRateInvldElpdTi_Cnt_T_logl | boolean | 0U | 1U | |
| *FordVehYawRateCmpdVld_Cnt_T_logl | boolean | 0U | 1U | |
| Return Value | NA |
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 Name | VehSpdOverGndVld | Type | Min | Max |
| Arguments Passed | FordVehSpdOverGndInp_Cnt_T_logl | boolean | 0U | 1U |
| VehSpdOverGndVldElpdTi_Cnt_T_logl | boolean | 0U | 1U | |
| VehSpdOverGndInvldElpdTi_Cnt_T_logl | boolean | 0U | 1U | |
| *FordVehSpdOverGndVld_Cnt_T_logl | boolean | 0U | 1U | |
| Return Value | NA |
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 Name | MissMsgNtcPass | Type | Min | Max |
| Arguments Passed | MissMsgDiagEna_Cnt_T_logl | boolean | 0U | 1U |
| FordVehYawRateCmpdInp_Cnt_T_logl | boolean | 0U | 1U | |
| BusHiSpdYawRateCmpdInvldThd_Cnt_T_u16 | uint16 | 0U | 65535U | |
| FordEvasSteerAssiEnad_Cnt_T_logl | boolean | 0U | 1U | |
| Return Value | NA |
Design Rationale
None
Processing
Please refer to the below path in the FDD model.
MM124A_FordMsg077BusHiSpd/FordMsg077BusHiSpd/FordMsg077BusHiSpdPer1/MsgProcessing/MissMsgNtcPass
Local Function #15
| Function Name | FordVehLgtACmpdInvldNtc | Type | Min | Max |
| Arguments Passed | FordVehLgtACmpdInvldDiagEna_Cnt_T_logl | boolean | 0U | 1U |
| FordVehLgtACmpdInp_Cnt_T_logl | boolean | 0U | 1U | |
| BusHiSpdLgtACmpdInvldThd_Cnt_T_u16 | uint16 | 0U | 65535U | |
| Return Value | NA |
Design Rationale
None
Processing
Please refer to the below path in the FDD model.
MM124A_FordMsg077BusHiSpd/FordMsg077BusHiSpd/FordMsg077BusHiSpdPer1/MsgProcessing/FordVehLgtACmpdInvldNtc
Local Function #16
| Function Name | FordVehLatACmpdInvldDiagEnaPass | Type | Min | Max |
| Arguments Passed | FordVehLatACmpdInvldDiagEna_Cnt_T_logl | boolean | 0U | 1U |
| FordVehLatACmpdVldInp_Cnt_T_logl | boolean | 0U | 1U | |
| BusHiSpdLatACmpdInvldThd_Cnt_T_u16 | uint16 | 0U | 65535U | |
| Return Value | NA |
Design Rationale
None
Processing
Please refer to the below path in the FDD model.
MM124A_FordMsg077BusHiSpd/FordMsg077BusHiSpd/FordMsg077BusHiSpdPer1/MsgProcessing/FordVehLatACmpdInvldDiagEnaPass
Local Function #17
| Function Name | FordVehSpdOverGndInvldNtc | Type | Min | Max |
| Arguments Passed | FordVehSpdOverGndInvldDiagEna_Cnt_T_logl | boolean | 0U | 1U |
| BusHiSpdOverGndInvldThd_Cnt_T_u16 | uint16 | 0U | 65535U | |
| FordVehSpdOverGndInp_Cnt_T_logl | boolean | 0U | 1U | |
| Return Value | NA |
Design Rationale
None
Processing
Please refer to the below path in the FDD model.
MM124A_FordMsg077BusHiSpd/FordMsg077BusHiSpd/FordMsg077BusHiSpdPer1/MsgProcessing/FordVehSpdOverGndInvldNtc
Local Function #18
| Function Name | IsFeatActv | Type | Min | Max |
| Arguments Passed | Enad_Cnt_T_logl | boolean | 0U | 1U |
| Return Value | NA |
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 Acronym | Description |
|---|---|
| FDD | Functional 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
| Term | Definition | Source |
|---|---|---|
| MDD | Module Design Document | |
| DFD | Data Flow Diagram |
References
| Ref. # | Title | Version |
|---|---|---|
| 1 | AUTOSAR Specification of Memory Mapping (Link:AUTOSAR_SWS_MemoryMapping.pdf) | v1.3.0 R4.0 Rev 2 |
| 2 | MDD Guideline | EA4 01.02 |
| 3 | Software Naming Conventions.doc | EA4 01.02 |
| 4 | Software Design and Coding Standards.doc | EA4 2.01 |
| 5 | FDD: MM073A_FordMsg3CABusHiSpd_Design | See Synergy subproject version |