EotLrng_MDD

Module Design Document

For

EotLrng (SF011A)

DEC 05, 2016

Prepared For:

Software Engineering

Nexteer Automotive,

Saginaw, MI, USA

Prepared By:

TATA ELXSI,

CHENNAI, INDIA

Change History

DescriptionAuthorVersionDate
Initial VersionAkhil Krishna N D1.030-Sep-2015
Updated for v2.0.0 of FDDNick Saxton2.019-May-2016
Updated for v2.1.0 of FDDNick Saxton3.016-Jun-2016
Updated for v3.1.0 of FDDTATA4.005-Dec-2016

Table of Contents

1 End of Travel Learning & High-Level Description 5

2 Design details of software module 6

2.1 Graphical representation of End of Travel Learning 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: EotLrngInit1 8

4.1.1.1 Design Rationale 8

4.1.1.2 Module Outputs 8

4.1.2 Per: EotLrngPer1 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 Runnable 8

4.2.1 SerlComRstEot 8

4.2.1.1 Design Rationale 8

4.2.1.2 (Processing of function)……… 8

4.3 Interrupt Functions 8

4.3.1 RtnMaxHwAgCwAndCcw 9

4.3.1.1 Design Rationale 9

4.3.1.2 (Processing of function)……… 9

4.4 Interrupt Functions 9

4.4.1 RstMaxHwAgCwAndCcw 9

4.4.1.1 Design Rationale 9

4.4.1.2 (Processing of function)……… 9

4.5 Interrupt Functions 9

4.5.1.3 (Processing of function)……… 9

4.6 Interrupt Functions 9

4.6.1.3 (Processing of function)……… 9

4.7 Interrupt Functions 9

4.7.1.3 (Processing of function)……… 10

4.8 Interrupt Functions 10

4.9 Module Internal (Local) Functions 10

4.9.1 Local Function #1 10

4.9.1.1 Design Rationale 10

4.9.1.2 Processing 10

4.9.2 Local Function #2 10

4.9.2.1 Design Rationale 11

4.9.2.2 Processing 11

4.10 GLOBAL Function/Macro Definitions 11

4.10.1 GLOBAL Function #1 11

4.10.1.1 Design Rationale 11

4.10.1.2 Processing 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

End of Travel Learning & High-Level Description

Please refer FDD.

Design details of software module

Graphical representation of End of Travel Learning

Data Flow Diagram

Please refer FDD.

Component level DFD

Function level DFD

Constant Data Dictionary

Program (fixed) Constants

Embedded Constants

Local Constants

Constant NameResolutionUnitsValue
Please refer .m file

Software Component Implementation

Sub-Module Functions

Init: EotLrngInit1

Design Rationale

None

Module Outputs

Please refer FDD.

Per: EotLrngPer1

Design Rationale

None

Store Module Inputs to Local copies

Please refer FDD.

(Processing of function)………

Please refer FDD and design rationale noted above.

Store Local copy of outputs into Module Outputs

Please refer FDD.

Server Runnable

SerlComRstEot

Design Rationale

None

(Processing of function)………

Please refer SerlComRstEot block in FDD

Interrupt Functions

None

RtnMaxHwAgCwAndCcw

Design Rationale

None

(Processing of function)………

Please refer RtnMaxHwAgCwAndCcw block in FDD

Interrupt Functions

None

RstMaxHwAgCwAndCcw

Design Rationale

None

(Processing of function)………

Please refer RstMaxHwAgCwAndCcw block in FDD

Interrupt Functions

None

GetHwAgOverTrvlCnt

Design Rationale

None

(Processing of function)………

Please refer GetHwAgOverTrvlCnt block in FDD

Interrupt Functions

None

RstHwAgOverTrvlCnt

Design Rationale

None

(Processing of function)………

Please refer RstHwAgOverTrvlCnt block in FDD

Interrupt Functions

None

SetHwAgOverTrvlCnt

Design Rationale

None

(Processing of function)………

Please refer SetHwAgOverTrvlCnt block in FDD

Interrupt Functions

None

Module Internal (Local) Functions

Local Function #1

Function NameLrngEotCmplStsTypeMinMax
Arguments PassedHwAgAuthy_Uls_T_f32float3201
HwTq_HwNwtMtr_T_f32float32-1010
MotVelCrf_MotRadPerSec_T_f32float32-13501350
Return ValueNone---

Design Rationale

To reduce the static path count

Processing

Please refer to the “LrngEotCmplSts” block of the Simulink model of the design.

Local Function #2

Function NameChkEotSigForNtcTypeMinMax
Arguments PassedHwAgEotSig0Avl_Cnt_T_lgcbooleanFALSETRUE
HwAgEotSig1Avl_Cnt_T_lgcbooleanFALSETRUE
HwAgEotSig0Cw_HwDeg_T_f32float320900
HwAgEotSig0Ccw_HwDeg_T_f32float32-9000
HwAgEotSig1Cw_HwDeg_T_f32float320900
HwAgEotSig1Ccw_HwDeg_T_f32float32-9000
Return ValueNone---

Design Rationale

To reduce the static path count

Processing

Please refer to the “ChkEotSigForNtc” block of the Simulink model of the design.

GLOBAL Function/Macro Definitions

GLOBAL Function #1

None

Design Rationale

None

Processing

None

Known Limitations with Design

None.

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.doc1.0
4Software Design and Coding Standards.doc2.1
5FDD : SF011A_EotLrng_DesignSee Synergy sub project version
Last modified October 12, 2025: Initial commit (1fadfc4)