This is the multi-page printable view of this section. Click here to print.
Component Implementation
1 - requirements
FDD | ID | Source | Function | Line(s) | Status | Comment |
---|---|---|---|---|---|---|
.SwFileName | .SwFuncName | .SwLines | .SwStatus | .SwComment | ||
SF051A | 216 | SnsrOffsLrng.c | RstHwTq_Oper | 517-548 | I | |
SF051A | 217 | SnsrOffsLrng.c | GetYawRateOffs_Oper | 468-471 | I | |
SF051A | 214 | SnsrOffsLrng.c | GetHwAgOffs_Oper | 404-407 | I | |
SF051A | 215 | SnsrOffsLrng.c | SetHwAgOffs_Oper | 646-664 | I | |
SF051A | 212 | SnsrOffsLrng.c | GetHwTqOffs_Oper | 436-439 | I | |
SF051A | 213 | SnsrOffsLrng.c | SetHwTqOffs_Oper | 710-746 | I | |
SF051A | 210 | SnsrOffsLrng.c | SnsrOffsLrngInit1 | 841-963 | I | |
SF051A | 211 | SnsrOffsLrng.c | RstYawAndAg_Oper | 587-607 | I | |
SF051A | 218 | SnsrOffsLrng.c | SetYawRateOffs_Oper | 786 | I | |
SF051A | 164 | SnsrOffsLrng.c | EnableYOC_Cnt_T_logl | 1711-1859 | I | |
SF051A | 136 | SnsrOffsLrng.c | EnableYOC_Cnt_T_logl | 1588 | I | |
SF051A | 135 | SnsrOffsLrng.c | EnableYOC_Cnt_T_logl | 1588 | I | |
SF051A | 134 | SnsrOffsLrng.c | EnableYOC_Cnt_T_logl | 1600 | I | |
SF051A | 139 | SnsrOffsLrng.c | LearnHwAg | 1528 | I | |
SF051A | 166 | SnsrOffsLrng.c | EnableYOC_Cnt_T_logl | 1732 | I | |
SF051A | 26 | SnsrOffsLrng.c | SnsrOffsLrngInit1,SnsrOffsLrngPer2,EnableYOC_Cnt_T_logl | 889-955,1292,1700-1888 | I | |
SF051A | 160 | SnsrOffsLrng.c | SnsrOffsLrngPer1 | 1045-1050 | I | |
SF051A | 28 | SnsrOffsLrng.c | SnsrOffsLrngPer2 | 1298,1318 | I | |
SF051A | 29 | SnsrOffsLrng.c | SnsrOffsLrngPer2 | 1303 | I | |
SF051A | 97 | SnsrOffsLrng.c | SnsrOffsLrngPer2 | 1338 | I | |
SF051A | 163 | SnsrOffsLrng.c | SnsrOffsLrngPer1 | 1044 | I | |
SF051A | 120 | SnsrOffsLrng.c | LearnHwAg | 1449,1464 | I | |
SF051A | 122 | SnsrOffsLrng.c | LearnHwAg | 1465 | I | |
SF051A | 123 | SnsrOffsLrng.c | LearnHwAg | 1448 | I | |
SF051A | 125 | SnsrOffsLrng.c | SnsrOffsLrngPer2 | 1384-1401 | I | |
SF051A | 126 | SnsrOffsLrng.c | SnsrOffsLrngPer2 | 1383 | I | |
SF051A | 127 | SnsrOffsLrng.c | SnsrOffsLrngPer2 | 1404 | I | |
SF051A | 58 | SnsrOffsLrng.c | SetYawRateOffs_Oper | 785-797 | I | |
SF051A | 195 | SnsrOffsLrng.c | SnsrOffsLrngPer1 | 1159-1181 | I | |
SF051A | 194 | SnsrOffsLrng.c | SnsrOffsLrngPer1 | 1159-1181 | I | |
SF051A | 191 | SnsrOffsLrng.c | SnsrOffsLrngPer1 | 1152 | I | |
SF051A | 190 | SnsrOffsLrng.c | KVect_Uls_T_f32 | 2057 | I | |
SF051A | 115 | SnsrOffsLrng.c | LearnHwAg | 1477 | I | |
SF051A | 88 | SnsrOffsLrng.c | SnsrOffsLrngPer2 | 1313 | I | |
SF051A | 89 | SnsrOffsLrng.c | SnsrOffsLrngPer2 | 1307 | I | |
SF051A | 111 | SnsrOffsLrng.c | SnsrOffsLrngPer2 | 1326 | I | |
SF051A | 112 | SnsrOffsLrng.c | SnsrOffsLrngPer2 | 1326 | I | |
SF051A | 80 | SnsrOffsLrng.c | SnsrOffsLrngInit1 | 960 | I | |
SF051A | 81 | SnsrOffsLrng.c | SnsrOffsLrngInit1 | 900-931 | I | |
SF051A | 86 | SnsrOffsLrng.c | SnsrOffsLrngPer2 | 1295 | I | |
SF051A | 87 | SnsrOffsLrng.c | SnsrOffsLrngPer2 | 1313 | I | |
SF051A | 165 | SnsrOffsLrng.c | EnableYOC_Cnt_T_logl | 1703-1882 | I | |
SF051A | 140 | SnsrOffsLrng.c | LearnHwAg | 1523 | I | |
SF051A | 245 | SnsrOffsLrng.c | SnsrOffsLrngInit1 | 889-955 | I | |
SF051A | 244 | SnsrOffsLrng.c | SnsrOffsLrngInit1 | 889-955 | I | |
SF051A | 240 | SnsrOffsLrng.c | SnsrOffsLrngPer2 | 1364 | I | |
SF051A | 243 | SnsrOffsLrng.c | SnsrOffsLrngPer1,KVect_Uls_T_f32 | 1081-1114,1982 | I | |
SF051A | 242 | SnsrOffsLrng.c | SnsrOffsLrngPer2 | 1326 | I | |
SF051A | 106 | SnsrOffsLrng.c | SnsrOffsLrngPer2 | 1365 | I | |
SF051A | 107 | SnsrOffsLrng.c | SnsrOffsLrngPer2 | 1361 | I | |
SF051A | 104 | SnsrOffsLrng.c | SnsrOffsLrngPer2 | 1364 | I | |
SF051A | 105 | SnsrOffsLrng.c | SnsrOffsLrngPer2 | 1364 | I | |
SF051A | 32 | SnsrOffsLrng.c | EnableYOC_Cnt_T_logl | 1577 | I | |
SF051A | 31 | SnsrOffsLrng.c | SnsrOffsLrngPer2 | 1324 | I | |
SF051A | 60 | SnsrOffsLrng.c | SnsrOffsLrngPer2 | 1372 | I | |
SF051A | 178 | SnsrOffsLrng.c | SnsrOffsLrngPer1 | 1074-1078 | I | |
SF051A | 177 | SnsrOffsLrng.c | SnsrOffsLrngPer1 | 1076 | I | |
SF051A | 176 | SnsrOffsLrng.c | SnsrOffsLrngPer1 | 1123 | I | |
SF051A | 174 | SnsrOffsLrng.c | SnsrOffsLrngPer1,KVect_Uls_T_f32 | 1138,2035 | I | |
SF051A | 173 | SnsrOffsLrng.c | SnsrOffsLrngPer1,KVect_Uls_T_f32 | 1138,2035 | I | |
SF051A | 172 | SnsrOffsLrng.c | EnableYOC_Cnt_T_logl | 1692,1700-1888 | I | |
SF051A | 171 | SnsrOffsLrng.c | EnableYOC_Cnt_T_logl | 1696 | I | |
SF051A | 183 | SnsrOffsLrng.c | SnsrOffsLrngPer1 | 1116,1123 | I | |
SF051A | 180 | SnsrOffsLrng.c | SnsrOffsLrngPer1 | 1074-1078 | I | |
SF051A | 186 | SnsrOffsLrng.c | SnsrOffsLrngPer1 | 1159-1181 | I | |
SF051A | 187 | SnsrOffsLrng.c | SnsrOffsLrngPer1 | 1152 | I | |
SF051A | 188 | SnsrOffsLrng.c | SnsrOffsLrngPer1 | 1184 | I | |
SF051A | 98 | SnsrOffsLrng.c | SnsrOffsLrngPer2 | 1324 | I | |
SF051A | 169 | SnsrOffsLrng.c | EnableYOC_Cnt_T_logl | 1693 | I | |
SF051A | 229 | SnsrOffsLrng.c | GetYawRateOffs_Oper | 468-471 | I | |
SF051A | 91 | SnsrOffsLrng.c | SnsrOffsLrngPer2 | 1353,1355,1364 | I | |
SF051A | 90 | SnsrOffsLrng.c | SnsrOffsLrngPer2 | 1352 | I | |
SF051A | 93 | SnsrOffsLrng.c | SnsrOffsLrngPer2 | 1361 | I | |
SF051A | 95 | SnsrOffsLrng.c | SnsrOffsLrngPer2 | 1350 | I | |
SF051A | 94 | SnsrOffsLrng.c | SnsrOffsLrngPer2 | 1349 | I | |
SF051A | 162 | SnsrOffsLrng.c | SnsrOffsLrngPer1 | 1041 | I | |
SF051A | 96 | SnsrOffsLrng.c | SnsrOffsLrngPer2 | 1338 | I | |
SF051A | 12 | SnsrOffsLrng.c | SnsrOffsLrngPer1,SnsrOffsLrngPer2 | 1034,1383-1401 | I | |
SF051A | 16 | SnsrOffsLrng.c | SnsrOffsLrngInit1 | 961 | I | |
SF051A | 117 | SnsrOffsLrng.c | LearnHwAg | 1465 | I | |
SF051A | 116 | SnsrOffsLrng.c | LearnHwAg | 1454 | I | |
SF051A | 150 | SnsrOffsLrng.c | SnsrOffsLrngPer1 | 1014-1212 | I | |
SF051A | 153 | SnsrOffsLrng.c | SnsrOffsLrngPer1,EnableYOC_Cnt_T_logl | 1069,1711-1728 | I | |
SF051A | 154 | SnsrOffsLrng.c | SnsrOffsLrngPer1 | 1052 | I | |
SF051A | 157 | SnsrOffsLrng.c | SnsrOffsLrngPer1 | 1052 | I | |
SF051A | 156 | SnsrOffsLrng.c | SnsrOffsLrngPer1 | 1208 | I | |
SF051A | 158 | SnsrOffsLrng.c | SnsrOffsLrngPer1 | 1045-1050 | I | |
SF051A | 238 | SnsrOffsLrng.c | SetHwTqOffs_Oper | 710-746 | I | |
SF051A | 234 | SnsrOffsLrng.c | RstYawAndAg_Oper | 587-607 | I | |
SF051A | 235 | SnsrOffsLrng.c | RstHwTq_Oper | 517-548 | I | |
SF051A | 236 | SnsrOffsLrng.c | SetHwAgOffs_Oper | 646-664 | I | |
SF051A | 237 | SnsrOffsLrng.c | SetYawRateOffs_Oper | 785-797 | I | |
SF051A | 230 | SnsrOffsLrng.c | SetHwAgOffs_Oper | 647 | I | |
SF051A | 231 | SnsrOffsLrng.c | GetHwAgOffs_Oper | 404-407 | I | |
SF051A | 232 | SnsrOffsLrng.c | SetHwTqOffs_Oper | 711 | I | |
SF051A | 233 | SnsrOffsLrng.c | GetHwTqOffs_Oper | 436-439 | I | |
SF051A | 46 | SnsrOffsLrng.c | SnsrOffsLrngInit1 | 841,935-953 | I | |
SF051A | 119 | SnsrOffsLrng.c | LearnHwAg | 1464 | I | |
SF051A | 45 | SnsrOffsLrng.c | SnsrOffsLrngInit1 | 889-955 | I | |
SF051A | 118 | SnsrOffsLrng.c | LearnHwAg | 1459,1464 | I | |
SF051A | 146 | SnsrOffsLrng.c | LearnHwAg | 1481 | I | |
SF051A | 144 | SnsrOffsLrng.c | LearnHwAg | 1489 | I | |
SF051A | 145 | SnsrOffsLrng.c | LearnHwAg | 1485 | I | |
SF051A | 142 | SnsrOffsLrng.c | LearnHwAg | 1497 | I | |
SF051A | 143 | SnsrOffsLrng.c | LearnHwAg | 1493 | I | |
SF051A | 207 | SnsrOffsLrng.c | SnsrOffsLrngPer1 | 1014-1212 | I | |
SF051A | 141 | SnsrOffsLrng.c | LearnHwAg | 1519 | I | |
SF051A | 209 | SnsrOffsLrng.c | SnsrOffsLrngInit1 | 887,900-931 | I | |
SF051A | 149 | SnsrOffsLrng.c | EnableYOC_Cnt_T_logl | 1700-1888 | I | |
SF051A | 77 | SnsrOffsLrng.c | EnableYOC_Cnt_T_logl | 1565 | I | |
SF051A | 74 | SnsrOffsLrng.c | SnsrOffsLrngPer2 | 1288 | I | |
SF051A | 72 | SnsrOffsLrng.c | EnableYOC_Cnt_T_logl | 1695 | I | |
SF051A | 71 | SnsrOffsLrng.c | SnsrOffsLrngPer1,EnableYOC_Cnt_T_logl | 1033,1697 | I | |
SF051A | 79 | SnsrOffsLrng.c | SnsrOffsLrngInit1 | 962 | I | |
SF051A | 78 | SnsrOffsLrng.c | SnsrOffsLrngPer2 | 1286 | I |
2 - SnsrOffLrng_MDD
Module Design Document
For
Sensor Offset Learning
August 17, 2016
Prepared For:
Software Engineering
Nexteer Automotive,
Saginaw, MI, USA
Prepared By:
SEPG,
Nexteer Automotive,
Saginaw, MI, USA
Change History
Version | Description | Author | Date |
1 | Initial Version | Selva Sengottaiyan | 07-Feb-2016 |
2 | Updated as per FDD v 1.2.0 | Krishna Anne | 07-Mar-2016 |
3 | Updated graphical representation | Nick Saxton | 17-Aug-2016 |
Table of Contents1 Introduction 6
2 SnsrOffsLrng & High-Level Description 7
3 Design details of software module 8
3.1 Graphical representation of SnsrOffsLrng 9
4.1 Program (fixed) Constants 11
5 Software Component Implementation 12
5.1.1 Init: SnsrOffsLrngInit1 12
5.1.2 Per: SnsrOffsLrngPer1 12
5.1.2.2 Store Module Inputs to Local copies 12
5.1.2.3 (Processing of function)……… 12
5.1.2.4 Store Local copy of outputs into Module Outputs 12
5.1.1 Per: SnsrOffsLrngPer2 12
5.1.1.2 Store Module Inputs to Local copies 12
5.1.1.3 (Processing of function)……… 12
5.1.1.4 Store Local copy of outputs into Module Outputs 12
5.2.1.2 Store Module Inputs to Local copies 13
5.2.1.3 (Processing of function)……… 13
5.2.1.4 Store Local copy of outputs into Module Outputs 13
5.2.2 SnsrOffsLrng_RstYawAndAg 13
5.2.2.2 Store Module Inputs to Local copies 13
5.2.2.3 (Processing of function)……… 13
5.2.2.4 Store Local copy of outputs into Module Outputs 13
5.2.3 SnsrOffsLrng_SetHwAgOffs 13
5.2.3.2 Store Module Inputs to Local copies 13
5.2.3.3 (Processing of function)……… 13
5.2.3.4 Store Local copy of outputs into Module Outputs 13
5.2.4 SnsrOffsLrng_GetHwAgOffs 14
5.2.4.2 Store Module Inputs to Local copies 14
5.2.4.3 (Processing of function)……… 14
5.2.4.4 Store Local copy of outputs into Module Outputs 14
5.2.5 SnsrOffsLrng_SetHwTqOffs 14
5.2.5.2 Store Module Inputs to Local copies 14
5.2.5.3 (Processing of function)……… 14
5.2.5.4 Store Local copy of outputs into Module Outputs 14
5.2.6 SnsrOffsLrng_GetHwTqOffs 14
5.2.6.2 Store Module Inputs to Local copies 14
5.2.6.3 (Processing of function)……… 14
5.2.6.4 Store Local copy of outputs into Module Outputs 14
5.2.7 SnsrOffsLrng_SetYawRateOffs 15
5.2.7.2 Store Module Inputs to Local copies 15
5.2.7.3 (Processing of function)……… 15
5.2.7.4 Store Local copy of outputs into Module Outputs 15
5.2.8 SnsrOffsLrng_GetYawRateOffs 15
5.2.8.2 Store Module Inputs to Local copies 15
5.2.8.3 (Processing of function)……… 15
5.2.8.4 Store Local copy of outputs into Module Outputs 15
5.3 Module Internal (Local) Functions 15
5.3.1 Module Internal (Local) Functions 15
6 Known Limitations with Design 19
Appendix A Abbreviations and Acronyms 21
Introduction
Refer the Design Subproject.
SnsrOffsLrng & High-Level Description
Refer the Design Subproject.
Design details of software module
Graphical representation of SnsrOffsLrng
Constant Data Dictionary
Program (fixed) Constants
Embedded Constants
Local Constants
Constant Name | Resolution | Units | Value |
---|---|---|---|
HWTQOFFSHILIM_HWNWTMTR_F32 | Single precision float | HwNwtMtr | 4 |
HWTQOFFSLOLIM_HWNWTMTR_F32 | Single precision float | HwNwtMtr | -4 |
VEHYAWRATEOFFSHILIM_VEHDEGPERSEC_F32 | Single precision float | VehDegPerSec | 20 |
VEHYAWRATEOFFSLOLIM_VEHDEGPERSEC_F32 | Single precision float | VehDegPerSec | -20 |
HWAGOFFSHILIM_HWDEG_F32 | Single precision float | HwDeg | -30 |
HWAGOFFSLOLIM_HWDEG_F32 | Single precision float | HwDeg | -30 |
MTRXSIZE_CNT_U08 | 1 | Cnt | 3 |
Software Component Implementation
Sub-Module Functions
Init: SnsrOffsLrngInit1
Design Rationale
Refer the Design.
Module Outputs
Refer the Design.
Per: SnsrOffsLrngPer1
Design Rationale
Refer the Design.
Store Module Inputs to Local copies
Refer the Design.
(Processing of function)………
Refer the Design.
Store Local copy of outputs into Module Outputs
Refer the Design.
Per: SnsrOffsLrngPer2
Design Rationale
Refer the Design.
Store Module Inputs to Local copies
Refer the Design.
(Processing of function)………
Refer the Design.
Store Local copy of outputs into Module Outputs
Refer the Design.
Server Runables
SnsrOffsLrng_RstHwTq
Design Rationale
Refer the Design.
Store Module Inputs to Local copies
Refer the Design.
(Processing of function)………
Refer the Design.
Store Local copy of outputs into Module Outputs
Refer the Design.
SnsrOffsLrng_RstYawAndAg
Design Rationale
Refer the Design.
Store Module Inputs to Local copies
Refer the Design.
(Processing of function)………
Refer the Design.
Store Local copy of outputs into Module Outputs
Refer the Design.
SnsrOffsLrng_SetHwAgOffs
Design Rationale
Refer the Design.
Store Module Inputs to Local copies
Refer the Design.
(Processing of function)………
Refer the Design.
Store Local copy of outputs into Module Outputs
Refer the Design.
SnsrOffsLrng_GetHwAgOffs
Design Rationale
Refer the Design.
Store Module Inputs to Local copies
Refer the Design.
(Processing of function)………
Refer the Design.
Store Local copy of outputs into Module Outputs
Refer the Design.
SnsrOffsLrng_SetHwTqOffs
Design Rationale
Refer the Design.
Store Module Inputs to Local copies
Refer the Design.
(Processing of function)………
Refer the Design.
Store Local copy of outputs into Module Outputs
Refer the Design.
SnsrOffsLrng_GetHwTqOffs
Design Rationale
Refer the Design.
Store Module Inputs to Local copies
Refer the Design.
(Processing of function)………
Refer the Design.
Store Local copy of outputs into Module Outputs
Refer the Design.
SnsrOffsLrng_SetYawRateOffs
Design Rationale
Refer the Design.
Store Module Inputs to Local copies
Refer the Design.
(Processing of function)………
Refer the Design.
Store Local copy of outputs into Module Outputs
Refer the Design.
SnsrOffsLrng_GetYawRateOffs
Design Rationale
Refer the Design.
Store Module Inputs to Local copies
Refer the Design.
(Processing of function)………
Refer the Design.
Store Local copy of outputs into Module Outputs
Refer the Design.
Module Internal (Local) Functions
Module Internal (Local) Functions
Calculate LearnHwAg
Function Name | LearnHwAg | Type | Min | Max | UTP Tol. |
Arguments Passed | HwAgLrngLrngCdnVld_Cnt_T_logl | Boolean | FALSE | TRUE | |
HwAgLrngEna_Cnt_T_logl | Boolean | FALSE | TRUE | ||
SysTqFild_HwNm_T_f32 | float32 | -8.8 | 8.8 | ||
HandwheelPosition_HwDeg_T_f32 | float32 | -1440 | 1440 | ||
Return Value | None |
Description
No flowchart added. For Unit test FDD should provide the information needed regarding function processing
Calculate SOaCHierarchyManager
Function Name | SOaCHierarchyManager | Type | Min | Max | UTP Tol. |
Arguments Passed | *EnableYOC_Cnt_T_logl | Boolean | FALSE | TRUE | |
*HwAgLrngEna_Cnt_T_logl | Boolean | FALSE | TRUE | ||
*HwAgLrngRst_Cnt_T_logl | Boolean | FALSE | TRUE | ||
Return Value |
Description
No flowchart added. For Unit test FDD should provide the information needed regarding function processing
Calculate Perform_TqInpDetn
Function Name | Perform_TqInpDetn | Type | Min | Max | UTP Tol. |
Arguments Passed | None | ||||
Return Value |
Description
No flowchart added. For Unit test FDD should provide the information needed regarding function processing
Calculate EnableLearning
Function Name | EnableLearning | Type | Min | Max | UTP Tol. |
Arguments Passed | |||||
Return Value | HwTqLrngEna_Cnt_T_logl | Boolean | FALSE | TRUE |
Description
No flowchart added. For Unit test FDD should provide the information needed regarding function processing
Calculate CalculateKVector
Function Name | CalculateKVector | Type | Min | Max | UTP Tol. |
Arguments Passed | TqMdlXAry_HwRadpS_T_f32[3] | float32 | -42 | 42 | |
KVect_Uls_T_f32[3] | float32 | -42 | 42 | ||
Return Value |
Description
No flowchart added. For Unit test FDD should provide the information needed regarding function processing
Calculate EnablePreProcessing
Function Name | EnablePreProcessing | Type | Min | Max | UTP Tol. |
Arguments Passed | HwTqPreproc_dB_T_f32 | float32 | -100 | 30 | |
SampleCntrLim_Cnt_T_u16 | Uint16 | 1 | 65535 | ||
TqInpPrsntVld_Cnt_T_logl | Boolean | FALSE | TRUE | ||
TqInpPrsnt_Cnt_T_logl | Boolean | FALSE | TRUE | ||
Return Value |
Description
No flowchart added. For Unit test FDD should provide the information needed regarding function processing
Calculate UpdateCovarianceMatrix
Function Name | UpdateCovarianceMatrix | Type | Min | Max | UTP Tol. |
Arguments Passed | TqMdlXAry_HwRadpS_T_f32[3] | float32 | -42 | 42 | |
KVect_Uls_T_f32[3] | float32 | -42 | 42 | ||
Return Value |
Description
No flowchart added. For Unit test FDD should provide the information needed regarding function processing
TblSize_Cnt_T_u16 is size of the single dimension of TqMdlAryKVect_Uls_T_f32.
Calculate UpdateHwTqOffs
Function Name | UpdateHwTqOffs | Type | Min | Max | UTP Tol. |
Arguments Passed | HwTqEstimnVld_Cnt_T_logl | boolean | FALSE | TRUE | |
HwTqDriftEstimnOnCentr_HwNm_T_f32 | float32 | -10 | 10 | ||
Return Value | None |
Description
No flowchart added. For Unit test FDD should provide the information needed regarding function processing
Calculate UpdateSampleCnt
Function Name | UpdateSampleCnt | Type | Min | Max | UTP Tol. |
Arguments Passed | HwAgMeasd_HwDeg_T_f32 | float32 | -1440 | 1440 | |
Return Value | None |
Description
No flowchart added. For Unit test FDD should provide the information needed regarding function processing
Known Limitations with Design
The service SetRamblockStatus is used instead Per Instance memory “SetRamBlkSts “ as there is no concept of transition function in EA4. So SetRamblockStatus() is called and set to true whenever SetRamBlkSts PIM is made as True.
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.01 |
3 | Software Naming Conventions.doc | 1.0 |
4 | Software Design and Coding Standards.doc | 2.0 |
5 | SF051A_SnsrOffsLrng_Design | See the synergy sub-project version included. |
3 - SnsrOffLrng_ReviewChecklists
Overview
Summary SheetSynergy Project
Davinci Files
Source Code
MDD
PolySpace
Sheet 1: Summary Sheet

