BmwTqOvrlCdngAndDrvgDynFac_MDD
Module Design Document
For
BmwTqOvrlCdngAndDrvgDynFac
April 26, 2018
Prepared For:
Software Engineering
Nexteer Automotive,
Saginaw, MI, USA
Prepared By:
Software Group,
Nexteer Automotive,
Tychy, Poland
Change History
| Description | Author | Version | Date |
| Initial version | Marek Brykczyński | 1 | 26-Apr-2018 |
Table of Contents
2 BmwTqOvrlCdngAndDrvgDynFac & High-Level Description 6
3 Design details of software module 7
3.1 Graphical representation of BmwTqOvrlCdngAndDrvgDynFac 7
4.1 Program (fixed) Constants 9
5 Software Component Implementation 10
5.1.1 Init: BmwTqOvrlCdngAndDrvgDynFacInit1 10
5.1.2 Per: BmwTqOvrlCdngAndDrvgDynFacPer1 10
5.4 Module Internal (Local) Functions 11
5.5 GLOBAL Function/Macro Definitions 12
6 Known Limitations with Design 14
Appendix A Abbreviations and Acronyms 16
Introduction
Purpose
Module Design Document for CF040A_BmwTqOvrlCdngAndDrvgDynFac_Impl.
Scope
The following definitions are used throughout this document:
Shall: indicates a mandatory requirement without exception in compliance.
Should: indicates a mandatory requirement; exceptions allowed only with documented justification.
May: indicates an optional action.
BmwTqOvrlCdngAndDrvgDynFac & High-Level Description
The BMW Torque Overlay Conditioning And Driving Dynamic Factor function handles the filtering and ramping of the BMW Output Torque Overlay Command functionality and conditioning of the BMW Driving Dynamic Factors for Effort/Assist, Return and Damping.
Design details of software module
Graphical representation of BmwTqOvrlCdngAndDrvgDynFac

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 |
|---|---|---|---|
| - |
Refer FDD for local constants.
Software Component Implementation
Sub-Module Functions
The sub-module functions are grouped based on similar functionality that needs to be executed in a given “State” of the system (refer States and Modes). For a given module, the MDD will identify the type and number of sub-modules required. The sub-module types are described below.
Init: BmwTqOvrlCdngAndDrvgDynFacInit1
Design Rationale
Refer FDD
Module Outputs
Refer FDD
Per: BmwTqOvrlCdngAndDrvgDynFacPer1
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
None
Interrupt Functions
None
Module Internal (Local) Functions
CalcCdndTqOvrl
| Function Name | CalcCdndTqOvrl | Type | Min | Max |
| Arguments Passed | FildBmwTarSteerTqDrvrActr_MotNwtMtr_T_f32 | float32 | -8.8 | 8.8 |
| BmwTarSteerTqDrvrActr_MotNwtMtr_T_f32 | float32 | -8.8 | 8.8 | |
| BmwDrvgDynErrIfActv_Cnt_T_logl | boolean | FALSE | TRUE | |
| Return Value | CdndTqOvrl_MotNwtMtr_T_f32 | float32 | -8.8 | 8.8 |
CalcnDampgCmdSca
| Function Name | CalcnDampgCmdSca | Type | Min | Max |
| Arguments Passed | DrvgDynActv_Cnt_T_logl | boolean | FALSE | TRUE |
| ReqdDampgCmdSca_Uls_T_f32 | float32 | 0 | 1 | |
| DrvgDynActvTrig_Cnt_T_logl | boolean | FALSE | TRUE | |
| Return Value | - | - | - | - |
CalcnEffortCmdSca
| Function Name | CalcnEffortCmdSca | Type | Min | Max |
| Arguments Passed | DrvgDynActv_Cnt_T_logl | boolean | FALSE | TRUE |
| ReqdEffortCmdSca_Uls_T_f32 | float32 | 1 | 2 | |
| DrvgDynActvTrig_Cnt_T_logl | boolean | FALSE | TRUE | |
| Return Value | - | - | - | - |
CalcnLimdCdndTqOvrl
| Function Name | CalcnLimdCdndTqOvrl | Type | Min | Max |
| Arguments Passed | CdndTqOvrl_MotNwtMtr_T_f32 | float32 | -8.8 | 8.8 |
| VehSpd_Kph_T_u9p7 | uint16 | 0 | 68408 | |
| Return Value | - | - | - | - |
CalcnRtnCmdSca
| Function Name | CalcnRtnCmdSca | Type | Min | Max |
| Arguments Passed | DrvgDynActv_Cnt_T_logl | boolean | FALSE | TRUE |
| ReqdRtnCmdSca_Uls_T_f32 | float32 | 0 | 1 | |
| DrvgDynActvTrig_Cnt_T_logl | boolean | FALSE | TRUE | |
| Return Value | - | - | - | - |
StTranDetn
| Function Name | StTranDetn | Type | Min | Max |
| Arguments Passed | DrvgDynIfSt_Cnt_T_u08 | uint8 | 32 | 255 |
| BmwTarSteerTqDrvrActr_MotNwtMtr_T_f32 | float32 | -8.8 | 8.8 | |
| FildBmwTarSteerTqDrvrActr_MotNwtMtr_T_f32 | float32 | -8.8 | 8.8 | |
| Return Value | OutpRstTrig_Cnt_T_logl | boolean | FALSE | TRUE |
TqOvrlCdng
| Function Name | TqOvrlCdng | Type | Min | Max |
| Arguments Passed | DrvgDynIfSt_Cnt_T_u08 | uint8 | 32 | 255 |
| BmwTarSteerTqDrvrActr_MotNwtMtr_T_f32 | float32 | -8.8 | 8.8 | |
| VehSpd_Kph_T_u9p7 | uint16 | 0 | 68408 | |
| BmwDrvgDynErrIfActv_Cnt_T_logl | boolean | FALSE | TRUE | |
| Return Value | OutpRstTrig_Cnt_T_logl | boolean | FALSE | TRUE |
Design Rationale
Refer FDD
Processing
Refer FDD
GLOBAL Function/Macro Definitions
None
Known Limitations with Design
None
UNIT TEST CONSIDERATION
None
Abbreviations and Acronyms
| Abbreviation or Acronym | Description |
|---|---|
| FDD | Functional Design Document. (See references) |
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.4.0 R4.0 Rev 3 |
| 2 | MDD Guideline EA4 | 1.02 |
| 3 | EA4 Software Naming Conventions | 1.01 |
| 4 | Software Design and Coding Standards | 2.01 |
| 5 | CF011A_BmwTqOvrlCdngAndDrvgDynFac_Design | See Synergy Sub Project Version |