Data Dictionary


Overview

Change Log
Variable Dictionary
Calibration Dictionary
Global Constants
Template
Help


Sheet 1: Change Log

TqRsDg - Rev 7<- Global Program / Module Name


RevisionAuthorDateChange Description

Data Dictionary Type:Component
1.0OT22-Mar-12Initial Version



2Selva24-Feb-12Updated to version 2



3Srikanth25-Mar-13Addded ModulationIndex_Uls_M_f32 & MtrCurrQaxFinalRef_Amp_M_f32



4OT30-Apr-13Removed MtrCurrQaxFinalRef



5Selva25-Nov-13Updated to v3 .(Removed all the previous signals &calibration )



6Srikanth9-Dec-13Updated ranges for Module variables



7VT8-Jan-14Updated to version 4 of SF-31












































































































































































































































































































Sheet 2: Variable Dictionary

TqRsDg - Rev 7

IOMDN
Variable Information

YN










Range











Software Variable NameStandard Reference NameFDD ReferenceDescription[I]nput [O]uput [M]oduleInternal [D]isplay [N]onVolatileMemory UsageOEM1X, 1Y, 1Z, 1I, 1BS 2X, 2Y, 2Z, 2I, 2BS etc Graph SettingsInitalization ValueMinMaxResolutionUnit Test Tolerance (+/-)UnitsTypeMemory Segment






Variables




















TqRsDg_AlpaCurrDiagPrimLPF_M_Str


MN
N/AN/AN/AN/A
N/ALPF32KSV_Str







TqRsDg_AlpaCurrDiagPrimLPF_M_Str.SV_Uls_f32


MN
0-3131Single Precision Float
Ulsfloat32







TqRsDg_AlpaCurrDiagPrimLPF_M_Str.K_Uls_f32


MN
000.956786082Single Precision Float
Ulsfloat32







TqRsDg_BetaCurrDiagPrimLPF_M_Str


MN
N/AN/AN/AN/A
N/ALPF32KSV_Str







TqRsDg_BetaCurrDiagPrimLPF_M_Str.SV_Uls_f32


MN
0-3131Single Precision Float
Ulsfloat32







TqRsDg_BetaCurrDiagPrimLPF_M_Str.K_Uls_f32


MN
000.956786082Single Precision Float
Ulsfloat32







TqRsDg_AlpaCurrDiagSecLPF_M_Str


MN
N/AN/AN/AN/A
N/ALPF32KSV_Str







TqRsDg_AlpaCurrDiagSecLPF_M_Str.SV_Uls_f32


MN
0-3131Single Precision Float
Ulsfloat32







TqRsDg_AlpaCurrDiagSecLPF_M_Str.K_Uls_f32


MN
000.956786082Single Precision Float
Ulsfloat32







TqRsDg_BetaCurrDiagSecLPF_M_Str


MN
N/AN/AN/AN/A
N/ALPF32KSV_Str







TqRsDg_BetaCurrDiagSecLPF_M_Str.SV_Uls_f32


MN
0-3131Single Precision Float
Ulsfloat32







TqRsDg_BetaCurrDiagSecLPF_M_Str.K_Uls_f32


MN
000.956786082Single Precision Float
Ulsfloat32







TqRsDg_CurrDiagPrimPNAccum_Cnt_M_u16


MN
0025511.00E+00Cntuint16







TqRsDg_CurrDiagSecPNAccum_Cnt_M_u16


MN
0025511.00E+00Cntuint16







TqRsDg_DervLambdaAlphaDiagPrimFilt_Volt_D_f32


DN
0-3131Single Precision Float9.77E-04Voltfloat32







TqRsDg_DervLambdaBetaDiagPrimFilt_Volt_D_f32


DN
0-3131Single Precision Float9.77E-04Voltfloat32







TqRsDg_DervLambdaAlphaDiagSecFilt_Volt_D_f32


DN
0-3131Single Precision Float9.77E-04Voltfloat32







TqRsDg_DervLambdaBetaDiagSecFilt_Volt_D_f32


DN
0-3131Single Precision Float9.77E-04Voltfloat32







DervLambdaAlphaDiag_Volt_f32


IN
0-3131Single Precision Float
Voltfloat32







DervLambdaBetaDiag_Volt_f32


IN
0-3131Single Precision Float
Voltfloat32







OutputRampMult_Uls_f32


IN
001Single Precision Float
Ulsfloat32







TrqLimitMin_MtrNm_f32


IN
008.8Single Precision Float
MtrNmfloat32







TqRsDg_DervLambdaAlphaDiagLmtd_Volt_D_f32


DN
0-2020Single Precision Float
Voltfloat32







TqRsDg_DervLambdaBetaDiagLmtd_Volt_D_f32


DN
0-2020Single Precision Float
Voltfloat32








































































































































































































































































































































































Sheet 3: Calibration Dictionary

TqRsDg - Rev 7


N
Calibration InformationAchieved in Software Design



Y








Range





P
Software Calibration NameStandard Reference NameFDD ReferenceDescriptionTuning SetOEM1X, 1Y, 1Z, 1I, 1BS 2X, 2Y, 2Z, 2I, 2BS etc Graph SettingsDefault ValueMinMaxUnitsTypeMemory Segment



Calibrations















k_CurrDiagPrimLPFKn_Hz_f32CurrReas_k_CurrDiagPrimLPFKn_HzSF31 TorqueReasonablenessDiagnosticLow pass filter cutoff frequency applied to Abs(Mtr Volt Cmd error). When filter output crosses a threshold, P/N counter begins counting upwardNN
10250Hzfloat32




