AssiPahFwl_MDD

Module Design Document

For

AssiPahFwl

Feb 05, 2016

Prepared For:

Software Engineering

Nexteer Automotive,

Saginaw, MI, USA

Prepared By:

Sarika Natu,

KPIT Technologies,

India


Change History

DescriptionAuthorVersionDate
Initial VersionSarika Natu(KPIT Technologies)1.005-Feb-2016


Table of Contents

1 AssiPahFwl & High-Level Description 5

2 Design details of software module 6

2.1 Graphical representation of AssiPahFwl 6

2.2 Data Flow Diagram 6

2.2.1 Component level DFD 6

2.2.2 Function level DFD 6

3 Constant Data Dictionary 7

3.1 Program (fixed) Constants 7

3.1.1 Embedded Constants 7

4 Software Component Implementation 8

4.1 Sub-Module Functions 8

4.1.1 Init: AssiPahFwl_Init1 8

4.1.1.1 Design Rationale 8

4.1.1.2 Module Outputs 8

4.1.2 Per: AssiPahFwl_Per1 8

4.1.2.1 Design Rationale 8

4.1.2.2 Store Module Inputs to Local copies 8

4.1.2.3 (Processing of function)……… 8

4.1.2.4 Store Local copy of outputs into Module Outputs 8

4.2 Server Runables 8

4.3 Interrupt Functions 8

4.4 Module Internal (Local) Functions 8

4.4.1 Local Function #1 8

4.4.1.1 Design Rationale 9

4.4.1.2 Processing 9

4.4.2 Local Function #2 9

4.4.2.1 Design Rationale 9

4.4.2.2 Processing 9

4.4.3 Local Function #3 9

4.4.3.1 Design Rationale 9

4.4.3.2 Processing 10

4.4.4 Local Function #4 10

4.4.4.1 Design Rationale 10

4.4.4.2 Processing 10

4.4.5 Local Function #5 10

4.4.5.1 Design Rationale 10

4.4.5.2 Processing 10

4.5 GLOBAL Function/Macro Definitions 11

5 Known Limitations with Design 12

6 UNIT TEST CONSIDERATION 13

Appendix A Abbreviations and Acronyms 14

Appendix B Glossary 15

Appendix C References 16

AssiPahFwl & High-Level Description

Refer FDD

Design details of software module

Graphical representation of AssiPahFwl

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 NameResolutionUnitsValue
NODEBSTEP_CNT_U16NANA65535U

Software Component Implementation

Sub-Module Functions

Init: AssiPahFwl_Init1

Design Rationale

Refer FDD

Module Outputs

Refer FDD

Per: AssiPahFwl_Per1

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 Runnables

None

Interrupt Functions

None

Module Internal (Local) Functions

Local Function #1

Function NameDynamic_Assi_BoundaryTypeMinMax
Arguments PassedVehSpd_Kph_T_u9p7Uint160511
HwTq_HwNwtMtr_T_f32Float32-10.010.0
LoFrqInp_MotNwtMtr_T_f32Float32-1616
*LowrBndLpFil_MotNwtMtr_T_f32Float32*-1616
*UpprBndLpFil_MotNwtMtr_T_f32Float32*-1616
Return ValueHiFrqAssiLimd_MotNwtMtr_T_f32Float32-1616

Design Rationale

LowrBndLpFil_MotNwtMtr_T_f32 and UpprBndLpFil_MotNwtMtr_T_f32 will be updated in this function.

Processing

Refer to the subsystems 'Determine HiFreqAsst Boundaries' and 'Low pass filter boundaries' in FDD.

Local Function #2

Function NameBase_Assi_BoundaryTypeMinMax
Arguments PassedHwTrq_HwNwtMtr_T_f32Float32-20.020.0
VehSpd_Kph_T_u9p7Uint160511
AssiCmdBas_MotNwtMtr_T_f32Float32-8.88.8
BasAssiLowrBnd_MotNwtMtr_T_f32float32*-1616
BasAssiUpprBnd_MotNwtMtr_T_f32float32*-1616
Return ValueBasAssiLimd_MotNwtMtr_T_f32Float32-1616

