HysCmp_MDD

Module Design Document

For

HysCmp

Aug 4, 2015

Prepared For:

Software Engineering

Nexteer Automotive,

Saginaw, MI, USA

Prepared By:

Spandana Balani,

Nexteer Automotive,

Saginaw, MI, USA
Change History

DescriptionAuthorVersionDate
Initial VersionSB1.004-Aug-2015


Table of Contents

1 Introduction 5

1.1 Purpose 5

1.2 Scope 5

2 HysCmp & High-Level Description 6

3 Design details of software module 7

3.1 Graphical representation of HysCmp 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: HysCmpInit1 10

5.1.2 Per: HysCmpPer1 10

5.2 Server Runables 10

5.3 Interrupt Functions 10

5.4 Module Internal (Local) Functions 10

5.4.1 Local Function #1 10

5.4.1.1 Design Rationale 10

5.4.1.2 Processing 10

5.4.2 Local Function #1 10

5.4.2.1 Design Rationale 10

5.4.2.2 Processing 11

5.4.3 Local Function #1 11

5.4.3.1 Design Rationale 11

5.4.3.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

Scope

HysCmp & High-Level Description

Refer FDD

Design details of software module

Refer FDD

Graphical representation of HysCmp

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
Refer .m file

Software Component Implementation

Refer FDD

Sub-Module Functions

Init: HysCmpInit1

Refer FDD

Per: HysCmpPer1

Refer FDD

Server Runables

None

Interrupt Functions

None

Module Internal (Local) Functions

Local Function #1

Function NameMoreCmpTypeMinMax
Arguments PassedTqChg_HwNwtMtr_T_f32Float32020
*RiseXPtr_HwNwtMtr_T_f32Float3201
*RiseXFac_HwNwtMtr_T_f32Float3201
Return ValueRiseY_Uls_T_f32Float3201

Design Rationale

None

Processing

Refer ‘MoreCmp’ block in Simulink model

Local Function #1

Function NameLessCmpTypeMinMax
Arguments PassedTqChg_HwNwtMtr_T_f32Float32020
*RiseYPtr_Uls_T_f32Float3201
*RiseXFac_HwNwtMtr_T_f32Float3201
Return ValueRiseY_Uls_T_f32Float3201

Design Rationale

None

Processing

Refer ‘LessCmp’ block in Simulink model

Local Function #1

Function NameCalcAvlCmpTypeMinMax
Arguments PassedHwTqFildVal_HwNwtMtr_T_f32Float32-1010
AssiCmdFildVal_HwNwtMtr_T_f32Float32-352352
Return ValueHysCmpAvl_HwNwtMtr_T_f32Float32-8.88.8

Design Rationale

None

Processing

Refer ‘CalcAvlCmp’ block in Simulink model

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 04.02.00
3Software Naming Conventions.docProcess 04.02.00
4Software Design and Coding Standards.docProcess 04.02.00
5FDD – SF012A_HysCmp_DesignSee Synergy SubProject version
Last modified October 12, 2025: Initial commit (1fadfc4)