AssiPahFwl_MDD
Module Design Document
For
AssiPahFwl
Feb 05, 2016
Prepared For:
Software Engineering
Nexteer Automotive,
Saginaw, MI, USA
Prepared By:
Sarika Natu,
KPIT Technologies,
India
Change History
Description | Author | Version | Date |
---|---|---|---|
Initial Version | Sarika Natu(KPIT Technologies) | 1.0 | 05-Feb-2016 |
Table of Contents
1 AssiPahFwl & High-Level Description 5
2 Design details of software module 6
2.1 Graphical representation of AssiPahFwl 6
3.1 Program (fixed) Constants 7
4 Software Component Implementation 8
4.1.1 Init: AssiPahFwl_Init1 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.4 Module Internal (Local) Functions 8
4.5 GLOBAL Function/Macro Definitions 11
5 Known Limitations with Design 12
Appendix A Abbreviations and Acronyms 14
AssiPahFwl & High-Level Description
Refer FDD
Design details of software module
Graphical representation of AssiPahFwl
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 |
---|---|---|---|
NODEBSTEP_CNT_U16 | NA | NA | 65535U |
Software Component Implementation
Sub-Module Functions
Init: AssiPahFwl_Init1
Design Rationale
Refer FDD
Module Outputs
Refer FDD
Per: AssiPahFwl_Per1
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
None
Interrupt Functions
None
Module Internal (Local) Functions
Local Function #1
Function Name | Dynamic_Assi_Boundary | Type | Min | Max |
Arguments Passed | VehSpd_Kph_T_u9p7 | Uint16 | 0 | 511 |
HwTq_HwNwtMtr_T_f32 | Float32 | -10.0 | 10.0 | |
LoFrqInp_MotNwtMtr_T_f32 | Float32 | -16 | 16 | |
*LowrBndLpFil_MotNwtMtr_T_f32 | Float32* | -16 | 16 | |
*UpprBndLpFil_MotNwtMtr_T_f32 | Float32* | -16 | 16 | |
Return Value | HiFrqAssiLimd_MotNwtMtr_T_f32 | Float32 | -16 | 16 |
Design Rationale
LowrBndLpFil_MotNwtMtr_T_f32 and UpprBndLpFil_MotNwtMtr_T_f32 will be updated in this function.
Processing
Refer to the subsystems 'Determine HiFreqAsst Boundaries' and 'Low pass filter boundaries' in FDD.
Local Function #2
Function Name | Base_Assi_Boundary | Type | Min | Max |
Arguments Passed | HwTrq_HwNwtMtr_T_f32 | Float32 | -20.0 | 20.0 |
VehSpd_Kph_T_u9p7 | Uint16 | 0 | 511 | |
AssiCmdBas_MotNwtMtr_T_f32 | Float32 | -8.8 | 8.8 | |
BasAssiLowrBnd_MotNwtMtr_T_f32 | float32* | -16 | 16 | |
BasAssiUpprBnd_MotNwtMtr_T_f32 | float32* | -16 | 16 | |
Return Value | BasAssiLimd_MotNwtMtr_T_f32 | Float32 | -16 | 16 |
Design Rationale
BasAssiLowrBnd_MotNwtMtr_T_f32 and BasAssiUpprBnd_MotNwtMtr_T_f32 will be updated in this function
Processing
Refer the subsystem ‘Determine_BaseAsst_Boundaries’ implementation in FDD.
Local Function #3
Function Name | Det_Boundary_Lim | Type | Min | Max |
Arguments Passed | AssiCmdBas_MotNwtMtr_T_f32 | Float32 | -8.8 | 8.8 |
BasAssiUpprBnd_MotNwtMtr_T_f32 | Float32 | -16 | 16 | |
BasAssiLowrBnd_MotNwtMtr_T_f32 | Float32 | -16 | 16 | |
LowrBndLpFil_MotNwtMtr_T_f32 | Float32 | -16 | 16 | |
UpprBndLpFil_MotNwtMtr_T_f32 | Float32 | -16 | 16 | |
LoFrqInp_MotNwtMtr_T_f32 | Float32 | -16 | 16 | |
HiFrqOverBnd_MotNwtMtr_T_Logl | Boolean* | FALSE | TRUE | |
BasAssiOverBnd_MotNwtMtr_T_Logl | Boolean* | FALSE | TRUE | |
Return Value | AssiFwlFailSts_Cnt_T_Logl | Boolean | FALSE | TRUE |
Design Rationale
HiFrqOverBnd_MotNwtMtr_T_Logl and BasAssiOverBnd_MotNwtMtr_T_Logl will be updated in this function.
Processing
Refer to the section ‘Check both command paths for reaching boundary limits, if so begin de bounce counters’ in FDD.
Local Function #4
Function Name | Assist_Recovery_Cond | Type | Min | Max |
Arguments Passed | AssiCmdBas_MotNwtMtr_T_f32 | Float32 | -8.8 | 8.8 |
DftAssi_MotNwtMtr_T_f32 | Float32 | -8.8 | 8.8 | |
AssiFwlFailSts_Cnt_T_Logl | Boolean | FASLE | TRUE | |
SumInp_MotNwtMtr_T_f32 | Float32 | -17.6 | 17.6 | |
BasAssiLimd_MotNwtMtr_T_f32 | Float32 | -16 | 16 | |
HiFrqInp_MotNwtMtr_T_f32 | Float32 | -16 | 16 | |
HiFrqAssiLimd_MotNwtMtr_T_f32 | Float32 | -16 | 16 | |
BasAssiOverBnd_MotNwtMtr_T_Logl | Boolean | FALSE | TRUE | |
HiFrqOverBnd_MotNwtMtr_T_Logl | Boolean | FALSE | TRUE | |
*AssiPahLimrActv_Uls_T_f32 | Float32 | FASLE | TRUE | |
Return Value | CombdAssiDft_MotNwtMtr_T_f32 | Float32 | -8.8 | 8.8 |
Design Rationale
AssiPahLimrActv_Uls_T_f32 will be updated in this function
Processing
Refer to the section ‘Check Input commands vs. Fwl Output command for Assist Recovery Conditions’ in FDD.
Local Function #5
Function Name | Set_Faults | Type | Min | Max |
Arguments Passed | HiFrqOverBnd_MotNwtMtr_T_Logl | Boolean | FASLE | TRUE |
BasAssiOverBnd_MotNwtMtr_T_Logl | Boolean | FASLE | TRUE | |
Return Value | None |
Design Rationale
None
Processing
Refer ‘Set_Faults’ subsystem in FDD.
GLOBAL Function/Macro Definitions
None
Known Limitations with Design
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 | 2.0 |
4 | Software Design and Coding Standards.doc | 2.1 |