k_CurrDiagSecLPFKn_Hz_f32CurrReas_k_CurrDiagSecLPFKn_HzSF31 TorqueReasonablenessDiagnostic
NN
10250Hzfloat32




k_CurrDiagSecTrqLmtThresh_Uls_f32CurrReas_k_CurrDiagSecTrqLmtThresh_UlsSF31 TorqueReasonablenessDiagnostic
NN
001Ulsfloat32




k_CurrDiagPrimErrorThresh_Volt_f32CurrReas_k_CurrDiagPrimErrorThresh_VoltSF31 TorqueReasonablenessDiagnostic
NN
200250Voltfloat32




k_CurrDiagSecErrorThresh_Volt_f32CurrReas_k_CurrDiagSecErrorThresh_VoltSF31 TorqueReasonablenessDiagnostic
NN
200250Voltfloat32




k_CurrDiagSec_Cnt_Str
SF31 TorqueReasonablenessDiagnostic
NN
{200,2,1}{255.255.255}{255.255.255}
DiagSettings_Str




k_CurrDiagSec_Cnt_Str.ThresholdCurrReas_k_CurrDiagSecPNThresh_CntSF31 TorqueReasonablenessDiagnostic
NN
2000255Cnt





k_CurrDiagSec_Cnt_Str.PstepCurrReas_k_CurrDiagSecPstep_CntSF31 TorqueReasonablenessDiagnostic
NN
20255Cnt





k_CurrDiagSec_Cnt_Str.NstepCurrReas_k_CurrDiagSecNstep_CntSF31 TorqueReasonablenessDiagnostic
NN
10255Cnt





k_CurrDiagPrim_Cnt_StrCurrReas_k_CurrDiagPrim_Cnt_StrSF31 TorqueReasonablenessDiagnostic
NN
{200,2,1}


DiagSettings_Str




k_CurrDiagPrim_Cnt_Str.ThresholdCurrReas_k_CurrDiagPrimPNThresh_CntSF31 TorqueReasonablenessDiagnostic
NN
2000255Cnt





k_CurrDiagPrim_Cnt_Str.PstepCurrReas_k_CurrDiagPrimPstep_CntSF31 TorqueReasonablenessDiagnostic
NN
20255Cnt





k_CurrDiagPrim_Cnt_Str.NstepCurrReas_k_CurrDiagPrimNstep_CntSF31 TorqueReasonablenessDiagnostic
NN
10255Cnt





k_CurrDiagMtrEnvTblMax_MtrNm_f32CurrReas_k_CurrDiagMtrEnvTblMax_MtrNmSF31 TorqueReasonablenessDiagnostic
NN
4.618.8MtrNmfloat32




k_CurrDiagLambdaMinMax_Volt_f32CurrReas_k_LambdaMinMax_VoltSF31 TorqueReasonablenessDiagnostic
NN
3020Voltfloat32





Sheet 4: Global Constants

TqRsDg - Rev 7








































































Variable Information (Global Variables Only)

Achieved in Software DesignUsed in Module List





Layer 2Layer 3Layer 4Layer 5
Constant NameDescriptionUintsTypeEngineering ValueADCADC DiagnosticsData Memory VerificationDC Link Power ControlDSP Computational IntegrityDSP SPI driverEvent Manager DriverExternal Memory DriverFlash Programming ExecGPIOIllegal OpCode HandlerInterrupt HandlerMotor Current DriverMotor Driver DiagnosticsMotor Position DriverPhase Feedback CapturePowerdown ControlPrimary Shutdown ControlProgram FlowProgram Memory DiagnosticPWM Duty CycleRedundant Memory CheckRedundant Rapid ShutdownSchedulerStack MonitorState Dependent Task ListSystem Boot & StartupSystem ControlTemperature Sensor DiagnosticUnused Interrupt HandlerUtilization MonitorWatchdog DirverSmithBattery VoltageBattery Voltage DiagnosticsDiagnostic CTC ManagerDiagnostic ManagerDiagnostics Application ServicesEOL TorqueTestFlash Boot LoaderFlight RecorderHandwheel PositionHandwheel TorqueMotor Control Output ConversionMotor Position DiagnosticsMotor Position InitializationMotor VelocityMotor Velocity TachometerSerial Communications I/OSerial Communications ServicesStates and ModesTuning SelectVehicle Power ModeVehicle SpeedController PolarityCurrent EstimationHandwheel VelocityInverse Motor ModelMotor Temperature EstimationMotor Torque LimitOutput Reasonableness DianosticParameter EstimationQuadrant and rate DetectionActive Pull CompensationAssistDampingDuty CycleKinematic Integrity DiagnosticLong Term Vehicle Speed DiagnosticMax Assist LimitReturnState Output ControlTorque Output























































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































Sheet 5: Template

2.2aData 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:NIndex 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:YIndex 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:PIndex 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>

















Sheet 6: Help

Short cutMacroSescription
Ctrl-qClearDataDictFilterWill clear all autofilters on the Global Data Dictionary




DFD_CreateCreates 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_DeleteWill clear all Data Flow Diagram pages from the Data Dictionary. This will make the file smaller for archiving.

DFD_PrintFormate and prepares to print the Data Flow Worksheet pages.
Last modified October 12, 2025: Initial commit (0347a62)