HwAgTrajGenn_MDD

Module Design Document

For

HwAgTrajGenn

Feb 4, 2016

Prepared For:

Software Engineering

Nexteer Automotive,

Saginaw, MI, USA

Prepared By:

Sankardu Varadapureddi,

Nexteer Automotive,

Saginaw, MI, USA
Change History

DescriptionAuthorVersionDate
Initial VersionSankardu Varadapureddi14-Feb-2016


Table of Contents

1 Introduction 5

1.1 Purpose 5

1.2 Scope 5

2 HwAgTrajGenn High-Level Description 6

3 Design details of software module 7

3.1 Graphical representation of HwAgTrajGenn 7

3.2 Data Flow Diagram 7

3.2.1 Component level DFD 7

3.2.2 Function level DFD 7

4 Constant Data Dictionary 8

4.1 Program (fixed) Constants 8

4.1.1 Embedded Constants 8

5 Software Component Implementation 9

5.1 Sub-Module Functions 9

5.1.1 Init: None 9

5.1.1.1 Design Rationale 9

5.1.1.2 Module Outputs 9

5.1.2 Per: HwAgTrajGennPer1 9

5.1.2.1 Design Rationale 9

5.1.2.2 Store Module Inputs to Local copies 9

5.1.2.3 (Processing of function)……… 9

5.1.2.4 Store Local copy of outputs into Module Outputs 9

5.2 Server Runables 9

5.2.1 SetTrajTarPrm_Oper 9

5.2.1.1 Design Rationale 9

5.2.1.2 (Processing of function)……… 9

5.3 Interrupt Functions 9

5.4 Module Internal (Local) Functions 9

5.4.1 Local Function #1 9

5.4.1.1 Description 10

5.4.2 Local Function #2 10

5.4.2.1 Description 10

5.5 GLOBAL Function/Macro Definitions 10

6 Known Limitations with Design 11

7 UNIT TEST CONSIDERATION 12

Appendix A Abbreviations and Acronyms 13

Appendix B Glossary 14

Appendix C References 15

Introduction

Purpose

Scope

HwAgTrajGenn High-Level Description

Refer to FDD

Design details of software module

Graphical representation of HwAgTrajGenn

Data Flow Diagram

Refer FDD

Component level DFD

Function level DFD

Constant Data Dictionary

Program (fixed) Constants

Embedded Constants

Constant NameResolutionUnitsValue
ONEOVERTWOMPLR_ULS_F321Cnt0.5

For other constants, refer .m file.

Local Constants

Software Component Implementation

Sub-Module Functions

Init: HwAgTrajGennInit1

Design Rationale

Dummy init function created to meet coding standards.

Module Outputs

Per: HwAgTrajGennPer1

Design Rationale

Refer FDD for the overall functionality.

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

SetTrajTarPrm_Oper

Design Rationale

Refer FDD

(Processing of function)………

Refer FDD

Interrupt Functions

None

Module Internal (Local) Functions

Local Function #1

Function NameHwAgTrajInitVarisTypeMinMax
Arguments PassedHwPosn_HwDeg_T_f32float32-14401440
CalcFlg_Cnt_T_loglbooleanFALSETRUE
HwATar_HwDegPerSecPerSec_T_f32float32102000
HwAgTar_HwDeg_T_f32float32-800800
HwVelTar_HwDegPerSec_T_f32float32101000
Return ValueNone

Description

"Initialize Variables" block implementation.

Local Function #2

Function NameHwAgTrajGenSigsTypeMinMax
Arguments PassedHwPosn_HwDeg_T_f32float32-14401440
CalcFlg_Cnt_T_loglbooleanFALSETRUE
Return ValueHwAgTrakgServoCmd_HwDeg_T_f32float32-14401440

Description

"Generate Signals" block implementation.

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 GuidelineProcess 4.02.01
3Software Naming Conventions.docProcess 4.02.01
4Software Design and Coding Standards.docProcess 4.02.01
5FDD : SF021A_ HwAgTrajGenn_DesignSee Synergy sub project version
Last modified October 12, 2025: Initial commit (1fadfc4)