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

Sheet 2: Synergy Project
2 - EcuTMeas_IntegrationManual
Integration Manual
For
ECU TEMPERATURE MEASUREMENT
VERSION: 2.0
DATE: 21-MAR-2016
Prepared By:
Krishna Anne,
Nexteer Automotive,
Saginaw, MI, USA
Revision History
Sl. No. | Description | Author | Version | Date |
1 | Initial version | Spandana Balani | 1.0 | 23-Mar-2015 |
2 | ADC Hooks are added as input | KK | 2.0 | 21-Mar-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 |
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 - ES210A ECU Temperature Measurement | (See project group sub-version in synergy) |
Dependencies
SWCs
Module | Required Feature |
None | N/A |
Global Functions(Non RTE) to be provided to Integration Project
Configuration REQUIREMeNTS
Build Time Config
Modules | Notes | |
None |
Configuration Files to be provided by Integration Project
Include NxtrFil.h in Rte_UserTypes.h header file
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 |
EcuTMeasInit1 | On Init | Rte_Init |
Runnable | Scheduling Requirements | Trigger |
EcuTMeasPer1 | None | RTE 100ms 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
3 - EcuTMeas_MDD
Module Design Document
For ECU Temperature Measurement
VERSION: 2.0
DATE: 21-MAR-2016
Prepared By:
Krishna Anne,
Nexteer Automotive,
Saginaw, MI, USA
Revision History
Sl. No. | Description | Author | Version | Date |
1 | Initial Version | SB | 1.0 | 23-Mar-2015 |
2 | ADC Hooks are added as input | KK | 2.0 | 21-Mar-2016 |
Table of Contents
3 Ecutmeas & High-Level Description 7
4 Design details of software module 8
4.1 Graphical representation of Ecutmeas 8
5.1.2 Module specific Lookup Tables Constants 9
6 Software Module Implementation 10
6.1.1 Initialization Functions 10
6.1.1.1 INIT: EcuTMeasINIT1 10
6.1.1.3 Store Module Inputs to Local copies 10
6.1.1.4 (Processing of function)……… 10
6.1.1.5 Store Local copy of outputs into Module Outputs 10
6.1.2.3 Store Module Inputs to Local copies 10
6.1.2.4 (Processing of function)……… 10
6.1.2.5 Store Local copy of outputs into Module Outputs 10
6.3 Serial Communication Functions 11
6.4 Local Function/Macro Definitions 11
6.5 GLObAL Function/Macro Definitions 11
7 Known Limitations With Design 12
Abbrevations And Acronyms
Abbreviation | Description |
DFD | Design functional diagram |
MDD | Module design Document |
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 Guidelines | Process 3.06.00 |
2 | Software Naming Conventions | Process 3.06.00 |
3 | Coding standards | Process 3.06.00 |
4 | FDD - ES210A Ecu Temperature Measurement | (See project group sub-version in synergy) |
Ecutmeas & High-Level Description
Measures and diagnoses thermistor on ECU.
Design details of software module
Graphical representation of Ecutmeas
Data Flow Diagram
Module level DFD
N/A
Sub-Module level DFD
N/A
COMPONENT FLOW DIAGRAM
N/A
Variable definition for enumerated types
Constant Data Dictionary
Constant Name | Resolution | Units | Value |
Refer FDD |
Module specific Lookup Tables Constants
Constant Name | Resolution | Value | Software Segment |
NA |
Software Module Implementation
Sub-Module Functions
None
Initialization Functions
INIT: EcuTMeasINIT1
Design Rationale
Per FDD author intent is to use standard Nexteer FilLp functions
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
PERIODIC FUNCTIONS
(Note: For multiple periodic functions, insert new headers at the “Header 2” level – subset of “7.1.2 Periodic Functions” and follow the same sub-section design shown below). If none required, place the text “None”)
Per: EcuTMeasPer1
Design Rationale
Per FDD author intent is to use standard Nexteer FilLp functions
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
Interrupt Functions
None
Serial Communication Functions
None
Local Function/Macro Definitions
Local Function #1
None
GLObAL Function/Macro Definitions
GLObAL Function #1
N/A
TRANSIENT FUNCTIONS
None
Known Limitations With Design
None
UNIT TEST CONSIDERATION
The Per Instance Memory in .m file EcuTMeasFilStVarPrev given as float32 type, represents the State variable of the filter FilSt, element of the struct FilLpRec1
Range of Rte_Pim_EcuTMeasFilStVarPrev.FilSt is the range given in the .m file
the equation to calculate filter gain is:
FilGain = 1 - exp(-2PI * FrqPole * TiStep)
FrqPole is Rte_Prm_EcuTMeasFilTau_Val
TiStep is 100ms
Range of Rte_Pim_EcuTMeasFilStVarPrev.FilGain is calculated using the range of Rte_Prm_EcuTMeasFilTau_Val
The equation to calculate the filter output is:
Outp = ((Inp - FilSt) * FilGain) + FilSt
Appendix
None
4 - requirements
FDD | ID | Source | Function | Line(s) | Status | Comment |
---|---|---|---|---|---|---|
.SwFileName | .SwFuncName | .SwLines | .SwStatus | .SwComment | ||
ES210A | 25 | EcuTMeas.c | EcuTMeasPer1 | 741,754-767 | I | |
ES210A | 71 | EcuTMeas.c | EcuTMeasPer1 | 743 | I | |
ES210A | 48 | EcuTMeas.c | EcuTMeasInit1,EcuTMeasPer1 | 680,744 | I | |
ES210A | 49 | EcuTMeas.c | EcuTMeasPer1 | 743 | I | |
ES210A | 31 | EcuTMeas.c | EcuTMeasPer1 | 765 | I | |
ES210A | 70 | EcuTMeas.c | EcuTMeasPer1 | 761 | I | |
ES210A | 51 | EcuTMeas.c | EcuTMeasPer1 | 780 | I | |
ES210A | 68 | EcuTMeas.c | EcuTMeasPer1 | 748,778 | I | |
ES210A | 65 | EcuTMeas.c | EcuTMeasInit1 | 685 | I | |
ES210A | 66 | EcuTMeas.c | EcuTMeasInit1,EcuTMeasPer1 | 682,748 | I | |
ES210A | 67 | EcuTMeas.c | EcuTMeasInit1,EcuTMeasPer1 | 685,777 | I | |
ES210A | 82 | EcuTMeas.c | EcuTMeasPer1 | 745 | I | |
ES210A | 83 | EcuTMeas.c | EcuTMeasPer1 | 752 | I | |
ES210A | 80 | EcuTMeas.c | EcuTMeasInit1 | 685 | I | |
ES210A | 81 | EcuTMeas.c | EcuTMeasPer1 | 741-783 | I | |
ES210A | 69 | EcuTMeas.c | EcuTMeasPer1 | 757 | I | |
ES210A | 84 | EcuTMeas.c | EcuTMeasPer1 | 768 | I |