This is the multi-page printable view of this section. Click here to print.
Component Implementation
1 - CurrMeasCorrln_ Review
Overview
Summary SheetSynergy Project
Davinci Files
MDD
Sheet 1: Summary Sheet

Sheet 2: Synergy Project
Sheet 3: Davinci Files
Sheet 4: MDD
2 - CurrMeasCorrln_IntegrationManual
Integration Manual
For
CURRENT MEASUREMENT CORRELATION
VERSION: 2.0
DATE: 27-Jun-2016
Prepared By:
Software Group,
Nexteer Automotive,
Saginaw, MI, USA
Location: The official version of this document is stored in the Nexteer Configuration Management System.
Revision History
Sl. No. | Description | Author | Version | Date |
1 | Initial version | Selva Sengottaiyan | 1.0 | 09-Apr-2015 |
2 | Added FltInj point for an output | Krishna Anne | 2.0 | 27-Jun-16 |
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> | FDD - ES209A Current Measurement Correlation | <.2.7.0> |
Dependencies
SWCs
Module | Required Feature |
---|---|
None | N/A |
Note : Referencing the external components should be avoided in most cases. Only in unavoidable circumstance external components should be referred. Developer should track the references.
Global Functions(Non RTE) to be provided to Integration Project
None
Configuration REQUIREMeNTS
Build Time Config
Modules | Notes | |
---|---|---|
CurrMeasCorrln | FLTINJENA should be set to STD_ON as required |
Configuration Files to be provided by Integration Project
None
Da Vinci Parameter Configuration Changes
Parameter | Notes | SWC |
---|---|---|
N/A |
DaVinci Interrupt Configuration Changes
ISR Name | VIM # | Priority Dependency | Notes |
---|---|---|---|
N/A |
Manual Configuration Changes
Constant | Notes | SWC |
---|---|---|
N/A |
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 |
---|---|---|
None | ||
Runnable | Scheduling Requirements | Trigger |
---|---|---|
CurrMeasCorrlnPer1 | None | RTE 2ms Task |
.
Memory Map REQUIREMENTS
Mapping
Memory Section | Contents | Notes |
---|---|---|
None | ||
* Each …START_SEC… constant is terminated by a …STOP_SEC… constant as specified in the AUTOSAR Memory Mapping requirements.
Usage
Feature | RAM | ROM |
---|---|---|
None |
Table 1: ARM Cortex R4 Memory Usage
Non RTE NvM Blocks
Block Name |
---|
None |
Note : Size of the NVM block if configured in developer
RTE NvM Blocks
Block Name |
---|
None |
Note : Size of the NVM block if configured in developer
Compiler Settings
Preprocessor MACRO
None
Optimization Settings
None
Appendix
None
3 - CurrMeasCorrln_MDD
Module Design Document
For
Current Measurement Correlation
September 6, 2016
Prepared For:
Software Engineering
Nexteer Automotive,
Saginaw, MI, USA
Prepared By:
Nick Saxton,
Nexteer Automotive,
Saginaw, MI, USAChange History
Description | Author | Version | Date |
Initial Version | Selva | 1.0 | 09- Apr-2015 |
Updated for v2.1.0 of Design | Selva | 2.0 | 21 –Sep 2015 |
Updated graphical representation | Nick S. | 3.0 | 13-Apr-2016 |
Updated graphical representation with added fault injection port | Nick S. | 4.0 | 06-Sep-2016 |
Table of Contents
2 Current Measurement Correlation & High-Level Description 5
3 Design details of software module 6
3.1 Graphical representation of Current Measurement Correlation 6
4.1 Program (fixed) Constants 7
5 Software Component Implementation 8
5.1.1 Initialization Functions 8
5.1.1.3 Store Module Inputs to Local copies 8
5.1.1.4 (Processing of function)……… 8
5.1.1.5 Store Local copy of outputs into Module Outputs 8
5.1.2.1 Per: CurrMeasCorrlnPer1 8
5.1.2.3 Store Module Inputs to Local copies 8
5.1.2.4 (Processing of function)……… 8
5.1.2.5 Store Local copy of outputs into Module Outputs 8
5.4 Module Internal (Local) Functions 9
5.5 Local Function/Macro Definitions 9
5.5.1 Local Function #1 SigAvlCheck 9
5.5.2 Local Function #1 CurrMeasCorrlnChk 9
5.6 GLOBAL Function/Macro Definitions 9
6 Known Limitations with Design 11
Appendix A Abbreviations and Acronyms 13
Introduction
Purpose
None
Scope
None
Current Measurement Correlation & High-Level Description
Current Measurement Correlation determines number of independent current measurement channels available and also correlation status of those channels.
Refer the Design for high level Description
Design details of software module
None
Graphical representation of Current Measurement Correlation
Data Flow Diagram
Component level DFD
None
Function level DFD
None
Constant Data Dictionary
Program (fixed) Constants
Embedded Constants
Local
Constant Name | Units | Value |
CORRLNSTSABC_CNT_U08 | Cnt | 0x07 |
CORRLNSTSDEF_CNT_U08 | Cnt | 0x38 |
MAXVALSIGSTALL_CNT_U08 | Cnt | 255 |
CURRMOTSUMLOLIM_AMP_F32 | Amp | 0.0 |
CURRMOTSUMHILIM_AMP_F32 | Amp | 600.0 |
Software Component Implementation
Sub-Module Functions
Initialization Functions
INIT
None
Design Rationale
None
Store Module Inputs to Local copies
None
(Processing of function)………
None
Store Local copy of outputs into Module Outputs
None
PERIODIC FUNCTIONS
(Note: For multiple periodic functions, insert new headers at the “Header 2” level – subset of “ Periodic Functions” and follow the same sub-section design shown below). If none required, place the text “None”)>
Per: CurrMeasCorrlnPer1
Design Rationale
Refer to FDD
Store Module Inputs to Local copies
Refer to FDD
(Processing of function)………
Refer to FDD
Store Local copy of outputs into Module Outputs
Refer to FDD
Server Runables
None
Interrupt Functions
None
Module Internal (Local) Functions
Local Function/Macro Definitions
Local Function #1 SigAvlCheck
Function Name | SigAvlCheck | Type | Min | Max |
Arguments Passed | CurrMeasSigQlfr_T_enum | SigQlfr1 | SIGQLFR_NORES | SIGQLFR_FAILD |
CurrMeasSigRollgCntr_Cnt_T_u08 | uint8 | 0 | 255 | |
PrevCurrMeasSigRollgCntr_Cnt_T_u08 | uint8 | 0 | 255 | |
CurrMeasSigStall_Cnt_T_u08 | uint8 | 0 | 255 | |
Return Value | SignalAvailable_Cnt_T_logl | boolean | FALSE | TRUE |
Description
Refer FDD.
Local Function #1 CurrMeasCorrlnChk
Function Name | CurrMeasCorrlnChk | Type | Min | Max |
Arguments Passed | MotCurrCorrdSig1_Amp_T_f32 | float32 | -200 | 200 |
MotCurrCorrdSig2_Amp_T_f32 | float32 | -200 | 200 | |
MotCurrCorrdSig3_Amp_T_f32 | float32 | -200 | 200 | |
CurrMeasCorrlnNtcFailStep | uint16 | 0 | 65535 | |
CurrMeasCorrlnNtcPassStep | uint16 | 0 | 65535 | |
NtcNr_T_enum | NtcNr1 | 0x4D | 0x4E | |
*CurrMeasLongTermCorrlnStsVldSig1_Cnt_T_logl | boolean | FALSE | TRUE | |
*CurrMotSum_Amp_T_f32 | float32 | 0.0 | 600.0 | |
Return Value | CurrMeasImdtCorrlnStsVldSig1_Cnt_T_logl | boolean | FALSE | TRUE |
Description
Refer FDD.
In FDD, there are two sub functions CorrlnChkABC and CorrlnChkDEF but the both functions are functionally same other than the NTCs. Hence the software merges these functions in single function with NTC as parameter.
*CurrMeasLongTermCorrlnStsVldSig1_Cnt_T_logl and *CurrMotSum_Amp_T_f32 are outputs of this function.
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 | 1.0 |
4 | Software Design and Coding Standards.doc | 2.1 |
5 | FDD - ES209A Current Measurement Correlation | See synergy subversion |
4 - requirements
FDD | ID | Source | Function | Line(s) | Status | Comment |
---|---|---|---|---|---|---|
.SwFileName | .SwFuncName | .SwLines | .SwStatus | .SwComment | ||
ES209A | 216 | CurrMeasCorrln.c | CurrMeasCorrlnPer1 | 919 | I | |
ES209A | 217 | CurrMeasCorrln.c | CurrMeasCorrlnPer1 | 890-903 | I | |
ES209A | 214 | CurrMeasCorrln.c | CurrMeasCorrlnPer1 | 812 | I | |
ES209A | 215 | CurrMeasCorrln.c | CurrMeasCorrlnPer1 | 811 | I | |
ES209A | 212 | CurrMeasCorrln.c | CurrMeasCorrlnPer1 | 814 | I | |
ES209A | 213 | CurrMeasCorrln.c | CurrMeasCorrlnPer1 | 813 | I | |
ES209A | 211 | CurrMeasCorrln.c | CurrMeasCorrlnPer1 | 873-878 | I | |
ES209A | 228 | CurrMeasCorrln.c | CurrMeasCorrlnPer1 | 889-902 | I | |
ES209A | 219 | CurrMeasCorrln.c | CurrMeasCorrlnPer1 | 830-834 | I | |
ES209A | 259 | CurrMeasCorrln.c | CurrMeasCorrlnChk | 1017 | I | |
ES209A | 135 | CurrMeasCorrln.c | CurrMeasCorrlnPer1 | 825-829 | I | |
ES209A | 277 | CurrMeasCorrln.c | CurrMeasCorrlnPer1 | 921 | I | |
ES209A | 252 | CurrMeasCorrln.c | CurrMeasCorrlnChk | 1018,1023 | I | |
ES209A | 236 | CurrMeasCorrln.c | CurrMeasCorrlnChk | 1018,1023 | I | |
ES209A | 230 | CurrMeasCorrln.c | CurrMeasCorrlnPer1 | 888-904 | I | |
ES209A | 257 | CurrMeasCorrln.c | CurrMeasCorrlnPer1 | 849-858 | I | |
ES209A | 276 | CurrMeasCorrln.c | CurrMeasCorrlnPer1 | 920 | I | |
ES209A | 181 | CurrMeasCorrln.c | CurrMeasCorrlnChk | 1022 | I | |
ES209A | 280 | CurrMeasCorrln.c | CurrMeasCorrlnPer1 | 907-911 | I | |
ES209A | 205 | CurrMeasCorrln.c | CurrMeasCorrlnPer1 | 918 | I | |
ES209A | 263 | CurrMeasCorrln.c | CurrMeasCorrlnPer1 | 837-846 | I | |
ES209A | 244 | CurrMeasCorrln.c | CurrMeasCorrlnPer1 | 837-846 | I | |
ES209A | 261 | CurrMeasCorrln.c | CurrMeasCorrlnChk | 1022 | I | |
ES209A | 229 | CurrMeasCorrln.c | CurrMeasCorrlnPer1 | 887-905 | I | |
ES209A | 265 | CurrMeasCorrln.c | CurrMeasCorrlnPer1 | 837-846,849-858 | I | |
ES209A | 264 | CurrMeasCorrln.c | CurrMeasCorrlnPer1 | 849-858 | I | |
ES209A | 102 | CurrMeasCorrln.c | CurrMeasCorrlnPer1 | 807 | I | |
ES209A | 103 | CurrMeasCorrln.c | CurrMeasCorrlnPer1 | 806 | I | |
ES209A | 100 | CurrMeasCorrln.c | CurrMeasCorrlnPer1 | 809 | I | |
ES209A | 101 | CurrMeasCorrln.c | CurrMeasCorrlnPer1 | 808 | I | |
ES209A | 249 | CurrMeasCorrln.c | CurrMeasCorrlnChk | 1017 | I | |
ES209A | 222 | CurrMeasCorrln.c | CurrMeasCorrlnPer1 | 879-884 | I | |
ES209A | 104 | CurrMeasCorrln.c | CurrMeasCorrlnPer1 | 805 | I | |
ES209A | 99 | CurrMeasCorrln.c | CurrMeasCorrlnPer1 | 810 | I | |
ES209A | 262 | CurrMeasCorrln.c | CurrMeasCorrlnPer1 | 804-923 | I |