MotVelCtrl_MDD
Module Design Document
For
MotVelCtrl
May 4, 2016
Prepared For:
Software Engineering
Nexteer Automotive,
Saginaw, MI, USA
Prepared By:
Nick Saxton,
Nexteer Automotive,
Saginaw, MI, USA
Change History
Description | Author | Version | Date |
Initial Version | Sankardu Varadapureddi | 1 | 17-Feb-2016 |
Input name change | Nick Saxton | 2 | 04-May-2016 |
Table of Contents
2 MotVelCtrl High-Level Description 6
3 Design details of software module 7
3.1 Graphical representation of MotVelCtrl 7
4.1 Program (fixed) Constants 8
5 Software Component Implementation 9
5.1.2.2 Store Module Inputs to Local copies 9
5.1.2.3 (Processing of function)……… 9
5.1.2.4 Store Local copy of outputs into Module Outputs 9
5.2.1.2 (Processing of function)……… 9
5.2.2.2 (Processing of function)……… 9
5.2.3.2 (Processing of function)……… 10
5.2.4.2 (Processing of function)……… 10
5.4 Module Internal (Local) Functions 10
5.5 GLOBAL Function/Macro Definitions 11
6 Known Limitations with Design 12
Appendix A Abbreviations and Acronyms 14
Introduction
Purpose
Scope
MotVelCtrl High-Level Description
Refer to FDD
Design details of software module
Graphical representation of MotVelCtrl
Data Flow Diagram
Refer FDD
Component level DFD
Function level DFD
Constant Data Dictionary
Program (fixed) Constants
Embedded Constants
Constant Name | Resolution | Units | Value |
---|---|---|---|
ONEOVERTWOMPLR_ULS_F32 | 1 | Cnt | 0.5 |
For other constants, refer .m file.
Local Constants
Software Component Implementation
Sub-Module Functions
Init: MotVelCtrlInit1
Design Rationale
Refer FDD
Module Outputs
Refer FDD
Per: MotVelCtrlPer1
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 Runables
GetCtrlPrm_Oper
Design Rationale
Refer FDD
(Processing of function)………
Refer FDD
SetCtrlPrm_Oper
Design Rationale
Refer FDD
(Processing of function)………
Refer FDD
StopCtrl_Oper
Design Rationale
Refer FDD
(Processing of function)………
Refer FDD
StrtCtrl_Oper
Design Rationale
Refer FDD
(Processing of function)………
Refer FDD
Interrupt Functions
None
Module Internal (Local) Functions
Local Function #1
Function Name | FPIDControl | Type | Min | Max | |
Arguments Passed | MotVelTarSlewed_MotRadPerSec_T_f32 | float32 | - 183500 | 183500 | |
MotVelCrf_MotRadPerSec_T_f32 | float32 | -1350 | 1350 | ||
Return Value | PIDCmdLimid_MotNwtMtr_T_f32 | float32 | -8.8 | 8.8 |
Description
Blocks "F_PID Control_1" , "F_PID Control_2" and "F_PID Control_3" are of same functionality in the FDD. This sub function corresponds to those blocks implementation.
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.01 |
3 | Software Naming Conventions.doc | 2.0 |
4 | Software Design and Coding Standards.doc | 2.1 |
5 | FDD : NM100A_ MotVelCtrl_Design | See Synergy sub project version |