This is the multi-page printable view of this section. Click here to print.
Component Implementation
1 - EotProtnFwl_Integration Manual
Integration Manual
For
SF027A_EotProtnFwl
VERSION: 1.0
DATE: 01-Feb-2016
Prepared By:
Sarika Natu,
KPIT Technologies,
India
Location: The official version of this document is stored in the Nexteer Configuration Management System.
Revision History
Description | Author | Version | Date |
Initial version | Sarika Natu | 1.0 | 01-Feb-2016 |
Table of Contents
3.2 Global Functions(Non RTE) to be provided to Integration Project 6
4 Configuration REQUIREMeNTS 7
4.2 Configuration Files to be provided by Integration Project 7
4.3 Da Vinci Parameter Configuration Changes 7
4.4 DaVinci Interrupt Configuration Changes 7
4.5 Manual Configuration Changes 7
5 Integration DATAFLOW REQUIREMENTS 8
5.1 Required Global Data Inputs 8
5.2 Required Global Data Outputs 8
5.3 Specific Include Path present 8
Abbrevations And Acronyms
Abbreviation | Description |
DFD | Design functional diagram |
MDD | Module design Document |
<ADD more to the table if applicable> | |
References
This section lists the title & version of all the documents that are referred for development of this document
Sr. No. | Title | Version |
1 | MDD Guideline | EA4 01.00.00 |
2 | Software Naming Conventions.doc | 2.0 |
3 | Software Design and Coding Standards.doc | 2.1 |
4 | AUTOSAR Specification of Memory Mapping (Link:AUTOSAR_SWS_MemoryMapping.pdf) | v1.3.0 R4.0 Rev 2 |
5 | SF027_EotProtnFwl_Design | Refer Synergy subproject version |
Dependencies
SWCs
Module | Required Feature |
None |
Global Functions(Non RTE) to be provided to Integration Project
None
Configuration REQUIREMeNTS
Build Time Config
Modules | Notes | |
None |
Configuration Files to be provided by Integration Project
None
Da Vinci Parameter Configuration Changes
Parameter | Notes | SWC |
None |
DaVinci Interrupt Configuration Changes
ISR Name | VIM # | Priority Dependency | Notes |
None |
Manual Configuration Changes
Constant | Notes | SWC |
None |
Integration DATAFLOW REQUIREMENTS
Required Global Data Inputs
Refer DataDict.m file
Required Global Data Outputs
Refer DataDict.m file
Specific Include Path present
No
Runnable Scheduling
This section specifies the required runnable scheduling.
Init | Scheduling Requirements | Trigger |
EotProtnFwlInit1 | None | RTE (Init) |
Runnable | Scheduling Requirements | Trigger |
EotProtnFwlPer1 | None | RTE(2ms) |
.
Memory Map REQUIREMENTS
Mapping
Memory Section | Contents | Notes |
EotProtnFwl_START_SEC_CODE | ||
EotProtnFwl_STOP_SEC_CODE |
* Each …START_SEC… constant is terminated by a …STOP_SEC… constant as specified in the AUTOSAR Memory Mapping requirements.
Usage
Feature | RAM | ROM |
<Memmap usuage info> |
Table 1: ARM Cortex R4 Memory Usage
NvM Blocks
None
Compiler Settings
Preprocessor MACRO
None
Optimization Settings
None
Appendix
None
2 - EotProtnFwl_MDD
Module Design Document
For
EotProtnFwl
Feb 01, 2016
Prepared For:
Software Engineering
Nexteer Automotive,
Saginaw, MI, USA
Prepared By:
Sarika Natu,
KPIT Technologies,
India
Change History
Description | Author | Version | Date |
Initial Version | Sarika Natu(KPIT Technologies) | 1.0 | 01-Feb-2016 |
Table of Contents
1 EotProtnFwl & High-Level Description 5
2 Design details of software module 6
2.1 Graphical representation of EotProtnFwl 6
3.1 Program (fixed) Constants 7
4 Software Component Implementation 8
4.1.1 Init: EotProtnFwl_Init1 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.4 Module Internal (Local) Functions 8
4.5 GLOBAL Function/Macro Definitions 9
5 Known Limitations with Design 10
Appendix A Abbreviations and Acronyms 12
EotProtnFwl & High-Level Description
EOT Protection Firewall function is safety function which imposes a firewall limit to the Assist_EOTDamping and EOTActvCmd motor commands generated by SF-018A.
Design details of software module
Graphical representation of EotProtnFwl
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
Refer FDD
Software Component Implementation
Sub-Module Functions
Init: EotProtnFwl_Init1
Design Rationale
Refer FDD
Module Outputs
Refer FDD
Per: EotProtnFwl_Per1
Design Rationale
EotProtnFwl_Per1 function is divided into various functions to reduce the cyclomatic complexity.
Store Module Inputs to Local copies
Refer FDD
(Processing of function)………
Refer FDD
Store Local copy of outputs into Module Outputs
Refer FDD
Server Runnables
None
Interrupt Functions
None
Module Internal (Local) Functions
Local Function #1
Function Name | DetEOTDamping | Type | Min | Max |
Arguments Passed | EotDampgCmd_MotNwtMtr_T_f32 | float32 | -8.8 | 8.8 |
EotProtnDi_Cnt_T_Logl | boolean | 0 | 1 | |
HwAg_HwDeg_T_f32 | float32 | -1440.0 | 1440.0 | |
MotVelCrf_MotRadPerSec_T_f32 | float32 | - 1118.0 | 1118.0 | |
EotProtnFwlPinionAgConfSts_Cnt_T_Logl | boolean | 0 | 1 | |
VehSpd_Kph_T_u9p7 | uint16 | 0 | 511 | |
MfgEnaSt_Cnt_T_Enum | Enum | 0 | 1 | |
* EotDampgFwlReached_Cnt_T_Logl | boolean | 0 | 1 | |
Return by Value | EotDampgCmdLimd_MotNwtMtr_T_f32 | float32 | -8.8 | 8.8 |
Design Rationale
This function updates EotDampgFwlReached_Cnt_T_Logl
Processing
Refer Active/Inactive region for EOTDamping Command implementation in model
Local Function #2
Function Name | DetEOTActive | Type | Min | Max |
Arguments Passed | EotActvCmd_MotNwtMtr_T_f32 | float32 | -8.8 | 8.8 |
EotProtnDi_Cnt_T_Logl | boolean | 0 | 1 | |
HwAg_HwDeg_T_f32 | float32 | -1440.0 | 1440.0 | |
EotProtnFwlPinionAgConfSts_Cnt_T_Logl | boolean | 0 | 1 | |
VehSpd_Kph_T_u9p7 | uint16 | 0 | 511 | |
MfgEnaSt_Cnt_T_Enum | Enum | 0 | 1 | |
* EotActvCmdFwlReached_Cnt_T_Logl | boolean | 0 | 1 | |
Return Value | EotActvCmdLimd_MotNwtMtr_T_f32 | float32 | -8.8 | 8.8 |
Design Rationale
This function updates EotActvCmdFwlReached_Cnt_T_Logl
Processing
Refer Active/Inactive region for EOT Active Command implementation in model
GLOBAL Function/Macro Definitions
None
Known Limitations with Design
None
UNIT TEST CONSIDERATION
None
Abbreviations and Acronyms
Abbreviation or Acronym | Description |
---|---|
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
Term | Definition | Source |
---|---|---|
MDD | Module Design Document | |
DFD | Data Flow Diagram |
References
Ref. # | Title | Version |
---|---|---|
1 | AUTOSAR Specification of Memory Mapping (Link:AUTOSAR_SWS_MemoryMapping.pdf) | v1.3.0 R4.0 Rev 2 |
2 | MDD Guideline | EA4 01.00.00 |
3 | Software Naming Conventions.doc | 2.0 |
4 | Software Design and Coding Standards.doc | 2.1 |
5 | SF027_EotProtnFwl_Desgin | Please refer synergy subproject version |
3 - EotProtnFwl_PeerReviewChecklist
Overview
Summary SheetSynergy Project
Sheet 1: Summary Sheet
