Controler Temperature
Component Documentation
- Controller_Temperature_MDD.html
- CtrlTemp_Design_Review.html
- CtrlTemp_Integration_Manual.html
- Data Dictionary.html
This is the multi-page printable view of this section. Click here to print.
This module monitors the controller’s temperature sensor output, filters that output, and checks whether the output is within a lower and upper limit.
This diagram shows all data that is shared between functions within the module.
For details on module input / output variable, refer to the Data Dictionary for the application. Input / output variable names are listed here for reference.
(Note: Full variable names required in table.)
(Note: All global variables including End Of Line data used should be shown here)
Module Inputs (Global Variable Name) | Module Outputs (Global Variable Name) |
---|---|
DiagStsTempRdPrf_Cnt_lgc | FiltMeasTemp_DegC_f32 |
TemperatureADC_Volt_f32 | |
AmbTemp_DegC_f32 |
This section identifies the name, range and resolutions for module specific data created by this module. If there are no range restrictions on the variable, the term “FULL” is placed into the table for legal range.
(Note: If no module specific variables are used by the design, place the text “None” in the first Variable Name cell in the table)
Variable Name | Resolution | Legal Range (min) | Legal Range (max) | Software Segment |
---|---|---|---|---|
CtrlTemp_CtrlTempSV_M_str | LPF32KSV_Str | see data dictionary | see data dictionary | CTRLTEMP_START_SEC_VAR_CLEARED_UNSPECIFIED |
CtrlTemp_CtrlTempSV_M_str .K_Uls_f32 | Single Precision Floating Point | see data dictionary | see data dictionary | |
CtrlTemp_CtrlTempSV_M_str .SV_Uls_f32 | Single Precision Floating Point | see data dictionary | see data dictionary | |
CtrlTemp_CtrlTemp_DegC_M_f32 | Single Precision Floating Point | see data dictionary | see data dictionary | CTRLTEMP_START_SEC_VAR_CLEARED_32 |
CtrlTemp_CtrlTempErrorAcc_Cnt_M_u16 | 1 | see data dictionary | see data dictionary | CTRLTEMP_START_SEC_VAR_CLEARED_16 |
CtrlTemp_CtrlTempFiltOut_DegC_D_f32 | Single Precision Floating Point | see data dictionary | see data dictionary | CTRLTEMP_START_SEC_VAR_CLEARED_32 |
This section documents any user types uniquely used for the module.
Variable Name | Typedef Name | Storage Type | Safety Critical Classification |
---|---|---|---|
None |
This section lists the calibrations used by the module. For details on calibration constants, refer to the Data Dictionary for the application.
(Note: If no calibrations are used by the design, place the text “None” in the first location in the table)
Constant Name |
---|
k_TempSnsrFiltDft_Cnt_lgc |
k_TempSnsrLPFKn_Hz_f32 |
k_TempSnsrDefVal_DegC_f32 |
k_TempSensDiag_Cnt_str |
k_TempSensLowLimit_DegC_f32 |
k_TempSensHighLimit_DegC_f32 |
k_TempSnsrScaling_DegpVolt_f32 |
k_TempSnsrOffset_Volts_f32 |
k_CustDiagAmbLowThresh_DegC_f32 |
k_CustDiagAmbLowEnable_Cnt_lgc |
All embedded constants whose values are provided in Eng units will be evaluated to the equivalent counts by using the FPM_InitFixedPoint_m() macro within the #define statement.
Constant Name | Resolution | Value |
---|---|---|
D_CTRLTEMPLOLMT_DEGC_F32 | Single Precision Floating Point | -50.0 |
D_CTRLTEMPHILMT_DEGC_F32 | Single Precision Floating Point | 150.0 |
This section lists the global constants used by the module. For details on global constants, refer to the Data Dictionary for the application.
Constant Name |
---|
D_2MS_SEC_F32 |
D_ZERO_ULS_F32 |
D_FALSE_CNT_LGC |
(This is for lookup tables (arrays) with fixed values, same name as other tables)
Constant Name | Resolution | Value | Software Segment |
---|---|---|---|
The library functions / Macros that are called by the various sub modules are identified below,
LPF_Init_f32_m
LPF_OpUpdate_f32_m ()
Limit_m()
DiagPStep_m
DiagNStep_m
DiagFailed_m
The data hiding functions / macros used in this module are identified below,
None
None
None
TempADC_Volts_T_f32 = Rte_IRead_CtrlTemp_Init1_TemperatureADC_Volt_f32()
CtrlTemp_DegC_T_f32 = (TempADC_Volts_T_f32 – k_TempSnsrOffset_Volts_f32) * k_TempSnsrScaling_DegpVolt_f32
CtrlTemp_CtrlTemp_DegC_M_f32 = Limit_m(CtrlTemp_DegC_T_f32, D_CTRLTEMPLOLMT_DEGC_F32, D_CTRLTEMPHILMT_DEGC_F32)
CtrlLPF_Init_f32_m(CtrlTemp_CtrlTemp_DegC_M_f32, k_TempSnsrLPFKn_Hz_f32, D_2MS_SEC_F32, & CtrlTemp_CtrlTempSV_M_str)
Rte_IWrite_CtrlTemp_Init1_FiltMeasTemp_DegC_f32 (CtrlTemp_CtrlTemp_DegC_M_f32)
None
DiagStsTempRdPrf_Cnt_T_lgc = Rte_Iread_CtrlTemp_Per1_DiagStsTempRdPrf_Cnt_lgc();
TempADC_Volts_T_f32 = Rte_Iread_CtrlTemp_Per1_TemperatureADC_Volt_f32()
CtrlTemp_DegC_T_f32 = (TempADC_Volts_T_f32 – k_TempSnsrOffset_Volts_f32) * k_TempSnsrScaling_DegpVolt_f32
CtrlTemp_DegC_T_f32 = Limit_m(CtrlTemp_DegC_T_f32, D_CTRLTEMPLOLMT_DEGC_F32, D_CTRLTEMPHILMT_DEGC_F32);
Rte_Iwrite_CtrlTemp_Per1_FiltMeasTemp_DegC_f32 (CtrlTemp_DegC_T_f32 );
Rte_Call_CtrlTemp_Per1_CP1_CheckpointReached()
None
Rte_Call_CtrlTemp_Per2_CP1_CheckpointReached()
None
None
None
None
None
This table serves as reference for the Scheduler design
Function Name | Task List | Calling Frequency | System State(s) in which the function is called |
---|---|---|---|
CtrlTemp_Init1() | Once | Once after RTE is started | |
CtrlTemp_Per1() | 2ms | All | |
CtrlTemp_Per2() | 100ms | All |
Function Name | Sub-Module called by (Serial Comm Function Name) |
---|---|
None |
This table identifies the software segments for functions identified in this module.
Name of Sub Module | Software Segment |
---|---|
CtrlTem_Init1() | RTE_SA_CTRLTEMP_APPL_CODE |
CtrlTem_Per1() | RTE_SA_CTRLTEMP_APPL_CODE |
CtrlTem_Per2() | RTE_SA_CTRLTEMP_APPL_CODE |
This table identifies the software segments for local functions identified in this module.
Name of Sub Module | Software Segment |
---|---|
None |
None
Item # | Rev # | Change Description | Date | Author Initials |
1 | 1.0 | Initial release | 18MAY11 | SAH |
2 | 2.0 | Added Reduced Performace temperature selecture per #SF-6 001 | 02DEC11 | M. Story |
3 | 3.0 | Anomaly 2995 Limits not set correctly | 29FEB12 | M. Story |
4 | 4.0 | Anomaly 2994 use CntrlTemp_DegC_T_f32 temporary variable internal to the Per1 function | 03MAR12 | M. Story |
5 | 5.0 | Updated component to FDD SF-06 revision 4 | 16May12 | KJS |
6 | 6.0 | Updated floating point filter structure with K and SV ranges | 12Jun12 | KJS |
7 | 7.0 | Anomaly 3505 Use output from LPF for diagnostics. | 23Aug12 | Srikanth |
8 | 8.0 | Added watchdog checkpoints. | 16 Sept 12 | BWL |
9 | 9.0 | Added “Variables” missing from Module internal variable and their software segment | 18 sep 12 | SSK |
10 | 10.0 | Changed local constants to calibration to facilate the use of different temperature sensors. | ||
11 | 11.0 | Corrected naming conventions of new conversion calibrations. | 08Nov12 | LN |
12 | 12.0 | Corrected anomaly 4541 | 06Apr13 | KJS |
13 | 13.0 | Changed conditions on diagnostic per FDD SF—06 ver007; updated module and display variable names per naming conventions; updated temporary variable names for clarity; added missing section 5 and updated numbering on remaining sections | 17-Sep-13 | KMC |
Rev 2.0 | 26-Aug-13 | |||||||||||||||||||||||
Peer Review Meeting Log (Source Code Review) | ||||||||||||||||||||||||
Source File Name: | Source File Revision: | |||||||||||||||||||||||
Module Design Document Name: | MDD Revision: | |||||||||||||||||||||||
Data Dictionary Revision: | ||||||||||||||||||||||||
Quality Check Items: | ||||||||||||||||||||||||
Yes | No | Rationale is required for all answers of No | ||||||||||||||||||||||
Pre-review checklist (change owners only) | Analysis performed for divide by zero | X | Comments: | |||||||||||||||||||||
Software Design and Coding Standard followed | X | Comments: | as checked by QAC | |||||||||||||||||||||
Software Naming Convention followed | X | Comments: | ||||||||||||||||||||||
All buffered outputs are written in every path | X | Comments: | ||||||||||||||||||||||
Group-review Checklist (review board) | Telelogic Synergy version matches header | X | Comments: | |||||||||||||||||||||
Change log contains detailed description of changes | X | Comments: | ||||||||||||||||||||||
Code compared vs requirements (Document or Model) | X | Comments: | compared change only | |||||||||||||||||||||
Global Outputs (RTE/Non-RTE) Initialized | X | Comments: | ||||||||||||||||||||||
Global Outputs are limited to the legal range defined | X | Comments: | N/A for this change | |||||||||||||||||||||
in the FDD Data dictionary | ||||||||||||||||||||||||
No Compiler Errors verified | X | Comments: | ||||||||||||||||||||||
Type Casting and Fix Point Macros use reviewed | X | Comments: | N/A for this change | |||||||||||||||||||||
Function prototype and passed parameters are | X | Comments: | ||||||||||||||||||||||
consistent | ||||||||||||||||||||||||
General Notes / Comments: | ||||||||||||||||||||||||
Change Owner: | Kathleen Creager | Review Date : | 09/23/13 | Group Review Level: | DR4 | |||||||||||||||||||
Lead Peer Reviewer: | Selva Sengottaiyan | Approved by Reviewer(s): | Yes | |||||||||||||||||||||
Other Reviewer(s): | ||||||||||||||||||||||||
Rev 2.0 | 26-Aug-13 | |||||||||||||||||||||||
Peer Review Meeting Log (QAC Review) | ||||||||||||||||||||||||
Module Name: | Source File Revision: | 17 | Module | 1 | of | 1 | ||||||||||||||||||
Compliance Document Version: | unreleased | |||||||||||||||||||||||
Quality Check Items: | ||||||||||||||||||||||||
Yes | No | Rationale is required for all answers of No | ||||||||||||||||||||||
Pre-review checklist for change owners | QAC version is correct and did not change (List version) | X | Comments: | QAC_6 | ||||||||||||||||||||
Contract Folder's header files are appropriate | X | Comments: | ||||||||||||||||||||||
G Group-review Checklist (review board) | 100% Compliance to the MISRA Compliance Document | X | Comments: | |||||||||||||||||||||
General Notes / Comments: | ||||||||||||||||||||||||
Change Owner: | Kathleen Creager | Review Date : | 09/23/13 | Group Review Level: | DR4 | |||||||||||||||||||
Lead Peer Reviewer: | Selva Sengottaiyan | Approved by Reviewer(s): | Yes | |||||||||||||||||||||
Other Reviewer(s): | ||||||||||||||||||||||||
1.2 Functions to be provided to Integration Project 2
2.2 Configuration Files to be provided by Integration Project 3
2.2.1 Da Vinci Config generation 3
2.2.2 Manual Configuration Changes 3
3.1 Required Global Data Inputs 4
3.2 Optional Global Data Inputs 4
3.3 Specific Include Path present 4
Module | Required Feature |
---|---|
None |
Note : Referencing the external components should be avoided in most cases. Only in unavoidable circumstance external components should be refered. Developer should track the references.
None
Modules | Notes | |
---|---|---|
None |
Sa_CtrlTemp_Cfg.h generated by Sa_CtrlTemp_Cfg.h.tt
Parameter | Notes | SWC |
---|---|---|
CtrlTempGeneral/CtrlTempCPEnable | To enable checkpoints | CtrlTemp |
ISR Name | VIM # | Priority Dependency | Notes |
---|---|---|---|
None |
Constant | Notes | SWC |
---|---|---|
None |
TemperatureADC_Volt_f32
DiagStsTempRdPrf_Cnt_lgc
AmbTemp_DegC_f32
FiltMeasTemp_DegC_f32
No
This section specifies the required runnable scheduling.
Init | Scheduling Requirements | Trigger |
---|---|---|
CtrlTemp_Init1 | Called from RTE before any call to the periodic functions | RTE init |
Runnable | Scheduling Requirements | Trigger |
---|---|---|
CtrlTemp_Per1 | None | RTE 2ms |
CtrlTemp_Per2 | None | RTE 100ms |
.
Memory Section | Contents | Notes |
---|---|---|
CTRLTEMP_START_SEC_VAR_CLEARED_32 | ||
CTRLTEMP_START_SEC_VAR_CLEARED_16 | ||
CTRLTEMP_START_SEC_VAR_CLEARED_UNSPECIFIED | ||
RTE_START_SEC_SA_CTRLTEMP_APPL_CODE |
* Each …START_SEC… constant is terminated by a …STOP_SEC… constant as specified in the AUTOSAR Memory Mapping requirements.
Feature | RAM | ROM |
---|---|---|
<Memmap usuage info> |
Block Name |
---|
<NVM block used Non RTE functions > |
Note : Size of the NVM block if configured in developer
Block Name |
---|
<NVM block used in RTE functions > |
Note : Size of the NVM block if configured in developer
<Define all the preprocessor Macros needed and conditions when needed>.
<Define Optimization levels that are needed and conditions when needed>.
Rev # | Change Description | Date | Author |
1 | Initial version | 17-Sep-13 | KMC |
CtrlTemp - Rev 14 | <- Global Program / Module Name | ||||||
Revision | Author | Date | Change Description | Data Dictionary Type: | Component | ||
1.0 | M. Story | 5-Dec-11 | Initial version | ||||
2 | M. Story | 4-Jan-12 | Corrected AbsTempDiag to be structure & Added M variables | ||||
3 | M. Story | 5-Jan-12 | Added NTC_STATUS Constants | ||||
4 | OT | 9-Jan-12 | Updated Template (v3.1) | ||||
5 | OT | 18-Jan-12 | Updated Template (Graph Settings) | ||||
6 | OT | 19-Jan-12 | Fixed Syntax Errors | ||||
7 | M. Story | 29-Feb-12 | Corrected Ranges for Anomaly 2995 | ||||
8 | SH | 16-Mar-12 | Updated diag structure in data dictionary | ||||
9 | KJS | 16-May-12 | Updated calibrations to revision 4 of the SF-6 document. | ||||
10 | KJS | 12-Jun-12 | Updated resolution and tolerance for floating point filters SV and K | ||||
11 | AH | 15-Oct-12 | Added k_TEMPSNSROFF_VOLTS_F32 and k_TEMPSNSRSCALE_DEGPERVLT_F32 | ||||
12 | LN | 8-Nov-12 | Corrected naming conventions of new conversion calibrations | ||||
13 | NPH | 31-May-13 | FDD reference, software cal names: k_TempSensDiag_Cnt_str.NStep, k_TempSensDiag_Cnt_str.Pstep | ||||
14 | KMC | 16-Sep-13 | Added new input variable and two new calibrations; updated cal ranges and defaults and associated variable ranges and unit test tolerances; all per per FDD SF-06 v007 and per FDD data dictionary. | ||||
CtrlTemp - Rev 14 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Variable Information (Global Variables Only) | Achieved in Software Design | Used in Module List | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Layer 2 | Layer 3 | Layer 4 | Layer 5 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Constant Name | Description | Uints | Type | Engineering Value | ADC | ADC Diagnostics | Data Memory Verification | DC Link Power Control | DSP Computational Integrity | DSP SPI driver | Event Manager Driver | External Memory Driver | Flash Programming Exec | GPIO | Illegal OpCode Handler | Interrupt Handler | Motor Current Driver | Motor Driver Diagnostics | Motor Position Driver | Phase Feedback Capture | Powerdown Control | Primary Shutdown Control | Program Flow | Program Memory Diagnostic | PWM Duty Cycle | Redundant Memory Check | Redundant Rapid Shutdown | Scheduler | Stack Monitor | State Dependent Task List | System Boot & Startup | System Control | Temperature Sensor Diagnostic | Unused Interrupt Handler | Utilization Monitor | Watchdog Dirver | Smith | Battery Voltage | Battery Voltage Diagnostics | Diagnostic CTC Manager | Diagnostic Manager | Diagnostics Application Services | EOL TorqueTest | Flash Boot Loader | Flight Recorder | Handwheel Position | Handwheel Torque | Motor Control Output Conversion | Motor Position Diagnostics | Motor Position Initialization | Motor Velocity | Motor Velocity Tachometer | Serial Communications I/O | Serial Communications Services | States and Modes | Tuning Select | Vehicle Power Mode | Vehicle Speed | Controller Polarity | Current Estimation | Handwheel Velocity | Inverse Motor Model | Motor Temperature Estimation | Motor Torque Limit | Output Reasonableness Dianostic | Parameter Estimation | Quadrant and rate Detection | Active Pull Compensation | Assist | Damping | Duty Cycle | Kinematic Integrity Diagnostic | Long Term Vehicle Speed Diagnostic | Max Assist Limit | Return | State Output Control | Torque Output |
NTC_STATUS_FAILED | Cnt | uint16 | 1 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
NTC_STATUS_PASSED | Cnt | uint16 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
NTC_Num_Thermistor | Cnt | uint16 | 69 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
2.2a | Data File: | |||||
Header: | extern <TYPE><TAB><NAME>; | |||||
Source: | #pragma DATA_SECTION(<ROOTNAME>, "<SEGMENT>"); <TYPE> <NAME>; | |||||
EOL Constants: | ||||||
Header: | extern <TYPE><TAB><NAME>; | |||||
Source: | #pragma DATA_SECTION(<ROOTNAME>, "<SEGMENT>"); <TYPE> <NAME>; | |||||
Global (Embedded) Constants: | ||||||
Header: | #define <NAME><COL40><VALUE> | |||||
A2L Name | ||||||
Measurement: | rte_<SWC>_<NAME> | |||||
Calibration Constants: | ||||||
Tuning ID: | ||||||
Tuning: | N | Index Range: | ||||
Header: | extern CONST(<AUTOSAR_TYPE>, CAL_CONST) <NAME>; | |||||
Source: | #pragma DATA_SECTION(<ROOTNAME>, ".<SEGMENT>"); CONST(<AUTOSAR_TYPE>, CAL_CONST) <NAME> = <VALUE>; | |||||
eCal: | <NAME> | |||||
Tuning: | Y | Index Range: | ||||
Header: | <NONCRITICAL> #define <ROOTNAME><TAB>k_N_CalNC_Cnt_Str.<ROOTNAME> <NONCRITICAL> <SAFETYCRITICAL> #define <ROOTNAME><TAB>k_S_CalSC_Cnt_Str.<ROOTNAME> <SAFETYCRITICAL> | |||||
Source: | ||||||
eCal: | <NONCRITICAL> k_N_CalNC_Cnt_Str.<ROOTNAME> <NONCRITICAL> <SAFETYCRITICAL> k_S_CalSC_Cnt_Str.<ROOTNAME> <SAFETYCRITICAL> | |||||
Tuning: | P | Index Range: | ||||
Header: | <NONCRITICAL> #define <ROOTNAME><TAB>k_N_CalNC_Cnt_Str.Personality[L3_S_CalPersSelect_Cnt_G_u16].<ROOTNAME> <NONCRITICAL> <SAFETYCRITICAL> #define <ROOTNAME><TAB>k_S_CalSC_Cnt_Str.SC_Personality[L3_S_CalPersSelect_Cnt_G_u16].<ROOTNAME> <SAFETYCRITICAL> | |||||
Source: | ||||||
eCal: | <NONCRITICAL> k_N_CalNC_Cnt_Str.Personality[L3_S_CalPersSelect_Cnt_G_u16].<ROOTNAME> <NONCRITICAL> <SAFETYCRITICAL> k_S_CalSC_Cnt_Str.SC_Personality[L3_S_CalPersSelect_Cnt_G_u16].<ROOTNAME> <SAFETYCRITICAL> | |||||
Short cut | Macro | Sescription |
Ctrl-q | ClearDataDictFilter | Will clear all autofilters on the Global Data Dictionary |
DFD_Create | Creates a Series of Data Flow Worksheet Pages from the information in the data dictionary. If Data Flow Worksheet pages already exist, they will be deleted first. | |
DFD_Delete | Will clear all Data Flow Diagram pages from the Data Dictionary. This will make the file smaller for archiving. | |
DFD_Print | Formate and prepares to print the Data Flow Worksheet pages. |
1.0a | |||||
Nexteer EPS Unit Test Tool | |||||
Rev:2.7b | |||||
Name of Tester: | Raghav Tripathi | ||||
Code File(s) Under Test: | Sa_CtrlTemp.c | ||||
Code File(s) Version: | 16 | ||||
Module Design Document: | Controller_Temperature_MDD | ||||
Module Design Document Version: | 12 | ||||
Unit Test Plan Version: | 6 (Synergy version is 7) | ||||
Optimization Level: | Level 2 | ||||
Compiler (CodeGen) Version: | TMS470_4.9.5 | ||||
Model Type: | Excel Macro | ||||
Model Version: | |||||
Special Test Requirements: | |||||
Test Date: | 4/12/2012 | ||||
Comments: | NOTE 1: Inline functions defined in GlobalMacro.h are not unit tested. | ||||
Index of Tests: | |||||
Test Set up | Test Worksheets | Test Status | Run TS | ||
CtrlTemp_Init1 | CtrlTemp_Init1() B | -- | -- | 20 | |
CtrlTemp_Per1 | CtrlTemp_Per1() P | -- | -- | 3 | |
28 | CtrlTemp_Per1() B | -- | -- | 28 | |
CtrlTemp_Per2 | CtrlTemp_Per2() B | -- | -- | 29 | |
5 | CtrlTemp_Per2() P | -- | -- | 5 | |
![]() | |||||||||||
Nexteer EPS Unit Test Tool | |||||||||||
Rev:2.7a | |||||||||||
Module Definitions | |||||||||||
Module Test Functions | Module Set/Read Variables | Module Function Stubs | |||||||||
Return Type | Name | Parameter Prototype | Scope | Type | Name | Default Value | Return Type | Name | Parameter Prototype | ||
void | CtrlTemp_Init1 | (void) | G | float | FiltMeasTemp_DegC_f32 | void | Call_NxtrDiagMgr_SetNTCStatus | (void) | |||
void | CtrlTemp_Per1 | (void) | M | float | CtrlTemp_DegC_M_f32 | void | Rte_Call_CtrlTemp_Per1_CP0_CheckpointReached | (void) | |||
void | CtrlTemp_Per2 | (void) | G | Boolean | DiagStsTempRdPrf_Cnt_lgc | void | Rte_Call_CtrlTemp_Per1_CP1_CheckpointReached | (void) | |||
G | float | TemperatureADC_Volt_f32 | void | Rte_Call_CtrlTemp_Per2_CP0_CheckpointReached | (void) | ||||||
M | Uint16 | CtrlTempErrorAcc_Cnt_M_u16 | void | Rte_Call_CtrlTemp_Per2_CP1_CheckpointReached | (void) | ||||||
G | Uint8 | Ip_NTC | |||||||||
G | Uint8 | Ip_Param | |||||||||
G | Uint8 | Ip_Status | |||||||||
G | BOOLEAN | k_TempSnsrFiltDft_Cnt_lgc | |||||||||
G | float | k_TempSnsrLPFKn_Hz_f32 | |||||||||
G | float | k_TempSnsrDefVal_DegC_f32 | |||||||||
G | float | k_TempSensLowLimit_DegC_f32 | |||||||||
G | float | k_TempSensHighLimit_DegC_f32 | |||||||||
G | DiagSettings_Str.Uint16 | k_TempSensDiag_Cnt_str.Threshold | |||||||||
G | DiagSettings_Str.Uint16 | k_TempSensDiag_Cnt_str.Pstep | |||||||||
G | DiagSettings_Str.Uint16 | k_TempSensDiag_Cnt_str.Nstep | |||||||||
M | LPF32KSV_Str.float | CtrlTempSV_M_str.SV | |||||||||
M | LPF32KSV_Str.float | CtrlTempSV_M_str.K | |||||||||
M | float | CtrlTempFiltOut_DegC_D_f32 | |||||||||
G | float | k_TempSnsrOffset_Volts_f32 | |||||||||
G | float | k_TempSnsrScaling_DegpVolt_f32 | |||||||||
![]() | |||||||||||
Nexteer EPS Unit Test Tool | |||||||||||
Rev:2.7a | |||||||||||
Variable Range Definitions | |||||||||||
Variable Name | Max Value | Min Value | |||||||||
CtrlTempFinal_DegC_f32 | |||||||||||
CtrlTempSV_DegC_s9p22 | |||||||||||
CtrlTemp_DegC_f32 | |||||||||||
Rte_Call_CtrlTemp_CtrlTemp_V_f32 | |||||||||||
FiltMeasTemp_DegC_f32 | |||||||||||
CtrlTempSV_DegC_M_s9p22 | |||||||||||
CtrlTemp_DegC_M_f32 | |||||||||||
DiagStsTempRdPrf_Cnt_lgc | |||||||||||
TemperatureADC_Volt_f32 | |||||||||||
CntrlTempErrorAcc_Cnt_M_u16 | |||||||||||
CntrlTemp_DegC_M_f32 | |||||||||||
Ip_NTC | |||||||||||
Ip_Param | |||||||||||
Ip_Status | |||||||||||
k_TempSnsrFiltDft_Cnt_lgc | |||||||||||
k_TempSnsrLPFKn_Cnt_u16 | |||||||||||
k_TempSnsrDefVal_DegC_f32 | |||||||||||
k_TempSensLowLimit_DegC_f32 | |||||||||||
k_TempSensHighLimit_DegC_f32 | |||||||||||
k_TempSensDiag_Cnt_str.Threshold | |||||||||||
k_TempSensDiag_Cnt_str.Pstep | |||||||||||
k_TempSensDiag_Cnt_str.Nstep | |||||||||||
k_TempSnsrLPFKn_Hz_f32 | |||||||||||
CtrlTempSV_M_str | |||||||||||
CtrlTempSV_M_str.SV_Uls_f32 | |||||||||||
CtrlTempSV_M_str.K_Uls_f32 | |||||||||||
CtrlTempFiltOut_DegC_D_f32 | |||||||||||
CtrlTempErrorAcc_Cnt_M_u16 | |||||||||||
k_TempSnsrOffset_Volts_f32 | |||||||||||
k_TempSnsrScaling_DegpVolt_f32 |
![]() | |||||
Nexteer EPS Unit Test Tool | |||||
Rev:2.7b | |||||
Test Setup | |||||
Number Of Calibrations | 0 | ||||
Number Of Calibration Sets | 0 | ||||
Calibration Sheet | |||||
Function(s) Under Test | Variables | Function Stubs | |||
Function Name | TestType | Test Vectors | Set | Read | Function Name |
CtrlTemp_Init1 | B | 20 | TemperatureADC_Volt_f32 | CtrlTemp_DegC_M_f32 | |
CtrlTemp_DegC_M_f32 | FiltMeasTemp_DegC_f32 | ||||
k_TempSnsrLPFKn_Hz_f32 | CtrlTempSV_M_str.K | ||||
k_TempSnsrOffset_Volts_f32 | |||||
k_TempSnsrScaling_DegpVolt_f32 |
CtrlTemp_Init1 | TS | -- | |||||||||||||
B | I/P1 | I/P2 | I/P | I/P | I/P | O/P | O/P | O/P | Expected O/P | Expected O/P | Expected O/P | Test Status | Perf. Metrics | Comments | |
Vector Number | Vector Description | TemperatureADC_Volt_f32 | CtrlTemp_DegC_M_f32 | k_TempSnsrLPFKn_Hz_f32 | k_TempSnsrOffset_Volts_f32 | k_TempSnsrScaling_DegpVolt_f32 | CtrlTemp_DegC_M_f32 | FiltMeasTemp_DegC_f32 | CtrlTempSV_M_str.K | CtrlTemp_DegC_M_f32 | FiltMeasTemp_DegC_f32 | CtrlTempSV_M_str.K | P/F | CPU Cycles | |
1 | TemperatureADC_Volt_f32 min | 0 | -20 | 0.0123 | 0.2 | 20 | -- | -- | -- | -4 | -4 | 0.000154554413792418 | -- | ||
2 | TemperatureADC_Volt_f32 max | 5 | 100 | 0.0144 | 0.4 | 50 | -- | -- | -- | 150 | 150 | 0.000180939365344912 | -- | ||
3 | TemperatureADC_Volt_f32 mid | 2 | 132 | 0.0158 | 0.6 | 60 | -- | -- | -- | 84 | 84 | 0.000198528946226961 | -- | ||
4 | CtrlTemp_DegC_M_f32min | 0 | -50 | 0.01 | 0 | 0 | -- | -- | -- | 0 | 0 | 0.000125655810790826 | -- | ||
5 | CtrlTemp_DegC_M_f32max | 3 | 150 | 0.01941 | 0.8 | 70 | -- | -- | -- | 150 | 150 | 0.000243883509205456 | -- | ||
6 | CtrlTemp_DegC_M_f32 zero | 4 | 0 | 0.021 | 0.3 | 89 | -- | -- | -- | 150 | 150 | 0.000263858965999897 | -- | ||
7 | CtrlTemp_DegC_M_f32 neg | 0 | -50 | 0.01 | 0 | 0 | -- | -- | -- | 0 | 0 | 0.000125655810790826 | -- | ||
8 | CtrlTemp_DegC_M_f32 pos | 2.5 | 123 | 0.0246 | 0.65 | 43 | -- | -- | -- | 79.5500030517578 | 79.5500030517578 | 0.000309084940518067 | -- | ||
9 | k_TempSnsrLPFKn_Hz_f32 = Min | 0 | -50 | 0.01 | 0 | 0 | -- | -- | -- | 0 | 0 | 0.000125655810790826 | -- | ||
10 | k_TempSnsrLPFKn_Hz_f32=Max | 2 | 2 | 1 | 0.98 | 50 | -- | -- | -- | 51 | 51 | 0.012487743476344 | -- | ||
11 | k_TempSnsrLPFKn_Hz_f32=Pos | 3 | 100 | 0.02991 | 0.43 | 60 | -- | -- | -- | 150 | 150 | 0.000375789518500036 | -- | ||
12 | k_TempSnsrOffset_Volts_f32==>Min | 2 | 12 | 0.0144 | 0 | 80 | -- | -- | -- | 150 | 150 | 0.000180939365344912 | -- | ||
13 | k_TempSnsrOffset_Volts_f32==>Max | 1 | 34 | 0.0158 | 1 | 70 | -- | -- | -- | 0 | 0 | 0.000198528946226961 | -- | ||
14 | k_TempSnsrOffset_Volts_f32==>Pos | 3 | 12 | 0.017 | 0.5 | 89 | -- | -- | -- | 150 | 150 | 0.000213605483543544 | -- | ||
15 | k_TempSnsrScaling_DegpVolt_f32==>Min | 3 | 45 | 0.01941 | 0.8 | 0 | -- | -- | -- | 0 | 0 | 0.000243883509205456 | -- | ||
16 | k_TempSnsrScaling_DegpVolt_f32==>Max | 2 | 56 | 0.021 | 0.8 | 200 | -- | -- | -- | 150 | 150 | 0.000263858965999897 | -- | ||
17 | k_TempSnsrScaling_DegpVolt_f32==>Pos | 1 | 34 | 0.022 | 0.3 | 100 | -- | -- | -- | 70 | 70 | 0.000276421941929117 | -- | ||
18 | CtrlTemp_DegC_M_f32 neg | 0 | -50 | 0.01 | 1 | 51 | -- | -- | -- | -50 | -50 | 0.000125655810790826 | -- | ||
19 | All min | 0 | -50 | 0.01 | 0 | 0 | -- | -- | -- | 0 | 0 | 0.000125655810790826 | -- | ||
20 | All max | 5 | 150 | 1 | 1 | 200 | -- | -- | -- | 150 | 150 | 0.012487743476344 | -- | ||
![]() | |||||
Nexteer EPS Unit Test Tool | |||||
Rev:2.7b | |||||
Test Setup | |||||
Number Of Calibrations | 0 | ||||
Number Of Calibration Sets | 0 | ||||
Calibration Sheet | |||||
Function(s) Under Test | Variables | Function Stubs | |||
Function Name | TestType | Test Vectors | Set | Read | Function Name |
CtrlTemp_Per1 | P | 3 | DiagStsTempRdPrf_Cnt_lgc | CtrlTemp_DegC_M_f32 | Rte_Call_CtrlTemp_Per1_CP0_CheckpointReached |
CtrlTemp_Per1 | B | 28 | TemperatureADC_Volt_f32 | FiltMeasTemp_DegC_f32 | Rte_Call_CtrlTemp_Per1_CP1_CheckpointReached |
k_TempSnsrFiltDft_Cnt_lgc | CtrlTempSV_M_str.SV | ||||
k_TempSnsrDefVal_DegC_f32 | |||||
CtrlTempSV_M_str.SV | |||||
CtrlTempSV_M_str.K | |||||
k_TempSnsrOffset_Volts_f32 | |||||
k_TempSnsrScaling_DegpVolt_f32 |
CtrlTemp_Per1 | TS | -- | ||||||||||||||||||||
B | I/P1 | I/P2 | I/P3 | I/P4 | I/P5 | I/P6 | I/P | I/P | O/P | O/P | O/P | Func Stub Counter | Func Stub Counter | Expected O/P | Expected O/P | Expected O/P | Expected Stub Cnt | Expected Stub Cnt | Test Status | Perf. Metrics | Comments | |
Vector Number | Vector Description | DiagStsTempRdPrf_Cnt_lgc | TemperatureADC_Volt_f32 | k_TempSnsrFiltDft_Cnt_lgc | k_TempSnsrDefVal_DegC_f32 | CtrlTempSV_M_str.SV | CtrlTempSV_M_str.K | k_TempSnsrOffset_Volts_f32 | k_TempSnsrScaling_DegpVolt_f32 | CtrlTemp_DegC_M_f32 | FiltMeasTemp_DegC_f32 | CtrlTempSV_M_str.SV | Rte_Call_CtrlTemp_Per1_CP0_CheckpointReached | Rte_Call_CtrlTemp_Per1_CP1_CheckpointReached | CtrlTemp_DegC_M_f32 | FiltMeasTemp_DegC_f32 | CtrlTempSV_M_str.SV | Rte_Call_CtrlTemp_Per1_CP0_CheckpointReached | Rte_Call_CtrlTemp_Per1_CP1_CheckpointReached | P/F | CPU Cycles | |
1 | DiagStsTempRdPrf_Cnt_lgcmin | 0 | 2 | 1 | -27 | -42 | 0.0072426 | 0.2 | 20 | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | ||
2 | DiagStsTempRdPrf_Cnt_lgc max | 1 | 3 | 0 | 112 | 45 | 0.00643 | 0.4 | 50 | -- | -- | -- | -- | -- | 45.54655 | 112 | 45.54655 | 1 | 1 | -- | ||
3 | TemperatureADC_Volt_f32 min | 0 | 0 | 1 | 125 | -38 | 0.0057638 | 0.6 | 60 | -- | -- | -- | -- | -- | -36 | -36 | -38 | 1 | 1 | -- | ||
4 | TemperatureADC_Volt_f32 max | 1 | 5 | 0 | 89 | 74 | 0.0047628 | 0.8 | 80 | -- | -- | -- | -- | -- | 75.2478536 | 89 | 75.2478536 | 1 | 1 | -- | ||
5 | TemperatureADC_Volt_f32 mid | 0 | 1 | 1 | 56 | -16 | 0.00353 | 0.8 | 70 | -- | -- | -- | -- | -- | 14 | 14 | -16 | 1 | 1 | -- | ||
6 | k_TempSnsrFiltDft_Cnt_lgc min | 1 | 1.25 | 0 | -30 | 85 | 0.005373 | 0.3 | 89 | -- | -- | -- | -- | -- | 84.99758215 | -30 | 84.99758215 | 1 | 1 | -- | ||
7 | k_TempSnsrFiltDft_Cnt_lgcmax | 0 | 2.25 | 1 | 24 | -28 | 0.009262 | 0.43 | 12 | -- | -- | -- | -- | -- | 21.84 | 21.8400001525879 | -28 | 1 | 1 | -- | ||
8 | k_TempSnsrDefVal_DegC_f32 min | 1 | 2.46 | 1 | -40 | 85 | 0.008353 | 0.65 | 43 | -- | -- | -- | -- | -- | 77.83 | -40 | 85 | 1 | 1 | -- | ||
9 | k_TempSnsrDefVal_DegC_f32max | 1 | 3.78 | 0 | 150 | -16 | 0.007234 | 0.78 | 20 | -- | -- | -- | -- | -- | -15.450216 | 150 | -15.450216 | 1 | 1 | -- | ||
10 | k_TempSnsrDefVal_DegC_f32 zero | 1 | 4.36 | 1 | 0 | 74 | 0.005623 | 0.98 | 50 | -- | -- | -- | -- | -- | 169 | 0 | 74 | 1 | 1 | -- | ||
11 | k_TempSnsrDefVal_DegC_f32 neg | 1 | 4.94 | 0 | -10 | -27 | 0.004638 | 0.43 | 60 | -- | -- | -- | -- | -- | -25.6197312 | -10 | -25.6197312 | 1 | 1 | -- | ||
12 | k_TempSnsrDefVal_DegC_f32 pos | 1 | 2.76 | 1 | 18 | 46 | 0.003673 | 0.2 | 20 | -- | -- | -- | -- | -- | 51.2 | 18 | 46 | 1 | 1 | -- | ||
13 | CtrlTempSV_M_str.SV min | 0 | 1.5 | 0 | -11 | -50 | 0.001671 | 0.4 | 50 | -- | -- | -- | -- | -- | -49.824545 | -49.8245468139648 | -49.824545 | 1 | 1 | -- | ||
14 | CtrlTempSV_M_str.SV max | 1 | 2.5 | 0 | 41 | 150 | 0.00256 | 0.6 | 60 | -- | -- | -- | -- | -- | 149.90784 | 41 | 149.90784 | 1 | 1 | -- | ||
15 | CtrlTempSV_M_str.SV zero | 0 | 3.5 | 0 | -25 | 0 | 0.003782 | 0.8 | 80 | -- | -- | -- | -- | -- | 0.816912 | 0.816911995410919 | 0.816912 | 1 | 1 | -- | ||
16 | CtrlTempSV_M_str.SVneg | 1 | 4.5 | 0 | 64 | -13 | 0.00571 | 0.8 | 70 | -- | -- | -- | -- | -- | -11.44688 | 64 | -11.44688 | 1 | 1 | -- | ||
17 | CtrlTempSV_M_str.SV pos | 0 | 1.76 | 0 | -32 | 42 | 0.00357 | 0.3 | 89 | -- | -- | -- | -- | -- | 42.3139458 | 42.3139457702637 | 42.3139458 | 1 | 1 | -- | ||
18 | CtrlTempSV_M_str.K min | 1 | 2.376 | 0 | 83 | -10 | 0.000125655810790826 | 0.43 | 12 | -- | -- | -- | -- | -- | -9.9958091273985 | 83 | -9.9958091273985 | 1 | 1 | -- | ||
19 | CtrlTempSV_M_str.Kmax | 0 | 4.65 | 0 | -27 | 48 | 0.012487743476344 | 0.65 | 43 | -- | -- | -- | -- | -- | 49.5484801910667 | 49.5484809875488 | 49.5484801910667 | 1 | 1 | -- | ||
20 | CtrlTempSV_M_str.K pos | 1 | 3.65 | 0 | 85 | -20 | 0.006474 | 0.78 | 20 | -- | -- | -- | -- | -- | -19.4989124 | 85 | -19.4989124 | 1 | 1 | -- | ||
21 | k_TempSnsrOffset_Volts_f32=>Min | 1 | 2.5 | 0 | 41 | -16 | 0.001671 | 0 | 50 | -- | -- | -- | -- | -- | -15.764389 | 41 | -15.764389 | 1 | 1 | -- | ||
22 | k_TempSnsrOffset_Volts_f32=>Max | 0 | 3.5 | 0 | -25 | 74 | 0.00256 | 1 | 60 | -- | -- | -- | -- | -- | 74.19456 | 74.1945571899414 | 74.19456 | 1 | 1 | -- | ||
23 | k_TempSnsrOffset_Volts_f32=>Pos | 1 | 4.5 | 0 | 64 | -27 | 0.003782 | 0.5 | 12 | -- | -- | -- | -- | -- | -26.71635 | 64 | -26.71635 | 1 | 1 | -- | ||
24 | k_TempSnsrScaling_DegpVolt_f32=>Min | 0 | 1.76 | 0 | -32 | 46 | 0.005623 | 0.8 | 0 | -- | -- | -- | -- | -- | 45.741342 | 45.741340637207 | 45.741342 | 1 | 1 | -- | ||
25 | k_TempSnsrScaling_DegpVolt_f32=>Max | 1 | 2.376 | 0 | 83 | -10 | 0.004638 | 0.8 | 200 | -- | -- | -- | -- | -- | -8.4917224 | 83 | -8.4917224 | 1 | 1 | -- | ||
26 | k_TempSnsrScaling_DegpVolt_f32=>Pos | 0 | 4.65 | 0 | -27 | 48 | 0.003673 | 0.3 | 50 | -- | -- | -- | -- | -- | 48.6225735 | 48.6225738525391 | 48.6225735 | 1 | 1 | -- | ||
27 | All min | 0 | 0 | 0 | -40 | -50 | 0.000125655810790826 | 0 | 0 | -- | -- | -- | -- | -- | -49.9937172094605 | -49.9937171936035 | -49.9937172094605 | 1 | 1 | -- | ||
28 | All max | 1 | 5 | 1 | 150 | 150 | 0.012487743476344 | 1 | 200 | -- | -- | -- | -- | -- | 800 | 150 | 150 | 1 | 1 | -- | ||
CtrlTemp_Per1 | TS | -- | ||||||||||||||||||||
P | I/P1 | I/P2 | I/P | I/P | I/P | I/P | I/P | I/P | O/P | O/P | O/P | Func Stub Counter | Func Stub Counter | Expected O/P | Expected O/P | Expected O/P | Expected Stub Cnt | Expected Stub Cnt | Test Status | Perf. Metrics | Comments | |
Vector Number | Vector Description | DiagStsTempRdPrf_Cnt_lgc | TemperatureADC_Volt_f32 | k_TempSnsrFiltDft_Cnt_lgc | k_TempSnsrDefVal_DegC_f32 | CtrlTempSV_M_str.SV | CtrlTempSV_M_str.K | k_TempSnsrOffset_Volts_f32 | k_TempSnsrScaling_DegpVolt_f32 | CtrlTemp_DegC_M_f32 | FiltMeasTemp_DegC_f32 | CtrlTempSV_M_str.SV | Rte_Call_CtrlTemp_Per1_CP0_CheckpointReached | Rte_Call_CtrlTemp_Per1_CP1_CheckpointReached | CtrlTemp_DegC_M_f32 | FiltMeasTemp_DegC_f32 | CtrlTempSV_M_str.SV | Rte_Call_CtrlTemp_Per1_CP0_CheckpointReached | Rte_Call_CtrlTemp_Per1_CP1_CheckpointReached | P/F | CPU Cycles | |
1 | (TRUE != k_TempSnsrFiltDft_Cnt_lgc)= False and (TRUE == DiagStsTempRdPrf_Cnt_T_lgc)=False | 0 | 2 | 1 | -27 | -42 | 0.0072426 | 0.2 | 20 | -- | -- | -- | -- | -- | 36 | 36 | -42 | 1 | 1 | -- | ||
2 | (TRUE != k_TempSnsrFiltDft_Cnt_lgc) = True and (TRUE == DiagStsTempRdPrf_Cnt_T_lgc)=True | 1 | 3 | 0 | 112 | 45 | 0.00643 | 0.4 | 50 | -- | -- | -- | -- | -- | 45.54655 | 112 | 45.54655 | 1 | 1 | -- | ||
3 | Var < Low=True | 0 | 0 | 1 | -27 | -42 | 0.0072426 | 1 | 51 | -- | -- | -- | -- | -- | -51 | -50 | -42 | 1 | 1 | -- | ||
![]() | |||||
Nexteer EPS Unit Test Tool | |||||
Rev:2.7b | |||||
Test Setup | |||||
Number Of Calibrations | 0 | ||||
Number Of Calibration Sets | 0 | ||||
Calibration Sheet | |||||
Function(s) Under Test | Variables | Function Stubs | |||
Function Name | TestType | Test Vectors | Set | Read | Function Name |
CtrlTemp_Per2 | B | 29 | CtrlTemp_DegC_M_f32 | CtrlTempErrorAcc_Cnt_M_u16 | Call_NxtrDiagMgr_SetNTCStatus |
CtrlTemp_Per2 | P | 5 | CtrlTempErrorAcc_Cnt_M_u16 | Ip_NTC | Rte_Call_CtrlTemp_Per2_CP0_CheckpointReached |
k_TempSensLowLimit_DegC_f32 | Ip_Param | Rte_Call_CtrlTemp_Per2_CP1_CheckpointReached | |||
k_TempSensHighLimit_DegC_f32 | Ip_Status | ||||
k_TempSensDiag_Cnt_str.Threshold | |||||
k_TempSensDiag_Cnt_str.Pstep | |||||
k_TempSensDiag_Cnt_str.Nstep |
CtrlTemp_Per2 | TS | -- | |||||||||||||||||||||||
P | I/P1 | I/P2 | I/P3 | I/P4 | I/P5 | I/P6 | I/P7 | O/P | O/P | O/P | O/P | Func Stub Counter | Func Stub Counter | Func Stub Counter | Expected O/P | Expected O/P | Expected O/P | Expected O/P | Expected Stub Cnt | Expected Stub Cnt | Expected Stub Cnt | Test Status | Perf. Metrics | Comments | |
Vector Number | Vector Description | CtrlTemp_DegC_M_f32 | CtrlTempErrorAcc_Cnt_M_u16 | k_TempSensLowLimit_DegC_f32 | k_TempSensHighLimit_DegC_f32 | k_TempSensDiag_Cnt_str.Threshold | k_TempSensDiag_Cnt_str.Pstep | k_TempSensDiag_Cnt_str.Nstep | CtrlTempErrorAcc_Cnt_M_u16 | Ip_NTC | Ip_Param | Ip_Status | Call_NxtrDiagMgr_SetNTCStatus | Rte_Call_CtrlTemp_Per2_CP0_CheckpointReached | Rte_Call_CtrlTemp_Per2_CP1_CheckpointReached | CtrlTempErrorAcc_Cnt_M_u16 | Ip_NTC | Ip_Param | Ip_Status | Call_NxtrDiagMgr_SetNTCStatus | Rte_Call_CtrlTemp_Per2_CP0_CheckpointReached | Rte_Call_CtrlTemp_Per2_CP1_CheckpointReached | P/F | CPU Cycles | |
1 | ((k_TempSensLowLimit_DegC_f32 <= CtrlTemp_DegC_M_f32) And (CtrlTemp_DegC_M_f32 <= k_TempSensHighLimit_DegC_f32))=True and (DiagFailed_m(CntrlTempErrorAcc_Cnt_M_u16, k_TempSensDiag_Cnt_str) = True)=True | -40 | 5678 | -44 | 160 | 40 | 2 | 1 | -- | -- | -- | -- | -- | -- | -- | 5677 | 69 | 1 | 1 | 1 | 1 | 0 | -- | ||
2 | ((k_TempSensLowLimit_DegC_f32 <= CtrlTemp_DegC_M_f32) And (CtrlTemp_DegC_M_f32 <= k_TempSensHighLimit_DegC_f32))=True and (DiagFailed_m(CntrlTempErrorAcc_Cnt_M_u16, k_TempSensDiag_Cnt_str) = True)=False | 30 | 0 | -44 | 160 | 40 | 2 | 1 | -- | -- | -- | -- | -- | -- | -- | 0 | 69 | 1 | 0 | 1 | 1 | 0 | -- | ||
3 | ((k_TempSensLowLimit_DegC_f32 <= CtrlTemp_DegC_M_f32) And (CtrlTemp_DegC_M_f32 <= k_TempSensHighLimit_DegC_f32))=False and (DiagFailed_m(CntrlTempErrorAcc_Cnt_M_u16, k_TempSensDiag_Cnt_str) = True)=True | -40 | 1111 | -30 | 160 | 40 | 2 | 1 | -- | -- | -- | -- | -- | -- | -- | 40 | 69 | 1 | 1 | 1 | 1 | 0 | -- | ||
4 | ((k_TempSensLowLimit_DegC_f32 <= CtrlTemp_DegC_M_f32) And (CtrlTemp_DegC_M_f32 <= k_TempSensHighLimit_DegC_f32))=False and (DiagFailed_m(CntrlTempErrorAcc_Cnt_M_u16, k_TempSensDiag_Cnt_str) = True)=False | -40 | 30 | -30 | 160 | 40 | 2 | 1 | -- | -- | -- | -- | -- | -- | -- | 32 | 69 | 1 | 0 | 1 | 1 | 0 | -- | ||
5 | ((k_TempSensLowLimit_DegC_f32 <= CtrlTemp_DegC_M_f32) And (CtrlTemp_DegC_M_f32 <= k_TempSensHighLimit_DegC_f32))=False and (DiagFailed_m(CntrlTempErrorAcc_Cnt_M_u16, k_TempSensDiag_Cnt_str) = True)=False | -35 | 30 | -44 | -40 | 40 | 2 | 1 | -- | -- | -- | -- | -- | -- | -- | 32 | 69 | 1 | 0 | 1 | 1 | 0 | -- | ||
CtrlTemp_Per2 | TS | -- | |||||||||||||||||||||||
B | I/P1 | I/P2 | I/P3 | I/P4 | I/P5 | I/P6 | I/P7 | O/P | O/P | O/P | O/P | Func Stub Counter | Func Stub Counter | Func Stub Counter | Expected O/P | Expected O/P | Expected O/P | Expected O/P | Expected Stub Cnt | Expected Stub Cnt | Expected Stub Cnt | Test Status | Perf. Metrics | Comments | |
Vector Number | Vector Description | CtrlTemp_DegC_M_f32 | CtrlTempErrorAcc_Cnt_M_u16 | k_TempSensLowLimit_DegC_f32 | k_TempSensHighLimit_DegC_f32 | k_TempSensDiag_Cnt_str.Threshold | k_TempSensDiag_Cnt_str.Pstep | k_TempSensDiag_Cnt_str.Nstep | CtrlTempErrorAcc_Cnt_M_u16 | Ip_NTC | Ip_Param | Ip_Status | Call_NxtrDiagMgr_SetNTCStatus | Rte_Call_CtrlTemp_Per2_CP0_CheckpointReached | Rte_Call_CtrlTemp_Per2_CP1_CheckpointReached | CtrlTempErrorAcc_Cnt_M_u16 | Ip_NTC | Ip_Param | Ip_Status | Call_NxtrDiagMgr_SetNTCStatus | Rte_Call_CtrlTemp_Per2_CP0_CheckpointReached | Rte_Call_CtrlTemp_Per2_CP1_CheckpointReached | P/F | CPU Cycles | |
1 | CtrlTemp_DegC_M_f32 min | -50 | 164 | -47 | -38 | 48 | 228 | 231 | -- | -- | -- | -- | -- | -- | -- | 48 | 69 | 1 | 1 | 1 | 1 | 0 | -- | ||
2 | CtrlTemp_DegC_M_f32 max | 150 | 257 | 111 | 174 | 193 | 223 | 165 | -- | -- | -- | -- | -- | -- | -- | 92 | 69 | 1 | 0 | 1 | 1 | 0 | -- | ||
3 | CtrlTemp_DegC_M_f32 zero | 0 | 3456 | -37 | -28 | 162 | 215 | 252 | -- | -- | -- | -- | -- | -- | -- | 162 | 69 | 1 | 1 | 1 | 1 | 0 | -- | ||
4 | CtrlTemp_DegC_M_f32 neg | -10 | 2345 | 143 | 155 | 136 | 147 | 248 | -- | -- | -- | -- | -- | -- | -- | 136 | 69 | 1 | 1 | 1 | 1 | 0 | -- | ||
5 | CtrlTemp_DegC_M_f32 pos | 20 | 1234 | -45 | -18 | 127 | 158 | 238 | -- | -- | -- | -- | -- | -- | -- | 127 | 69 | 1 | 1 | 1 | 1 | 0 | -- | ||
6 | CtrlTempErrorAcc_Cnt_M_u16 min | 30 | 0 | 153 | 2 | 247 | 147 | 217 | -- | -- | -- | -- | -- | -- | -- | 147 | 69 | 1 | 0 | 1 | 1 | 0 | -- | ||
7 | CtrlTempErrorAcc_Cnt_M_u16 max | -35 | 65535 | -35 | -37 | 237 | 190 | 176 | -- | -- | -- | -- | -- | -- | -- | 237 | 69 | 1 | 1 | 1 | 1 | 0 | -- | ||
8 | CtrlTempErrorAcc_Cnt_M_u16 pos | 100 | 1000 | 23 | 79 | 250 | 174 | 27 | -- | -- | -- | -- | -- | -- | -- | 250 | 69 | 1 | 1 | 1 | 1 | 0 | -- | ||
9 | k_TempSensLowLimit_DegC_f32min | -11 | 5323 | -50 | -27 | 217 | 36 | 185 | -- | -- | -- | -- | -- | -- | -- | 217 | 69 | 1 | 1 | 1 | 1 | 0 | -- | ||
10 | k_TempSensLowLimit_DegC_f32 max | 111 | 765 | 180 | 74 | 222 | 174 | 153 | -- | -- | -- | -- | -- | -- | -- | 222 | 69 | 1 | 1 | 1 | 1 | 0 | -- | ||
11 | k_TempSensLowLimit_DegC_f32zero | -22 | 231 | 0 | -36 | 185 | 201 | 22 | -- | -- | -- | -- | -- | -- | -- | 185 | 69 | 1 | 1 | 1 | 1 | 0 | -- | ||
12 | k_TempSensLowLimit_DegC_f32neg | 126 | 78 | -44 | 22 | 158 | 87 | 99 | -- | -- | -- | -- | -- | -- | -- | 158 | 69 | 1 | 1 | 1 | 1 | 0 | -- | ||
13 | k_TempSensLowLimit_DegC_f32 pos | -33 | 32 | 126 | -44 | 138 | 76 | 88 | -- | -- | -- | -- | -- | -- | -- | 108 | 69 | 1 | 0 | 1 | 1 | 0 | -- | ||
14 | k_TempSensHighLimit_DegC_f32 min | 28 | 568 | -10 | -50 | 174 | 65 | 55 | -- | -- | -- | -- | -- | -- | -- | 174 | 69 | 1 | 1 | 1 | 1 | 0 | -- | ||
15 | k_TempSensHighLimit_DegC_f32max | -15 | 800 | 36 | 180 | 153 | 54 | 66 | -- | -- | -- | -- | -- | -- | -- | 153 | 69 | 1 | 1 | 1 | 1 | 0 | -- | ||
16 | k_TempSensHighLimit_DegC_f32zero | 79 | 3242 | -20 | 0 | 111 | 49 | 75 | -- | -- | -- | -- | -- | -- | -- | 111 | 69 | 1 | 1 | 1 | 1 | 0 | -- | ||
17 | k_TempSensHighLimit_DegC_f32neg | -36 | 242 | 76 | -28 | 96 | 43 | 42 | -- | -- | -- | -- | -- | -- | -- | 96 | 69 | 1 | 1 | 1 | 1 | 0 | -- | ||
18 | k_TempSensHighLimit_DegC_f32pos | 37 | 256 | 29 | 160 | 89 | 32 | 49 | -- | -- | -- | -- | -- | -- | -- | 207 | 69 | 1 | 1 | 1 | 1 | 0 | -- | ||
19 | k_TempSensDiag_Cnt_str.Threshold min | 85 | 1231 | 85 | -1 | 0 | 68 | 38 | -- | -- | -- | -- | -- | -- | -- | 0 | 69 | 1 | 1 | 1 | 1 | 0 | -- | ||
20 | k_TempSensDiag_Cnt_str.Threshold max | 35 | 7898 | -40 | 33 | 255 | 26 | 26 | -- | -- | -- | -- | -- | -- | -- | 255 | 69 | 1 | 1 | 1 | 1 | 0 | -- | ||
21 | k_TempSensDiag_Cnt_str.Threshold pos | -28 | 213 | 48 | -25 | 40 | 45 | 138 | -- | -- | -- | -- | -- | -- | -- | 40 | 69 | 1 | 1 | 1 | 1 | 0 | -- | ||
22 | k_TempSensDiag_Cnt_str.Pstep min | 44 | 213 | -5 | 44 | 1 | 0 | 138 | -- | -- | -- | -- | -- | -- | -- | 75 | 69 | 1 | 1 | 1 | 1 | 0 | -- | ||
23 | k_TempSensDiag_Cnt_str.Pstepmax | -29 | 789 | 37 | -11 | 21 | 255 | 126 | -- | -- | -- | -- | -- | -- | -- | 21 | 69 | 1 | 1 | 1 | 1 | 0 | -- | ||
24 | k_TempSensDiag_Cnt_str.Pstep pos | 66 | 567 | -15 | 55 | 32 | 2 | 123 | -- | -- | -- | -- | -- | -- | -- | 32 | 69 | 1 | 1 | 1 | 1 | 0 | -- | ||
25 | k_TempSensDiag_Cnt_str.Nstep min | -36 | 453 | 44 | -22 | 44 | 15 | 0 | -- | -- | -- | -- | -- | -- | -- | 44 | 69 | 1 | 1 | 1 | 1 | 0 | -- | ||
26 | k_TempSensDiag_Cnt_str.Nstep max | 77 | 565 | -25 | 66 | 56 | 28 | 255 | -- | -- | -- | -- | -- | -- | -- | 56 | 69 | 1 | 1 | 1 | 1 | 0 | -- | ||
27 | k_TempSensDiag_Cnt_str.Nstep pos | -24 | 4534 | 79 | -33 | 67 | 49 | 1 | -- | -- | -- | -- | -- | -- | -- | 67 | 69 | 1 | 1 | 1 | 1 | 0 | -- | ||
28 | All min | -50 | 0 | -50 | -50 | 0 | 0 | 0 | -- | -- | -- | -- | -- | -- | -- | 0 | 69 | 1 | 1 | 1 | 1 | 0 | -- | ||
29 | All max | 150 | 65535 | 180 | 180 | 255 | 255 | 255 | -- | -- | -- | -- | -- | -- | -- | 255 | 69 | 1 | 1 | 1 | 1 | 0 | -- | ||