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
| Description | Author | Version | Date |
| Initial Version | Shawn Penning | 1 | 04-Dec-2017 |
Table of Contents
2 FordSysSt & High-Level Description 7
3 Design details of software module 8
3.1 Graphical representation of FordSysSt 8
4.1 Program (fixed) Constants 9
5 Software Component Implementation 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.4 Module Internal (Local) Functions 10
5.5 GLOBAL Function/Macro Definitions 14
6 Known Limitations with Design 16
Appendix A Abbreviations and Acronyms 18
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 Name | Resolution | Units | Value |
|---|---|---|---|
| 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 Name | ChkLvngWarmInit | Type | Min | Max |
| Arguments Passed | FordSysSt_Cnt_T_enum | SysSt1 | 0U | 3U |
| FordLoaSt_Cnt_T_enum | LoaSt1 | 0U | 5U | |
| SysStWrmIninCmpl_Cnt_T_logl | Boolean | FALSE | TRUE | |
| FordVltgOperSt_Cnt_T_enum | FordVltgOperSt1 | 0U | 6U | |
| FordEpsSysSt_Cnt_T_enum | FordEpsSysSt1 | 0U | 8U | |
| OperScaFctr_Cnt_T_f32 | float32 | 0.1 | 1 | |
| OperRampRate_Cnt_T_f32 | float32 | 0.1 | 1000 | |
| Return Value | none |
Design Rationale
None
Processing
Check the conditions for leaving ChkLvngWarmInit.
Local Function #2
| Function Name | ChkLvngLimpHome | Type | Min | Max |
| Arguments Passed | FordLoaSt_Cnt_T_enum | LoaSt1 | 0U | 3U |
| FordEpsSysSt_Cnt_T_enum | FordEpsSysSt1 | 0U | 8U | |
| Return Value | none |
Design Rationale
None
Processing
Local Function #3
| Function Name | ChkLvngLimpAside | Type | Min | Max |
| Arguments Passed | FordLoaSt_Cnt_T_enum | LoaSt1 | 0U | 3U |
| FordEpsSysSt_Cnt_T_enum | FordEpsSysSt1 | 0U | 8U | |
| Return Value | none |
Design Rationale
None
Processing
Check the condtions for leaving LimpAside for another substate of EPSSystemFailure.
Local Function #4
| Function Name | ChkLvngRampOut | Type | Min | Max |
| Arguments Passed | FordLoaSt_Cnt_T_enum | LoaSt1 | 0U | 3U |
| FordEpsSysSt_Cnt_T_enum | FordEpsSysSt1 | 0U | 8U | |
| Return Value | none |
Design Rationale
None
Processing
Check the condtions for leaving RampOut for another substate of EPSSystemFailure.
Local Function #5
| Function Name | ChkLvngEpsNormOperLimAssi | Type | Min | Max |
| Arguments Passed | LoaSt_Cnt_T_enum | LoaSt1 | 0U | 3U |
| FordVltgOperSt_Cnt_T_enum | FordVltgOperSt1 | 0U | 6U | |
| SysSt_Cnt_T_enum | SysSt1 | 0U | 3U | |
| FordVehSpdVld_Cnt_T_logl | boolean | FALSE | TRUE | |
| FordVehSpd_Cnt_T_f32 | float32 | 0.0F | 511.0F | |
| FordVehPwrpkTqSts_Cnt_T_enum | Ford_PwPckTq_D_Stat | 0U | 3U | |
| NtcQlfr_Cnt_T_enum | SigQlfr1 | 0U | 2U | |
| FordEpsSysSt_Cnt_T_enum | FordEpsSysSt1 | 0U | 8U | |
| OperScaFctr_Cnt_T_f32 | float32 | 0.0F | 1.0F | |
| OperRampRate_Cnt_T_f32 | float32 | 0.0F | 1000.0F | |
| Return Value | none |
Design Rationale
None
Processing
Check the conditions for leaving EpsNormOper-->LimAssi.
Local Function #6
| Function Name | ChkLvngEpsNormOperFullAssi | Type | Min | Max |
| Arguments Passed | FordLoaSt_Cnt_T_enum | LoaSt1 | 0U | 3U |
| FordVltgOperSt_Cnt_T_enum | FordVltgOperSt1 | 0U | 6U | |
| FordSysSt_Cnt_T_enum | SysSt1 | 0U | 3U | |
| FordVehSpdVld_Cnt_T_logl | boolean | FALSE | TRUE | |
| FordVehSpd_Cnt_T_f32 | float32 | 0.0F | 511.0F | |
| FordVehPwrpkTqSts_Cnt_T_enum | Ford_PwPckTq_D_Stat | 0U | 3U | |
| NtcQlfr_Cnt_T_enum | SigQlfr1 | 0U | 2U | |
| Return Value | none |
Design Rationale
None
Processing
Check the conditions for leaving EpsNormOper-->FullAssist.
Local Function #7
| Function Name | PowerDown | Type | Min | Max |
| Arguments Passed | None | |||
| Return Value |
Design Rationale
None
Processing
Set FordEpsSystemSt to PowerDown
Local Function #8
| Function Name | WarmInit | Type | Min | Max |
| Arguments Passed | None | |||
| Return Value |
Design Rationale
None
Processing
Set WarmInit conditions.
Local Function #9
| Function Name | EpsSystemFailure | Type | Min | Max |
| Arguments Passed | None | |||
| Return Value |
Design Rationale
None
Processing
Set EpsSystemFailure variables common to the entire block.
Local Function #10
| Function Name | EpsSystemFailureExitCheck | Type | Min | Max |
| Arguments Passed | FordSysSt_Cnt_T_enum | SysSt1 | 0U | 3U |
| FordVehSpd_Cnt_T_f32 | float32 | 0.0F | 511.0F | |
| FordVehSpdVld_Cnt_T_logl | boolean | FALSE | TRUE | |
| FordVehPwrpkTqSts_Cnt_T_enum | Ford_PwPckTq_D_Stat | 0U | 3U | |
| NtcQlfr_Cnt_T_enum | SigQlfr1 | 0U | 2U | |
| Return Value | boolean | FALSE | TRUE |
Design Rationale
None
Processing
Called whenever FordEpsSysSt is already in an EpsSystemFailure state.
Local Function #11
| Function Name | LimAssist | Type | Min | Max |
| Arguments Passed | None | |||
| Return Value |
Design Rationale
None
Processing
Set LimAssist conditions.
Local Function #12
| Function Name | FullAssist | Type | Min | Max |
| Arguments Passed | None | |||
| Return Value |
Design Rationale
None
Processing
Set FullAssist conditions.
Local Function #13
| Function Name | ShutDown | Type | Min | Max |
| Arguments Passed | None | |||
| 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 Acronym | Description |
|---|---|
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 | v1.3.0 R4.0 Rev 2 |
| 2 | MDD Guideline | EA4 01.00.00 |
| 3 | EA4 Software Naming Conventions | 01.01.00 |
| 4 | Software Design and Coding Standards | 2.1 |
| 5 | FDD – CF052A FordSysSt | See Synergy subproject version |