FordSysSt_MDD

Module Design Document

For

FordSysSt

04-Dec-2017

Prepared For:

Software Engineering

Nexteer Automotive,

Saginaw, MI, USA

Prepared By:

Shawn Penning,

Nexteer Automotive,

Saginaw, MI, USA
Change History

DescriptionAuthorVersionDate
Initial VersionShawn Penning104-Dec-2017


Table of Contents

1 Introduction 6

1.1 Purpose 6

1.2 Scope 6

2 FordSysSt & High-Level Description 7

3 Design details of software module 8

3.1 Graphical representation of FordSysSt 8

3.2 Data Flow Diagram 8

3.2.1 Component level DFD 8

3.2.2 Function level DFD 8

4 Constant Data Dictionary 9

4.1 Program (fixed) Constants 9

4.1.1 Embedded Constants 9

5 Software Component Implementation 10

5.1 Sub-Module Functions 10

5.1.1 Init: FordSysStInit1 10

5.1.1.1 Design Rationale 10

5.1.1.2 Module Outputs 10

5.1.2 Per: FordSysStPer1 10

5.1.2.1 Design Rationale 10

5.1.2.2 Store Module Inputs to Local copies 10

5.1.2.3 (Processing of function) 10

5.1.2.4 Store Local copy of outputs into Module Outputs 10

5.2 Server Runnables 10

5.3 Interrupt Functions 10

5.4 Module Internal (Local) Functions 10

5.4.1 Local Function #1 10

5.4.1.1 Design Rationale 10

5.4.1.2 Processing 11

5.4.2 Local Function #2 11

5.4.2.1 Design Rationale 11

5.4.2.2 Processing 11

5.4.3 Local Function #3 11

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 12

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 13

5.4.7.2 Processing 13

5.4.8 Local Function #8 13

5.4.9 Design Rationale 13

5.4.9.1 Processing 13

5.4.10 Local Function #9 13

5.4.11 Design Rationale 13

5.4.11.1 Processing 13

5.4.12 Local Function #10 13

5.4.12.1 Design Rationale 13

5.4.12.2 Processing 14

5.4.13 Local Function #11 14

5.4.14 Design Rationale 14

5.4.14.1 Processing 14

5.4.15 Local Function #12 14

5.4.16 Design Rationale 14

5.4.16.1 Processing 14

5.4.17 Local Function #13 14

5.4.18 Design Rationale 14

5.4.18.1 Processing 14

5.5 GLOBAL Function/Macro Definitions 14

6 Known Limitations with Design 16

7 UNIT TEST CONSIDERATION 17

Appendix A Abbreviations and Acronyms 18

Appendix B Glossary 19

Appendix C References 20

Introduction

Purpose

Scope

FordSysSt & High-Level Description

Ford System State will handle internal states and failure modes, and output the current state to the bus.

Design details of software module

Graphical representation of FordSysSt

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

Software Component Implementation

Sub-Module Functions

Init: Init1

Design Rationale

None

Module Outputs

None

Per: Per1

Design Rationale

None

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 NameChkLvngWarmInitTypeMinMax
Arguments PassedFordSysSt_Cnt_T_enumSysSt10U3U
FordLoaSt_Cnt_T_enumLoaSt10U5U
SysStWrmIninCmpl_Cnt_T_loglBooleanFALSETRUE
FordVltgOperSt_Cnt_T_enumFordVltgOperSt10U6U
FordEpsSysSt_Cnt_T_enumFordEpsSysSt10U8U
OperScaFctr_Cnt_T_f32float320.11
OperRampRate_Cnt_T_f32float320.11000
Return Valuenone

Design Rationale

None

Processing

Check the conditions for leaving ChkLvngWarmInit.

Local Function #2

Function NameChkLvngLimpHomeTypeMinMax
Arguments PassedFordLoaSt_Cnt_T_enumLoaSt10U3U
FordEpsSysSt_Cnt_T_enumFordEpsSysSt10U8U
Return Valuenone

Design Rationale

None

Processing

Local Function #3

Function NameChkLvngLimpAsideTypeMinMax
Arguments PassedFordLoaSt_Cnt_T_enumLoaSt10U3U
FordEpsSysSt_Cnt_T_enumFordEpsSysSt10U8U
Return Valuenone

