AssiSumLim_MDD
Module Design Document
For
‘AssiSumLim’
VERSION: 3.0
DATE: 15-May-2017
Prepared By:
Shawn Penning,
Nexteer Automotive,
Saginaw, MI, USA
Location: The official version of this document is stored in the Nexteer Configuration Management System.
Revision History
| Sl. No. | Description | Author | Version | Date |
| 1 | Initial Version | Sankardu Varadapureddi | 1.0 | 03-Jun-2015 |
| 2 | Updated Graph , added Limitations, Updated Server Runnable Information | Matthew Leser | 2.0 | 15-May-2017 |
| 3 | Removed application data types; PIM range correction noted | Shawn Penning | 3.0 | 14-Jun-2017 |
Table of Contents
3 AssiSumLim High-Level Description 7
4 Design details of software module 8
4.1 Graphical representation of AssiSumLim 8
5.1 User defined typedef definition/declaration 10
5.2 Variable definition for enumerated types 10
6.1 Program(fixed) Constants 11
6.1.2 Module specific Lookup Tables Constants 11
7 Software Module Implementation 12
7.1.1 Initialization Functions 12
7.1.1.1 INIT: AssiSumLimInit1 12
7.1.2.1 Per: AssiSumLimPer1 12
7.1.2.1.2 Store Module Inputs to Local copies 12
7.1.2.1.3 (Processing of function)……… 12
7.1.2.1.4 Store Local copy of outputs into Module Outputs 12
7.1.4.1.2 Store Module Inputs to Local copies 13
7.1.4.1.3 (Processing of function)……… 13
7.1.4.1.4 Store Local copy of outputs into Module Outputs 13
7.1.5 Local Function/Macro Definitions 13
7.1.6 GLObAL Function/Macro Definitions 13
7.1.7 Tranisition FUNCTIONS 13
8 Known Limitations With Design 14
Abbrevations And Acronyms
| Abbreviation | Description |
|---|---|
| DFD | Design functional diagram |
| MDD | Module design Document |
| FDD | Functional Design Document |
References
This section lists the title & version of all the documents that are referred for development of this document
| Sr. No. | Title | Version |
|---|---|---|
| 1 | MDD Guidelines | Process 3.06.00 |
| 2 | Software Naming Conventions | 2.0 |
| 3 | Software Design and Coding standards | 2.1 |
| 4 | FDD - SF004B_AssiSumLim_Design | See Synergy sub project version |
AssiSumLim High-Level Description
Design details of software module
Graphical representation of AssiSumLim

Data Flow Diagram
Refer FDD
Module level DFD
Refer FDD
Sub-Module level DFD
Refer FDD
COMPONENT FLOW DIAGRAM
Refer FDD
Variable Data Dictionary
User defined typedef definition/declaration
<This section documents any user types uniquely used for the module.>
| Typedef Name | Element Name | User Defined Type | Legal Range (min) | Legal Range (max) |
|---|---|---|---|---|
| None | ||||
Variable definition for enumerated types
| Enum Name | Element Name | Value |
|---|---|---|
| None |
Constant Data Dictionary
Program(fixed) Constants
Embedded Constants
Local
| Constant Name | Resolution | Units | Value |
|---|---|---|---|
Note: Refer .m file for constants definitions.
Global
| Constant Name |
|---|
| None |
Module specific Lookup Tables Constants
| Constant Name | Resolution | Value | Software Segment |
|---|---|---|---|
| None |
Software Module Implementation
Sub-Module Functions
Initialization Functions
AssiSumLimInit1
INIT: AssiSumLimInit1
Design Rationale
Design follows implemenetation in FDD.
Module Outputs
Refer ‘AssiSumLimInit1’ block in FDD
Module Internal
None
PERIODIC FUNCTIONS
Per: AssiSumLimPer1
Design Rationale
Design follows implementation in FDD.
Store Module Inputs to Local copies
Refer to FDD
(Processing of function)………
Refer to FDD (Block ‘AssiSumLmtPer1’)
Store Local copy of outputs into Module Outputs
Refer to FDD
Interrupt Functions
None
Server runnables
SetManTqCmd
| Function Name | SetManTqCmd_Oper | Type | Min | Max | |
| Arguments Passed | VehSpd_Kph_T_f32 | float32 | 0.0F | 511.0F | |
| ManTqCmd | float32 | -8.8 | 8.8 | ||
| ManTqCmdEna | boolean | FALSE | TRUE | ||
| Return Value | ManTqCmdRtn_Uls_T_enum | Std_ReturnType | 0 | 1 | |
Design Rationale
Argument names should have _arg added to end of names for ManTqCmd and ManTqCmdEna.
Store Module Inputs to Local copies
None
(Processing of function)………
Refer ‘SetManTqCmd’ block in FDD
Store Local copy of outputs into Module Outputs
None
Local Function/Macro Definitions
None
GLObAL Function/Macro Definitions
None
Tranisition FUNCTIONS
None
Known Limitations With Design
.
Tustin Filter does not have a library block in design or code (could be added to component after CR EA4#6619 is completed).
SetNtcSts.CallLocation should include AssiSumLimInit1 in DataDict.m (see CR EA4#12283).
Range for MotVelFilLp is incorrect and could cause overflow. Should be max of 1350, not 62500. This will be addressed in future design with CR EA4#12743.
UNIT TEST CONSIDERATION
None
Appendix
None