EotLrng_MDD
Module Design Document
For
EotLrng (SF011A)
DEC 05, 2016
Prepared For:
Software Engineering
Nexteer Automotive,
Saginaw, MI, USA
Prepared By:
TATA ELXSI,
CHENNAI, INDIA
Change History
Description | Author | Version | Date |
Initial Version | Akhil Krishna N D | 1.0 | 30-Sep-2015 |
Updated for v2.0.0 of FDD | Nick Saxton | 2.0 | 19-May-2016 |
Updated for v2.1.0 of FDD | Nick Saxton | 3.0 | 16-Jun-2016 |
Updated for v3.1.0 of FDD | TATA | 4.0 | 05-Dec-2016 |
Table of Contents
1 End of Travel Learning & High-Level Description 5
2 Design details of software module 6
2.1 Graphical representation of End of Travel Learning 6
3.1 Program (fixed) Constants 7
4 Software Component Implementation 8
4.1.2.2 Store Module Inputs to Local copies 8
4.1.2.3 (Processing of function)……… 8
4.1.2.4 Store Local copy of outputs into Module Outputs 8
4.2.1.2 (Processing of function)……… 8
4.3.1.2 (Processing of function)……… 9
4.4.1.2 (Processing of function)……… 9
4.5.1.3 (Processing of function)……… 9
4.6.1.3 (Processing of function)……… 9
4.7.1.3 (Processing of function)……… 10
4.9 Module Internal (Local) Functions 10
4.10 GLOBAL Function/Macro Definitions 11
5 Known Limitations with Design 12
Appendix A Abbreviations and Acronyms 14
End of Travel Learning & High-Level Description
Please refer FDD.
Design details of software module
Graphical representation of End of Travel Learning
Data Flow Diagram
Please refer FDD.
Component level DFD
Function level DFD
Constant Data Dictionary
Program (fixed) Constants
Embedded Constants
Local Constants
Constant Name | Resolution | Units | Value |
Please refer .m file |
Software Component Implementation
Sub-Module Functions
Init: EotLrngInit1
Design Rationale
None
Module Outputs
Please refer FDD.
Per: EotLrngPer1
Design Rationale
None
Store Module Inputs to Local copies
Please refer FDD.
(Processing of function)………
Please refer FDD and design rationale noted above.
Store Local copy of outputs into Module Outputs
Please refer FDD.
Server Runnable
SerlComRstEot
Design Rationale
None
(Processing of function)………
Please refer SerlComRstEot block in FDD
Interrupt Functions
None
RtnMaxHwAgCwAndCcw
Design Rationale
None
(Processing of function)………
Please refer RtnMaxHwAgCwAndCcw block in FDD
Interrupt Functions
None
RstMaxHwAgCwAndCcw
Design Rationale
None
(Processing of function)………
Please refer RstMaxHwAgCwAndCcw block in FDD
Interrupt Functions
None
GetHwAgOverTrvlCnt
Design Rationale
None
(Processing of function)………
Please refer GetHwAgOverTrvlCnt block in FDD
Interrupt Functions
None
RstHwAgOverTrvlCnt
Design Rationale
None
(Processing of function)………
Please refer RstHwAgOverTrvlCnt block in FDD
Interrupt Functions
None
SetHwAgOverTrvlCnt
Design Rationale
None
(Processing of function)………
Please refer SetHwAgOverTrvlCnt block in FDD
Interrupt Functions
None
Module Internal (Local) Functions
Local Function #1
Function Name | LrngEotCmplSts | Type | Min | Max |
Arguments Passed | HwAgAuthy_Uls_T_f32 | float32 | 0 | 1 |
HwTq_HwNwtMtr_T_f32 | float32 | -10 | 10 | |
MotVelCrf_MotRadPerSec_T_f32 | float32 | -1350 | 1350 | |
Return Value | None | - | - | - |
Design Rationale
To reduce the static path count
Processing
Please refer to the “LrngEotCmplSts” block of the Simulink model of the design.
Local Function #2
Function Name | ChkEotSigForNtc | Type | Min | Max |
Arguments Passed | HwAgEotSig0Avl_Cnt_T_lgc | boolean | FALSE | TRUE |
HwAgEotSig1Avl_Cnt_T_lgc | boolean | FALSE | TRUE | |
HwAgEotSig0Cw_HwDeg_T_f32 | float32 | 0 | 900 | |
HwAgEotSig0Ccw_HwDeg_T_f32 | float32 | -900 | 0 | |
HwAgEotSig1Cw_HwDeg_T_f32 | float32 | 0 | 900 | |
HwAgEotSig1Ccw_HwDeg_T_f32 | float32 | -900 | 0 | |
Return Value | None | - | - | - |
Design Rationale
To reduce the static path count
Processing
Please refer to the “ChkEotSigForNtc” block of the Simulink model of the design.
GLOBAL Function/Macro Definitions
GLOBAL Function #1
None
Design Rationale
None
Processing
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 (Link:AUTOSAR_SWS_MemoryMapping.pdf) | v1.3.0 R4.0 Rev 2 |
2 | MDD Guideline | EA4 01.00.00 |
3 | Software Naming Conventions.doc | 1.0 |
4 | Software Design and Coding Standards.doc | 2.1 |
5 | FDD : SF011A_EotLrng_Design | See Synergy sub project version |