Design Rationale

BasAssiLowrBnd_MotNwtMtr_T_f32 and BasAssiUpprBnd_MotNwtMtr_T_f32 will be updated in this function

Processing

Refer the subsystem ‘Determine_BaseAsst_Boundaries’ implementation in FDD.

Local Function #3

Function NameDet_Boundary_LimTypeMinMax
Arguments PassedAssiCmdBas_MotNwtMtr_T_f32Float32-8.88.8
BasAssiUpprBnd_MotNwtMtr_T_f32Float32-1616
BasAssiLowrBnd_MotNwtMtr_T_f32Float32-1616
LowrBndLpFil_MotNwtMtr_T_f32Float32-1616
UpprBndLpFil_MotNwtMtr_T_f32Float32-1616
LoFrqInp_MotNwtMtr_T_f32Float32-1616
HiFrqOverBnd_MotNwtMtr_T_LoglBoolean*FALSETRUE
BasAssiOverBnd_MotNwtMtr_T_LoglBoolean*FALSETRUE
Return ValueAssiFwlFailSts_Cnt_T_LoglBooleanFALSETRUE

Design Rationale

HiFrqOverBnd_MotNwtMtr_T_Logl and BasAssiOverBnd_MotNwtMtr_T_Logl will be updated in this function.

Processing

Refer to the section ‘Check both command paths for reaching boundary limits, if so begin de bounce counters’ in FDD.

Local Function #4

Function NameAssist_Recovery_CondTypeMinMax
Arguments PassedAssiCmdBas_MotNwtMtr_T_f32Float32-8.88.8
DftAssi_MotNwtMtr_T_f32Float32-8.88.8
AssiFwlFailSts_Cnt_T_LoglBooleanFASLETRUE
SumInp_MotNwtMtr_T_f32Float32-17.617.6
BasAssiLimd_MotNwtMtr_T_f32Float32-1616
HiFrqInp_MotNwtMtr_T_f32Float32-1616
HiFrqAssiLimd_MotNwtMtr_T_f32Float32-1616
BasAssiOverBnd_MotNwtMtr_T_LoglBooleanFALSETRUE
HiFrqOverBnd_MotNwtMtr_T_LoglBooleanFALSETRUE
*AssiPahLimrActv_Uls_T_f32Float32FASLETRUE
Return ValueCombdAssiDft_MotNwtMtr_T_f32Float32-8.88.8

Design Rationale

AssiPahLimrActv_Uls_T_f32 will be updated in this function

Processing

Refer to the section ‘Check Input commands vs. Fwl Output command for Assist Recovery Conditions’ in FDD.

Local Function #5

Function NameSet_FaultsTypeMinMax
Arguments PassedHiFrqOverBnd_MotNwtMtr_T_LoglBooleanFASLETRUE
BasAssiOverBnd_MotNwtMtr_T_LoglBooleanFASLETRUE
Return ValueNone

Design Rationale

None

Processing

Refer ‘Set_Faults’ subsystem in FDD.

GLOBAL Function/Macro Definitions

None

Known Limitations with Design

UNIT TEST CONSIDERATION

None

Abbreviations and Acronyms

Abbreviation or AcronymDescription

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

TermDefinitionSource
MDDModule Design Document
DFDData Flow Diagram

References

Ref. #TitleVersion
1AUTOSAR Specification of Memory Mapping (Link:AUTOSAR_SWS_MemoryMapping.pdf)v1.3.0 R4.0 Rev 2
2MDD GuidelineEA4 01.00.00
3Software Naming Conventions.doc2.0
4Software Design and Coding Standards.doc2.1
Last modified October 12, 2025: Initial commit (1fadfc4)