CtrldVelRtn_MDD

Module Design Document

For

CtrldVelRtn

OCT 17,2017

Prepared For:

Software Engineering

Nexteer Automotive,

Saginaw, MI, USA

Prepared By:

TATA

TRIVANDRUM, INDIA


Change History

DescriptionAuthorVersionDate
Initial VersionTATA1.017-Oct-2017


Table of Contents

1 Introduction 5

1.1 Purpose 5

2 CtrldVelRtn & High-Level Description 6

3 Design details of software module 7

3.1 Graphical representation of CtrldVelRtn 7

3.2 Data Flow Diagram 8

3.2.1 Component level DFD 8

3.2.2 Function level DFD 8

4 Constant Data Dictionary 9

4.1 Program (fixed) Constants 9

4.1.1 Embedded Constants 9

5 Software Component Implementation 10

5.1 Sub-Module Functions 10

5.1.1 Init: CtrldVelRtnInit1 10

5.1.1.1 Design Rationale 10

5.1.1.2 Module Outputs 10

5.1.2Per: CtrldVelRtnPer1 10

5.1.1.3 Design Rationale 10

5.1.1.4 Store Module Inputs to Local copies 10

5.1.1.5 (Processing of function)……… 10

5.1.1.6 Store Local copy of outputs into Module Outputs 10

5.2 Server Runables 10

5.3 Interrupt Functions 10

5.4 Module Internal (Local) Functions 11

5.4.1 Local Function #1 11

5.4.1.1 Design Rationale 11

5.4.1.2 Processing 11

5.4.2 Local Function #2 11

5.4.2.1 Design Rationale 11

5.4.2.2 Processing 11

5.5 GLOBAL Function/Macro Definitions 11

6 Known Limitations with Design 12

7 UNIT TEST CONSIDERATION 13

Appendix A Abbreviations and Acronyms 14

Appendix B Glossary 15

Appendix C References 16

Introduction

Purpose

MDD for Controlled Velocity Return.

CtrldVelRtn & High-Level Description

Please refer FDD.

Design details of software module

Graphical representation of CtrldVelRtn

Data Flow Diagram

Component level DFD

Please refer FDD.

Function level DFD

Please refer FDD.

Constant Data Dictionary

Program (fixed) Constants

Embedded Constants

Local Constants

Constant NameResolutionUnitsValue
Please refer Data Dictionary .m fileNANANA
IDX2_CNT_U08Uint8CNT2U
IDX3_CNT_U08Uint8CNT3U
IDX4_CNT_U08Uint8CNT4U
IDX5_CNT_U08Uint8CNT5U

Software Component Implementation

Sub-Module Functions

5.1.1 Init: CtrldVelRtnInit1

Design Rationale

None

Module Outputs

None

5.1.2Per: CtrldVelRtnPer1

Design Rationale

None

Store Module Inputs to Local copies

None

(Processing of function)………

Please refer FDD

Store Local copy of outputs into Module Outputs

Please refer FDD

Server Runables

None

Interrupt Functions

None

Module Internal (Local) Functions

Local Function #1

Function NameDrvrTqSelnTypeMinMax
Arguments PassedMotTqCmdPwrLimd_MotNwtMtr_T_f32float32-8.8F8.8F
HwTq_HwNwtMtr_T_f32float32-10.0F10.0F
HwAgCmp_HwDeg_T_f32float32-1440.0F1440.0F
HwVel_HwRadPerSec_T_f32float32-42.0F42.0F
AssiMechPolarity_Uls_T_s08sint8-1U1U
Return ValueDrvrTq_HwNwtMtr_T_f32float32-10.0F10.0F

Design Rationale

None.

Processing

Refer to the “DriverTorque Selector” block of the Simulink model of the design.

Local Function #2

Function NameDampgTypeMinMax
Arguments PassedHwVel_HwDegPerSec_T_f32float32-2406.0F2406.0F
CtrlSca_Uls_T_f32float320.0F1.0F
VehSpd_Kph_T_u9p7Uint160U65535U
Return ValueDampgTerm_HwNwtMtr_T_f32float32-100.0F100.0F

Design Rationale

None.

Processing

Refer to the “Damping” block of the Simulink model of the design.

GLOBAL Function/Macro Definitions

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 : SF065A_CtrldVelRtn_DesignSee Synergy Sub-project version
Last modified October 12, 2025: Initial commit (af72ad2)