HwAgSysArbn_MDD

Module Design Document

For

HwAgSysArbn

June 20, 2016

Prepared For:

Software Engineering

Nexteer Automotive,

Saginaw, MI, USA

Prepared By:

Spandana Balani


Change History

Sl. No.DescriptionAuthorVersionDate
1Initial VersionSarika Natu(KPIT Technologies)1.007-Sept-2015
2SF045A_HwAgSysArbn_Design version 2 implementationSB2.020-Jun-2016


Table of Contents

1 HwAgSysArbn & High-Level Description 4

2 Design details of software module 5

2.1 Graphical representation of HwAgSysArbn 5

2.2 Data Flow Diagram 5

2.2.1 Component level DFD 5

2.2.2 Function level DFD 5

3 Constant Data Dictionary 6

3.1 Program (fixed) Constants 6

3.1.1 Embedded Constants 6

4 Software Component Implementation 7

4.1 Sub-Module Functions 7

4.1.1 Init: HwAgSysArbn_Init1 7

4.1.1.1 Design Rationale 7

4.1.1.2 Module Outputs 7

4.1.2 Per: HwAgSysArbn_Per1 7

4.1.2.1 Design Rationale 7

4.1.2.2 Store Module Inputs to Local copies 7

4.1.2.3 (Processing of function)……… 7

4.1.2.4 Store Local copy of outputs into Module Outputs 7

4.2 Server Runables 7

4.3 Interrupt Functions 7

4.4 Module Internal (Local) Functions 7

4.4.1 Local Function #1 7

4.4.1.1 Design Rationale 8

4.4.1.2 Processing 8

4.5 GLOBAL Function/Macro Definitions 8

5 Known Limitations with Design 9

6 UNIT TEST CONSIDERATION 10

Appendix A References 11

HwAgSysArbn & High-Level Description

The Handwheel angle system arbitration function accepts inputs from the various angle sources available in the EPS system and selects the angle source to be used for the system handwheel angle value. It also provides for compliance compensation of the angle value and determines the angle value and angle validity to be output on the vehicle data bus.

Design details of software module

Graphical representation of HwAgSysArbn

Data Flow Diagram

See FDD.

Component level DFD

See FDD.

Function level DFD

See FDD.

Constant Data Dictionary

Program (fixed) Constants

Embedded Constants

Local Constants

Refer .m file

Software Component Implementation

Sub-Module Functions

Init: HwAgSysArbn_Init1

Design Rationale

Refer FDD

Module Outputs

Refer FDD

Per: HwAgSysArbn_Per1

Design Rationale

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

None

Interrupt Functions

None

Module Internal (Local) Functions

Local Function #1

Function NameHwSigSerlComArbnTypeMinMax
1Arguments PassedHwAgCorrdConf_Uls_T_f32uint801
HwAgSnsrlsConf_Uls_T_f32uint801
HwAgCorrd_HwDeg_T_f32float32-14401440
HwAgSnsrls_HwDeg_T_f32float32-14401440
*HwAgStsToSerlCom_Cnt_T_lgcbooleanFALSETRUE
Return ValueHwAgToSerlCom_HwDeg_T_f32float32-14401440

Design Rationale

Note: Outputs of “HwSigSerlComArbn” function are HwAgStsToSerlCom_Cnt_T_lgc, HwAgToSerlCom_HwDeg_T_f32

Processing

Refer to the Handwheel signal serial communication arbitration functionality of “HwAgSrcSeln” subsystem in the Simulink model.

GLOBAL Function/Macro Definitions

None

Known Limitations with Design

None

UNIT TEST CONSIDERATION

None

References

Ref. #TitleVersion
1AUTOSAR Specification of Memory Mapping (Link:AUTOSAR_SWS_MemoryMapping.pdf)v1.3.0 R4.0 Rev 2
2MDD GuidelineProcess Release 04.02.01
3Software Naming Conventions.docProcess Release 04.02.01
4Software Design and Coding Standards.docProcess Release 04.02.01
5SF045A_HwAgSysArbn_DesignSee Synergy subproject version
Last modified October 12, 2025: Initial commit (1fadfc4)