FordMsg07DBusHiSpd_MDD

Module Design Document

For

FordMsg07DBusHiSpd

18-Apr-2018

Prepared For:

Software Engineering

Nexteer Automotive,

Saginaw, MI, USA

Prepared By:

TATA ELXSI,

INDIA


Change History

Sl. No.DescriptionAuthorVersionDate
1Initial versionTATA ELXSI1.018-Apr-2018


Table of Contents

Table of Contents 3

1 Introduction 5

1.1 Purpose 5

1.2 Scope 5

2 FordMsg07DBusHiSpd & High-Level Description 6

3 Design details of software module 7

3.1 Graphical representation of FordMsg07DBusHiSpd 7

3.2 Data Flow Diagram 7

3.2.1 Component level DFD 7

3.2.2 Function level DFD 7

4 Constant Data Dictionary 8

4.1 Program (fixed) Constants 8

4.1.1 Embedded Constants 8

5 Software Component Implementation 9

5.1 Sub-Module Functions 9

5.1.1 Init: FordMsg07DBusHiSpdInit1 9

5.1.2 Per: FordMsg07DBusHiSpdPer1 9

5.2 Server Runables 9

5.3 Interrupt Functions 9

5.4 Module Internal (Local) Functions 9

5.4.1 Local Function #1 9

5.4.1.1 Design Rationale 10

5.4.1.2 Processing 10

5.4.2 Local Function #2 10

5.4.2.1 Design Rationale 10

5.4.2.2 Processing 10

5.4.3 Local Function #3 10

5.4.3.1 Design Rationale 11

5.4.3.2 Processing 11

5.4.4 Local Function #4 11

5.4.4.1 Design Rationale 11

5.4.4.2 Processing 11

5.4.5 Local Function #5 11

5.4.5.1 Design Rationale 11

5.4.5.2 Processing 12

5.4.6 Local Function #6 12

5.4.6.1 Design Rationale 12

5.4.6.2 Processing 12

5.4.7 Local Function #7 12

5.4.7.1 Design Rationale 12

5.4.7.2 Processing 12

5.4.8 Local Function #8 12

5.4.8.1 Design Rationale 13

5.4.8.2 Processing 13

5.5 GLOBAL Function/Macro Definitions 13

6 Known Limitations with Design 14

7 UNIT TEST CONSIDERATION 15

Appendix A Abbreviations and Acronyms 16

Appendix B Glossary 17

Appendix C References 18

Introduction

Purpose

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

FordMsg07DBusHiSpd & High-Level Description

The purpose of the Ford Message 07D Bus High Speed function is to provide the Electric Power Steering system with signal values for the Brake Oscillation Reduction and Trailer Back Up Assist function from CAN. The Ford Message 07D function will perform the missing message diagnostic, signal invalid diagnostic, and provide a validity flag for the received message and signal values.

Design details of software module

Graphical representation of FordMsg07DBusHiSpd

C:\Users\guru.s\AppData\Local\Microsoft\Windows\INetCache\Content.Word\MM052A.JPG

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 data dictionary 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: FordMsg07DBusHiSpdInit1

Design Rationale

Refer FDD

Module Outputs

Refer FDD

Per: FordMsg07DBusHiSpdPer1

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_4_FD1

5.2.1.1 Design Rationale

None

5.2.1.2 Processing of function

None

ComTimeoutNotification_BrkTot_Tq_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 PassedFordBrkOscnRednEnad_Cnt_T_loglboolean0U1U
FordTrlrBackUpAssiEnad_Cnt_T_loglboolean0U1U
FordCanDtcInhb_Cnt_T_loglboolean0U1U
ClrDiagcFlgProxy_Cnt_T_u08uint80U1U
*MissMsgDiagEna_Cnt_T_loglboolean0U1U
*VertACmpdSigInvldDiagEna_Cnt_T_loglboolean0U1U
*ClrDiagcFlgProxyEna_Cnt_T_loglboolean0U1U
Return ValueNA

Design Rationale

None

Processing

Please refer to the below path in the FDD model.

MM052A_FordMsg07DBusHiSpd/FordMsg07DBusHiSpd/FordMsg07DBusHiSpdPer1/DiagEna

Local Function #2

Function NameCalSelnTypeMinMax
Arguments PassedFordEpsLifeCycMod_Cnt_T_u08uint80U1U
*BusHiSpdMissThd_MilliSec_T_u16uint160U6000U
*VehActlTqBrkBusHiSpdInvldFaildThd_MilliSec_T_u16uint160U6000U
*VertACmpdSigBusHiSpdInvldFaildThd_MilliSec_T_u16uint160U6000U
Return ValueNA