Design Rationale

None

Processing

Check the condtions for leaving LimpAside for another substate of EPSSystemFailure.

Local Function #4

Function NameChkLvngRampOutTypeMinMax
Arguments PassedFordLoaSt_Cnt_T_enumLoaSt10U3U
FordEpsSysSt_Cnt_T_enumFordEpsSysSt10U8U
Return Valuenone

Design Rationale

None

Processing

Check the condtions for leaving RampOut for another substate of EPSSystemFailure.

Local Function #5

Function NameChkLvngEpsNormOperLimAssiTypeMinMax
Arguments PassedLoaSt_Cnt_T_enumLoaSt10U3U
FordVltgOperSt_Cnt_T_enumFordVltgOperSt10U6U
SysSt_Cnt_T_enumSysSt10U3U
FordVehSpdVld_Cnt_T_loglbooleanFALSETRUE
FordVehSpd_Cnt_T_f32float320.0F511.0F
FordVehPwrpkTqSts_Cnt_T_enumFord_PwPckTq_D_Stat0U3U
NtcQlfr_Cnt_T_enumSigQlfr10U2U
FordEpsSysSt_Cnt_T_enumFordEpsSysSt10U8U
OperScaFctr_Cnt_T_f32float320.0F1.0F
OperRampRate_Cnt_T_f32float320.0F1000.0F
Return Valuenone

Design Rationale

None

Processing

Check the conditions for leaving EpsNormOper-->LimAssi.

Local Function #6

Function NameChkLvngEpsNormOperFullAssiTypeMinMax
Arguments PassedFordLoaSt_Cnt_T_enumLoaSt10U3U
FordVltgOperSt_Cnt_T_enumFordVltgOperSt10U6U
FordSysSt_Cnt_T_enumSysSt10U3U
FordVehSpdVld_Cnt_T_loglbooleanFALSETRUE
FordVehSpd_Cnt_T_f32float320.0F511.0F
FordVehPwrpkTqSts_Cnt_T_enumFord_PwPckTq_D_Stat0U3U
NtcQlfr_Cnt_T_enumSigQlfr10U2U
Return Valuenone

Design Rationale

None

Processing

Check the conditions for leaving EpsNormOper-->FullAssist.

Local Function #7

Function NamePowerDownTypeMinMax
Arguments PassedNone
Return Value

Design Rationale

None

Processing

Set FordEpsSystemSt to PowerDown

Local Function #8

Function NameWarmInitTypeMinMax
Arguments PassedNone
Return Value

Design Rationale

None

Processing

Set WarmInit conditions.

Local Function #9

Function NameEpsSystemFailureTypeMinMax
Arguments PassedNone
Return Value

Design Rationale

None

Processing

Set EpsSystemFailure variables common to the entire block.

Local Function #10

Function NameEpsSystemFailureExitCheckTypeMinMax
Arguments PassedFordSysSt_Cnt_T_enumSysSt10U3U
FordVehSpd_Cnt_T_f32float320.0F511.0F
FordVehSpdVld_Cnt_T_loglbooleanFALSETRUE
FordVehPwrpkTqSts_Cnt_T_enumFord_PwPckTq_D_Stat0U3U
NtcQlfr_Cnt_T_enumSigQlfr10U2U
Return ValuebooleanFALSETRUE

Design Rationale

None

Processing

Called whenever FordEpsSysSt is already in an EpsSystemFailure state.

Local Function #11

Function NameLimAssistTypeMinMax
Arguments PassedNone
Return Value

Design Rationale

None

Processing

Set LimAssist conditions.

Local Function #12

Function NameFullAssistTypeMinMax
Arguments PassedNone
Return Value

Design Rationale

None

Processing

Set FullAssist conditions.

Local Function #13

Function NameShutDownTypeMinMax
Arguments PassedNone
Return Value

Design Rationale

None

Processing

Set ShutDown conditions.

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 Mappingv1.3.0 R4.0 Rev 2
2MDD GuidelineEA4 01.00.00
3EA4 Software Naming Conventions01.01.00
4Software Design and Coding Standards2.1
5FDD – CF052A FordSysStSee Synergy subproject version
Last modified October 12, 2025: Initial commit (ddf2e20)