FordMsg4B0BusHiSpd_MDD
Module Design Document
For
FordMsg4B0BusHiSpd
Prepared For:
,
Prepared By:
TATA ELXSI,
INDIA
Change History
| Description | Author | Version | Date |
| Initial version | TATA ELXSI | 1 | 17-Apr-2018 |
Table of Contents
2 FordMsg4B0BusHiSpd & High-Level Description 6
3 Design details of software module 7
3.1 Graphical representation of FordMsg4B0BusHiSpd 7
4.1 Program (fixed) Constants 8
5 Software Component Implementation 9
5.1.1 Init: FordMsg4B0BusHiSpdInit1 9
5.1.2 Per: FordMsg4B0BusHiSpdPer1 9
5.4 Module Internal (Local) Functions 9
5.5 GLOBAL Function/Macro Definitions 12
6 Known Limitations with Design 13
Appendix A Abbreviations and Acronyms 15
Introduction
Purpose
Module Design Document for MM089A_FordMsg4B0BusHiSpd_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.
FordMsg4B0BusHiSpd & High-Level Description
The purpose of the Ford Message 4B0 Bus High Speed function is to provide the Electric Power Steering system with signal values for the Torque Steer Compensation, Brake Oscillation Reduction, Lane Detection Warning, LKA, Traffic Jam Assist, Lane Center Assist, and Evasive Steer Assist functions from CAN. The Ford Message 4B0 function will perform the missing message and signal invalid diagnostics as well as provide a validity flag for the signal values and received message.
Design details of software module
Graphical representation of FordMsg4B0BusHiSpd

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 |
|---|---|---|---|
| Please refer Data Dictionary .m file | NA | NA | NA |
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: FordMsg4B0BusHiSpdInit1
Design Rationale
Refer FDD
Module Outputs
Refer FDD
Per: FordMsg4B0BusHiSpdPer1
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_ABS_BrkBst_Data_FD1
5.2.1.1 Design Rationale
None
5.2.1.2 Processing of function
None
ComTimeoutNotification_YawStabilityIndex
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 | SetNTC | Type | Min | Max |
|---|---|---|---|---|
| Arguments Passed | FordTqSteerCmpEnad_Cnt_T_logl | boolean | 0U | 1U |
| FordBrkOscnRednEnad_Cnt_T_logl | boolean | 0U | 1U | |
| LaneDetnWarnEnad_Cnt_T_logl | boolean | 0U | 1U | |
| LaneKeepAssiEnad_Cnt_T_logl | boolean | 0U | 1U | |
| ClrDiagcFlgProxyEna_Cnt_log | boolean | 0U | 1U | |
| TrfcJamAssiEnad_Cnt_T_logl | boolean | 0U | 1U | |
| FordLaneCentrAssiEnad_Cnt_T_logl | boolean | 0U | 1U | |
| FordEvasSteerAssiEnad_Cnt_T_logl | boolean | 0U | 1U | |
| FordCanDtcInhb_Cnt_T_logl | boolean | 0U | 1U | |
| FordEpsLifeCycMod_Cnt_T_u08 | uint8 | 0U | 1U | |
| ClrDiagcFlgProxy_Cnt_T_u08 | boolean | 0U | 1U | |
| FordVehYawStabyRaw_Cnt_T_enum | boolean | 0U | 1U | |
| Return Value |
Design Rationale
Processing
Please refer to the below path in the FDD model.
MM089A_FordMsg4B0BusHiSpd/FordMsg4B0BusHiSpd/FordMsg4B0BusHiSpdPer1
Local Function #2
| Function Name | SetNTC_0x18D | Type | Min | Max |
|---|---|---|---|---|
| Arguments Passed | FeatCdn_Cnt_T_logl | boolean | 0U | 1U |
| CanDtcInhbEna_Cnt_T_logl | boolean | 0U | 1U | |
| MsgMissNtcDiagcTiThd_Cnt_T_u32 | uint32 | 0U | 4294967295U | |
| Return Value |
Design Rationale
Processing
Please refer to the below path in the FDD model.
MM089A_FordMsg4B0BusHiSpd/FordMsg4B0BusHiSpd/FordMsg4B0BusHiSpdPer1/SetNTC
Local Function #3
| Function Name | SetNTC_0x18E | Type | Min | Max |
|---|---|---|---|---|
| Arguments Passed | FeatCdn_Cnt_T_logl | boolean | 0U | 1U |
| CanDtcInhbEna_Cnt_T_logl | boolean | 0U | 1U | |
| MsgFltNtcDiagcTiThd_Cnt_T_u32 | uint32 | 0U | 4294967295U | |
| FordVehYawStabyRaw_Cnt_T_enum | Enum | 0U | 511U | |
| Return Value |
Design Rationale
Processing
Please refer to the below path in the FDD model.
MM089A_FordMsg4B0BusHiSpd /FordMsg4B0BusHiSpd/FordMsg4B0BusHiSpdPer1/SetNTC
Local Function #4
| Function Name | MsgVldChk | Type | Min | Max |
|---|---|---|---|---|
| Arguments Passed | MsgVld_Cnt_T_logl | boolean | 0U | 1U |
| Return Value | MsgVldFlg_Cnt_T_logl | boolean | 0U | 1U |
Design Rationale
Processing
Please refer to the below path in the FDD model.
MM089A_FordMsg4B0BusHiSpd/FordMsg4B0BusHiSpd/FordMsg4B0BusHiSpdPer1/SetNTC
Local Function #5
| Function Name | MsgMissChk | Type | Min | Max |
|---|---|---|---|---|
| Arguments Passed | None | |||
| Return Value | MsgNotRxdFlg_Cnt_T_logl | boolean | 0U | 1U |
Design Rationale
Processing
Please refer to the below path in the FDD model.
MM089A_FordMsg4B0BusHiSpd/FordMsg4B0BusHiSpd/FordMsg4B0BusHiSpdPer1/SetNTC
Local Function #6
| Function Name | MsgNoDataExistChk | Type | Min | Max |
|---|---|---|---|---|
| Arguments Passed | FordVehYawStabyRaw_Cnt_T_enum | Enum | 0U | Enum |
| Return Value | MsgNoDataExistFlg_Cnt_T_logl | boolean | 0U | 1U |
Design Rationale
Processing
Please refer to the below path in the FDD model.
MM089A_FordMsg4B0BusHiSpd/FordMsg4B0BusHiSpd/FordMsg4B0BusHiSpdPer1/SetNTC
Local Function #7
| Function Name | MsgFltChk | Type | Min | Max |
|---|---|---|---|---|
| Arguments Passed | FordVehYawStabyRaw_Cnt_T_enum | Enum | 0U | Enum |
| Return Value | MsgFltFlg_Cnt_T_logl | boolean | 0U | 1U |
Design Rationale
Processing
Please refer to the below path in the FDD model.
MM089A_FordMsg4B0BusHiSpd/FordMsg4B0BusHiSpd/FordMsg4B0BusHiSpdPer1/SetNTC
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: MM089A_FordMsg4B0BusHiSpd_Design | See Synergy subproject version |