Design Rationale

None

Processing

Please refer to the below path in the FDD model.

MM052A_FordMsg07DBusHiSpd/FordMsg07DBusHiSpd/FordMsg07DBusHiSpdPer1/CalSeln

Local Function #3

Function NameNTCFailTypeMinMax
Arguments PassedBusHiSpdMissThd_MilliSec_T_u16uint160U6000U
MissMsgDiagEna_Cnt_T_loglboolean0U1U
ClrDiagcFlgProxyEna_Cnt_T_loglboolean0U1U
*FordVehBrkTqVld_Cnt_T_loglboolean0U1U
*FordVehVertAVld_Cnt_T_loglboolean0U1U
Return ValueNA

Design Rationale

None

Processing

Please refer to the below path in the FDD model.

MM052A_FordMsg07DBusHiSpd/FordMsg07DBusHiSpd/FordMsg07DBusHiSpdPer1/FordMsg07DMsgMiss/NTCFail

Local Function #4

Function NameMissMsgNtcFailTypeMinMax
Arguments PassedBusHiSpdMissThd_MilliSec_T_u16uint160U6000U
MissMsgDiagEna_Cnt_T_loglboolean0U1U
ClrDiagcFlgProxyEna_Cnt_T_loglboolean0U1U
Return ValueNA

Design Rationale

None

Processing

Please refer to the below path in the FDD model.

MM052A_FordMsg07DBusHiSpd/FordMsg07DBusHiSpd/FordMsg07DBusHiSpdPer1/FordMsg07DMsgMiss/NTCFail/MissMsgNtcFail

Local Function #5

Function NameOutpProcgTypeMinMax
Arguments PassedFord_BrkTot_Tq_Actl_Cnt_T_enumFord_BrkTot_Tq_Actl0U8191U
Ford_VehVertComp_A_Actl_Cnt_T_enumFord_VehVertComp_A_Actl0U1023U
*FordVehActBrkTqRaw_Cnt_T_u16uint160U8191U
*FordVehBrkTqVld_Cnt_T_loglboolean0U1U
*FordVehVertACmpdRaw_Cnt_T_u16uint160U1023U
*FordVehVertAVld_Cnt_T_loglboolean0U1U
*FordVehBrkTqVldInp_Cnt_T_loglboolean0U1U
*FordVehVertAVldInp_Cnt_T_loglboolean0U1U
Return ValueNA

Design Rationale

None

Processing

Please refer to the below path in the FDD model.

MM052A_FordMsg07DBusHiSpd/FordMsg07DBusHiSpd/FordMsg07DBusHiSpdPer1/FordMsg07DMsgPrsnt/OutputProcessing

Local Function #6

Function NameFordVehVertACmpdInvldStsTypeMinMax
Arguments PassedVertACmpdSigBusHiSpdInvldFaildThd_MilliSec_T_u16uint160U6000U
FordVehVertAVldInp_Cnt_T_loglboolean0U1U
Return ValueNA

Design Rationale

None

Processing

Please refer to the below path in the FDD model.

MM052A_FordMsg07DBusHiSpd/FordMsg07DBusHiSpd/FordMsg07DBusHiSpdPer1/FordMsg07DMsgPrsnt/FordVehVertACmpdInvldSts

Local Function #7

Function NameElpdTiTypeMinMax
Arguments Passed*FordVehBrkTqVldElpdTi_Cnt_T_loglboolean0U1U
*FordVehBrkTqInvldElpdTi_Cnt_T_loglboolean0U1U
*FordVehVertACmpdSigInvldElpdTi_Cnt_T_loglboolean0U1U
*FordVehVertACmpdSigVldElpdTi_Cnt_T_loglboolean0U1U
Return ValueNA

Design Rationale

None

Processing

Please refer to the below path in the FDD model.

MM052A_FordMsg07DBusHiSpd/FordMsg07DBusHiSpd/FordMsg07DBusHiSpdPer1/FordMsg07DMsgPrsnt/OutputProcessing/ElpdTi

GLOBAL Function/Macro Definitions

None

Known Limitations with Design

  1. In the design path: MM052A_FordMsg07DBusHiSpd/FordMsg07DBusHiSpd/FordMsg07DBusHiSpdPer1/FordMsg07DMsgPrsnt/OutputProcessing/FordVehBrkTqVld Processing/SetInvld,

The input signal name to the merge block does not match with its output signal name.

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: MM052A_FordMsg07DBusHiSpd_DesignSee Synergy subproject version
Last modified October 12, 2025: Initial commit (ddf2e20)