Sheet 2: Synergy Project
Sheet 3: Davinci Files
Sheet 4: Source Code
Rev 1.2 | 8-Jun-15 | |||||||||||||||||||||||
Peer Review Meeting Log (Source Code Review) | ||||||||||||||||||||||||
Source File Name: | SnsrOffsLrng.c | Source File Revision: | 4 | |||||||||||||||||||||
Header File Name: | Header File Revision: | |||||||||||||||||||||||
MDD Name: | SnsrOffsLrng_MDD.docx | Revision: | 3 | |||||||||||||||||||||
FDD/SCIR/DSR/FDR/CM Name: | SF051A_SnsrOffsLrng_Design | Revision: | 1.4.0 | |||||||||||||||||||||
Quality Check Items: | ||||||||||||||||||||||||
Rationale is required for all answers of No | ||||||||||||||||||||||||
Working EA4 Software Naming Convention followed: | ||||||||||||||||||||||||
for variable names | Yes | Comments: | ||||||||||||||||||||||
for constant names | N/A | Comments: | ||||||||||||||||||||||
for function names | N/A | Comments: | ||||||||||||||||||||||
for other names (component, memory | N/A | Comments: | ||||||||||||||||||||||
mapping handles, typedefs, etc.) | ||||||||||||||||||||||||
All paths assign a value to outputs, ensuring | N/A | Comments: | ||||||||||||||||||||||
all outputs are initialized prior to being written | ||||||||||||||||||||||||
Requirements Tracability tags in code match the requirements tracability in the FDD | Yes | Comments: | ||||||||||||||||||||||
requirements tracability in the FDD | ||||||||||||||||||||||||
All variables are declared at the function level. | Yes | Comments: | ||||||||||||||||||||||
Synergy version matches change history | Yes | Comments: | ||||||||||||||||||||||
and Version Control version in file comment block | ||||||||||||||||||||||||
Change log contains detailed description of changes | Yes | Comments: | ||||||||||||||||||||||
and Work CR number | ||||||||||||||||||||||||
Code accurately implements FDD (Document or Model) | Yes | Comments: | ||||||||||||||||||||||
Verified no Compiler Errors or Warnings | Yes | Comments: | ||||||||||||||||||||||
Component.h is included | N/A | Comments: | ||||||||||||||||||||||
All other includes are actually needed. (System includes | N/A | Comments: | ||||||||||||||||||||||
only allowed in Nexteer library components) | ||||||||||||||||||||||||
Software Design and Coding Standards followed: | Version: 2.1 | |||||||||||||||||||||||
Code comments are clear, correct, and adequate | Yes | Comments: | ||||||||||||||||||||||
and have been updated for the change: [N40] and | ||||||||||||||||||||||||
all other rules in the same section as rule [N40], | ||||||||||||||||||||||||
plus [N75], [N12], [N23], [N33], [N37], [N38], | ||||||||||||||||||||||||
[N48], [N54], [N77], [N79], [N72] | ||||||||||||||||||||||||
Source file (.c and .h) comment blocks are per | Yes | Comments: | ||||||||||||||||||||||
standards and contain correct information: [N41], [N42] | ||||||||||||||||||||||||
Function comment blocks are per standards and | N/A | Comments: | ||||||||||||||||||||||
contain correct information: [N43] | ||||||||||||||||||||||||
Code formatting (indentation, placement of | Yes | Comments: | ||||||||||||||||||||||
braces, etc.) is per standards: [N5], [N55], [N56], | ||||||||||||||||||||||||
[N57], [N58], [N59] | ||||||||||||||||||||||||
Embedded constants used per standards; no | N/A | Comments: | ||||||||||||||||||||||
"magic numbers": [N12] | ||||||||||||||||||||||||
Memory mapping for non-RTE code | N/A | Comments: | ||||||||||||||||||||||
is per standard | ||||||||||||||||||||||||
All execution-order-dependent code can be | Yes | Comments: | ||||||||||||||||||||||
recognized by the compiler: [N80] | ||||||||||||||||||||||||
All loops have termination conditions that ensure | N/A | Comments: | ||||||||||||||||||||||
finite loop iterations: [N63] | ||||||||||||||||||||||||
All divides protect against divide by zero | N/A | Comments: | ||||||||||||||||||||||
if needed: [N65] | ||||||||||||||||||||||||
All integer division and modulus operations | N/A | Comments: | ||||||||||||||||||||||
handle negative numbers correctly: [N76] | ||||||||||||||||||||||||
All typecasting and fixed point arithmetic, | Yes | Comments: | ||||||||||||||||||||||
including all use of fixed point macros and | ||||||||||||||||||||||||
timer functions, is correct and has no possibility | ||||||||||||||||||||||||
of unintended overflow or underflow: [N66] | ||||||||||||||||||||||||
All float-to-unsiged conversions ensure the. | N/A | Comments: | ||||||||||||||||||||||
float value is non-negative: [N67] | ||||||||||||||||||||||||
All conversions between signed and unsigned | N/A | Comments: | ||||||||||||||||||||||
types handle msb==1 as intended: [N78] | ||||||||||||||||||||||||
All pointer dereferencing protects against | N/A | Comments: | ||||||||||||||||||||||
null pointer if needed: [N70] | ||||||||||||||||||||||||
Component outputs are limited to the legal range | N/A | Comments: | ||||||||||||||||||||||
defined in the FDD DataDict.m file : [N53] | ||||||||||||||||||||||||
All code is mapped with FDD (all FDD | Yes | Comments: | ||||||||||||||||||||||
subfunctions and/or model blocks identified | ||||||||||||||||||||||||
with code comments; all code corresponds to | ||||||||||||||||||||||||
some FDD subfunction and/or model block): [N40] | ||||||||||||||||||||||||
Review did not identify violations of other | Yes | Comments: | ||||||||||||||||||||||
coding standard rules | ||||||||||||||||||||||||
Anomaly or Design Work CR created | N/A | Comments: List Anomaly or CR numbers | ||||||||||||||||||||||
for any FDD corrections needed | ||||||||||||||||||||||||
General Notes / Comments: | ||||||||||||||||||||||||
Change Owner: | Nick Saxton | Review Date : | 08/18/16 | |||||||||||||||||||||
Lead Peer Reviewer: | Krishna Anne | Approved by Reviewer(s): | Yes | |||||||||||||||||||||
Other Reviewer(s): | ||||||||||||||||||||||||
Sheet 5: MDD
Sheet 6: PolySpace
4 - SnsrOffsLrng_IntegrationManual
Integration Manual
For
SnsrOffsLrng
VERSION: 1
DATE: 07-Mar-2016
Prepared By:
Krishna Anne
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 | S. Sengottaiyan | 1.0 | 07-Feb-2016 |
2 | Updated as per FDD v 1.2.0 | Krishna Anne | 2.0 | 07-Mar-2016 |
Table of Contents
3.2 Global Functions(Non RTE) to be provided to Integration Project 6
4.2 Global Functions(Non RTE) to be provided to Integration Project 7
5 Configuration REQUIREMeNTS 8
5.2 Configuration Files to be provided by Integration Project 8
5.3 Da Vinci Parameter Configuration Changes 8
5.4 DaVinci Interrupt Configuration Changes 8
5.5 Manual Configuration Changes 8
6 Integration DATAFLOW REQUIREMENTS 9
6.1 Required Global Data Inputs 9
6.2 Required Global Data Outputs 9
6.3 Specific Include Path present 9
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 – SF51_SnsrOffsLrng_Impl | See Synergy subproject version |
2 | Software Naming Conventions | Process 04.02.01 |
3 | Software Coding Standards | Process 04.02.01 |
Dependencies
SWCs
Module | Required Feature |
None |
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
< Global function (except the ones that are defined in RTE modules) that is defined in this component but used by other function
Dependencies
SWCs
Module | Required Feature |
None |
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 | |
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 .m file
Required Global Data Outputs
Refer .m file
Specific Include Path present
No
Runnable Scheduling
This section specifies the required runnable scheduling.
Init | Scheduling Requirements | Trigger |
SnsrOffsLrngInit1 | None | Rte |
Runnable | Scheduling Requirements | Trigger | ||
SnsrOffsLrngPer1 | None | RTE(2ms) | ||
SnsrOffsLrngPer2 | None | RTE(10ms) | ||
RstHwTq | None | On server invocation call | ||
RstYawAndAg | None | On server invocation call | ||
SetHwAgOffs | None | On server invocation call | ||
SetHwTqOffs | None | On server invocation call | ||
SetYawRateOffs | None | On server invocation call | ||
GetHwAgOffs | None | On server invocation call | ||
GetHwTqOffs | None | On server invocation call | ||
GetYawRateOffs | None | On server invocation call |
.
Memory Map REQUIREMENTS
Mapping
Memory Section | Contents | Notes |
* 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
RTE NvM Blocks
Block Name |
SnsrOffsLrnd |
Compiler Settings
Preprocessor MACRO
None
Optimization Settings
None
Appendix
None