HwAgSnsrls_MDD
Module Design Document
For
HwAgSnsrls
VERSION: 4.0
DATE: 17-Nov-2016
Prepared For:
Software Engineering
Nexteer Automotive,
Saginaw, MI, USA
Prepared By:
TATA ELXSI
CHENNAI, INDIA
Change History
Description | Author | Version | Date |
Initial Version | TATA | 1.0 | 29-Jun-2016 |
Implemented design 1.2.0, 1.3.0 and fixed anomaly 6881 | Hari Mattupalli | 2.0 | 22-Sep-2016 |
Implemented design 1.4.0 and fixed anomaly 7844 | Hari Mattupalli | 3.0 | 21-Oct-2016 |
Updated per design rev. 1.6.0 | TATA | 4.0 | 17-Nov-2016 |
Table of Contents
2 HwAgSnsrls & High-Level Description 6
3 Design details of software module 7
3.1 Graphical representation of HwAgSnsrls 7
4.1 Program (fixed) Constants 9
5 Software Component Implementation 10
5.1.1 Init: HwAgSnsrlsInit1 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.1.2 (Processing of function)……… 10
5.2.2.2 (Processing of function)……… 11
5.4 Module Internal (Local) Functions 11
6 Known Limitations with Design 14
Appendix A Abbreviations and Acronyms 16
Introduction
Purpose
MDD for Handwheel Angle Sensorless.
HwAgSnsrls & High-Level Description
Please refer FDD.
Design details of software module
Graphical representation of HwAgSnsrls
Data Flow Diagram
Component level DFD
Please refer FDD.
Function level DFD
Please refer FDD.
Constant Data Dictionary
Program (fixed) Constants
Embedded Constants
Local Constants
Constant Name | Units | Value |
---|---|---|
Please refer Data Dictionary .m file | NA | NA |
Software Component Implementation
Sub-Module Functions
Init: HwAgSnsrlsInit1
Design Rationale
None
Module Outputs
None
Per: HwAgSnsrlsPer1
Design Rationale
None
Store Module Inputs to Local copies
None
(Processing of function)………
Please refer FDD
Store Local copy of outputs into Module Outputs
Please refer FDD
Server Runnables
FSnsrlsHwCentr
Design Rationale
None
(Processing of function)………
Please see FSnsrlsHwCentr block in FDD
RstSnsrlsHwCentr
Design Rationale
None
(Processing of function)………
Please see RstSnsrlsHwCentr block in FDD
Interrupt Functions
None
Module Internal (Local) Functions
Local Function #1
Function Name | WhlSpdAutocentr | Type | Min | Max |
Arguments Passed | WhlFrqVld_Cnt_T_lgc | boolean | FALSE | TRUE |
WhlLeFrq_Hz_T_f32 | float32 | 0.01F | 60.0F | |
WhlRiFrq_Hz_T_f32 | float32 | 0.01F | 60.0F | |
VehSpd_Kph_T_f32 | float32 | 0.0F | 511.0F | |
RelHwAg_HwDeg_T_f32 | float32 | -1440.0F | 1440.0F | |
*WhlSpdHwConf_Uls_T_f32 | float32 | 0.0F | 1.0F | |
Return Value | None |
Design Rationale
None.
Processing
Refer to the “WhlSpdAutocentr” block of the Simulink model of the design.
Local Function #2
Function Name | VehDynAutoCentr | Type | Min | Max |
Arguments Passed | MotTqCmdCrf_MotNwtMtr_T_f32 | float32 | -8.8 | 8.8 |
HwTq_HwNwtMtr_T_f32 | float32 | -10.0F | 10.0F | |
VehYawRate_VehDegPerSec_T_f32 | float32 | -120.0F | 120.0F | |
VehSpd_Kph_T_f32 | float32 | 0.0F | 511.0F | |
MotVelCrf_MotRadPerSec_T_f32 | float32 | -1350.0F | 1350.0F | |
VehSpdVld_Cnt_T_logl | Boolean | FALSE | TRUE | |
RelHwAg_HwDeg_T_f32 | float32 | -1440.0F | 1440.0F | |
*VehDynHwConf_Uls_T_f32 | float32 | 0.0F | 1.0F | |
Return Value | None |
Design Rationale
None.
Processing
Refer to the “VehDynAutoCentr” block of the Simulink model of the design.
Local Function #3
Function Name | PinionTqCalcandLpFilOneEna | Type | Min | Max |
Arguments Passed | MotTqCmdCrf_MotNwtMtr_T_f32 | float32 | -8.8 | 8.8 |
HwTq_HwNwtMtr_T_f32 | float32 | -10.0F | 10.0F | |
VehYawRate_VehDegPerSec_T_f32 | float32 | -120.0F | 120.0F | |
VehSpd_Kph_T_f32 | float32 | 0.0F | 511.0F | |
MotVelCrf_MotRadPerSec_T_f32 | float32 | -1350.0F | 1350.0F | |
VehSpdVld_Cnt_T_logl | boolean | FALSE | TRUE | |
RelHwAg_HwDeg_T_f32 | float32 | -1440.0F | 1440.0F | |
Return Value | FilOneEna_MilliSec_T_lgc | boolean | FALSE | TRUE |
Design Rationale
None.
Processing
Refer to the “PinionTqCalc” and “LpFilOneEna” blocks of the Simulink model of the design.
Local Function #4
Function Name | ArbtrtnSmthng | Type | Min | Max |
Arguments Passed | FCentrHwConf_Uls_T_f32 | float32 | 0.0F | 1.0F |
VehDynHwConf_Uls_T_f32 | float32 | 0.0F | 1.0F | |
WhlSpdHwConf_Uls_T_f32 | float32 | 0.0F | 1.0F | |
RelHwAg_HwDeg_T_f32 | float32 | -1440.0F | 1440.0F | |
*LrndHwConf_Uls_T_f32 | float32 | 0.0F | 1.0F | |
Return Value | None |
Design Rationale
None.
Processing
Please refer to the “Arbitration” and “Smoothing” blocks of the Simulink model of the design.
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 Coding Standards.doc | 2.1 |
5 | FDD : SF042A_HwAgSnsrls_Design | See Synergy Sub-project version |