HwAgTrakgServo_MDD
Module Design Document
For
HwAgTrakgServo
Dec 18, 2015
Prepared For:
Software Engineering
Nexteer Automotive,
Saginaw, MI, USA
Prepared By:
Kannappa Chidambaram (Tata Elxsi),
Trivandrum, INDIA.
Change History
Initial Version | Kannappa C | EA4 01.00.01 | 18-Dec-2015 |
Table of Contents
2 HwAgTrakgServo & High-Level Description 6
3 Design details of software module 7
3.1 Graphical representation of HwAgTrakgServo 7
4.1 Program (fixed) Constants 9
5 Software Component Implementation 10
5.1.1 Init: HwAgTrakgServoInit1 10
5.1.2 Per: HwAgTrakgServoPer1 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 12
6 Known Limitations with Design 13
Appendix A Abbreviations and Acronyms 15
Introduction
Purpose
MDD for Handwheel Angle Tracking Servo.
HwAgTrakgServo & High-Level Description
Please refer FDD
Design details of software module
Graphical representation of HwAgTrakgServo
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 |
---|---|---|---|
SECTOMILLISEC_ULS_F32 | Float32 | Uls | 1000.0F |
Please refer .m file for the rest | NA | NA | NA |
Software Component Implementation
Sub-Module Functions
Init: HwAgTrakgServoInit1
Design Rationale
None
Module Outputs
None
Per: HwAgTrakgServoPer1
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 Runables
None
Interrupt Functions
None
Module Internal (Local) Functions
Local Function #1
Function Name | FilterDesiredAngle | Type | Min | Max |
Arguments Passed | VehSpd_Kph_T_u8p8 | u8p8 | 0U | 511U |
HwAgTrakgServoEna_Uls_T_logl | boolean | FALSE | TRUE | |
HwAgTrakgServoCmd_HwDeg_T_f32 | float32 | -1440.0F | 1440.0F | |
HwAg_HwDeg_T_f32 | float32 | -1440.0F | 1440.0F | |
RampComplete_Cnt_T_logl | boolean | FALSE | TRUE | |
Return Value | HWATrgtFilt_HwDeg_T_f32 | float32 | -1440.0F | 1440.0F |
Design Rationale
NA
Processing
Please refer FilterDesiredAngle block of the FDD.
(Path : SF020A_HwAgTrakgServo/HwAgTrakgServo/HwAgTrakgServoPer1/FilterDesiredAngle)
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 (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.0 |
5 | FDD: SF020A_HwAgTrakgServo_Design | See Synergy sub project version |