Data Dictionary


Overview

Change Log
Variable Dictionary
Calibration Dictionary
Global Constants
Template
Help


Sheet 1: Change Log

MotorVelocity - Rev 13<- Global Program / Module Name


RevisionAuthorDateChange Description

Data Dictionary Type:Component
1NRAR8-Jul-12Initial Version for component- Both application Files



2JJW29-Nov-12Remove redundant calibration definitons



3JJW30-Nov-12Add missing default values



4NRAR6-Dec-12Anom 4165



5JJW30-Jan-13correct default values, added t_MtrVelTimeOffsetTblX_Kph_u9p7, t_MtrVelTimeOffsetYTbl_uS_u16 and made partial Variable updates per the design changes for FDD 02B v010.



6JWJ2-Feb-13Updates for FDD 02B v010



7JJW4-Apr-13Added missing variable definitions per UTP feedback



8JJW4-Apr-13Added missing MtrVel3 definitons per UTP feedback



9JJW8-Apr-13Updated MtrVel ranges to +/-1350 per FDD DD
Updated HwVEl ranges to +/- 42 per FDD DD
Added missing UTP tolerances per UTP feedback




10JJW10-Apr-13Corrected range on MtrVel_OsBufSelect_Cnt_M_u08 to be 0-3



11JJW10-Apr-13Corrected range on MtrVel_OsBufSelect_Cnt_M_u08 to be 0-4



12JJW26-Apr-13Changed SysCDiagDeltaAngle_Rev_D_f32 to SysCDiagCumMtrPosDelta_Rad_D_f32
Changed PrevMechMtrPos_Rev_M_f32 to PrevSysCDiagCumMtrPos_Rad_M_f32
Changed SysC_MechMtrPos_Rev_f32 to CumMtrPosMRF_Deg_f32




13NPH3-Jun-13FDD reference, Cal Name Change: k_HwVelCorrLim_Cnt_Str.NStep
k_HwVelCorrLim_Cnt_Str.PStep k_MtrVelCorrLim_Cnt_Str.NStep
k_MtrVelCorrLim_Cnt_Str.Pstep





























































































































































































































































Sheet 2: Variable Dictionary

MotorVelocity - Rev 13

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, 1B 2X, 2Y, 2Z, 2I, 2B etc Graph SettingsInitalization ValueMinMaxResolutionUnit Test Tolerance (+/-)UnitsTypeMemory Segment






Variables - MtrVel




















AsstAssemPol_Cnt_s08
FDD02B MotorVelocity
IN
-11-11
Cntuint8







CRFMotorVel_MtrRadpS_f32Motor_Vel_CRFFDD02B MotorVelocity
ON
0-13501350Single Precision Float6.25E-02MtrRadpSfloat32







CrsMtrVel_MtrRadpS_D_f32[2]CoarseFDD02B MotorVelocity
DN
0-13501350Single Precision Float6.25E-02MyrRadpSfloat32







DeltaTheta_Uls_D_s18p13[2][8]DeltaThetaFDD02B MotorVelocity
DN
0FULLFULL2^-136.25E-02Ulss18p13_T







HandwheelVel_HwRadpS_f32Handwheel_VelFDD02B MotorVelocity
ON
0-4242Single Precision Float9.00E-03HwRadpSfloat32







HwVel_HwRadpS_M_f32
FDD02B MotorVelocity
MN
0-4242Single Precision Float6.25E-02HwRadpSfloat32







HwVelCorrLimDiff_HwRadpS_D_f32HwVel_CorrLim_DiffFDD02B MotorVelocity
DN
0084Single Precision Float9.00E-03HwRadpSfloat32







HwVelDiffAcc_Cnt_M_u16HwVelCC_FaultCountFDD02B MotorVelocity
MN
0025510.00E+00Cntuint16







HwVelValid_Cnt_lgcHw_Vel_ValidFDD02B MotorVelocity
ON
001N/AN/ACntBoolean







MRFMotorVel_MtrRadpS_f32Motor_Vel_MRFFDD02B MotorVelocity
ON
0-13501350Single Precision Float6.25E-02MtrRadpSfloat32







MRFMotorVelUnfiltered_MtrRadpS_f32Motor_Vel_MRF_UnfilteredFDD02B MotorVelocityCum MtrPoValid for entire rack travel without rolloverON
0-13501350Single Precision Float6.25E-02MtrRadpSfloat32







MtrVel_ActiveBufSet_Cnt_M_u08
FDD02B MotorVelocity
MN
00110.00E+00Cntuint8







MtrVel_AvgDeltaT_uS_D_u16p0[2]average delta TFDD02B MotorVelocity
DN
0FULLFULL11.00E+00uSuint16







MtrVel_DeltaThetaIntercept_Uls_D_s7p24[2]delta theata interceptFDD02B MotorVelocity
DN
0FULLFULL2^-241.19E-07Ulss7p24_T







MtrVel_MtrRadpS_M_f32
FDD02B MotorVelocity
MN
0-13501350Single Precision Float6.25E-02MtrRadpSfloat32







MtrVel_OldPosBuf_Cnt_M_u16
FDD02B MotorVelocity
MN
00310.00E+00Cntuint16







MtrVel_OsBufSelect_Cnt_M_u08
FDD02B MotorVelocityOversample buffer snapshot buffer set control. This variable is protected from Xcp and other applications and determines the actively used buffer set. The inactive set contains a consistent set of snap shot data. This signal is set to a value 1 greater than the maximum buffer index to signal the oversampling process to halt updates to the buffer.MN
00410Cntuint8







MtrVel_Slope_puS_D_sm11p42[2]slopeFDD02B MotorVelocity
DN
0FULLFULL2^-421.19E-07puSsm11p42_T







MtrVel_SnapShotSet_Cnt_G_u08
FDD02B MotorVelocity
MN
00110.00E+00Cntuint8







MtrVelCorrLimDiff_MtrRadpS_D_f32MtrVel_CorrLim_DiffFDD02B MotorVelocity
DN
002236Single Precision Float1.00E+00MtrRadpSfloat32







MtrVelDelta_MtrRadpS_M_u12p4
FDD02B MotorVelocity
MN
0-270027002^-46.25E-02MtrRadpSu12p4_T







MtrVelDiffAcc_Cnt_M_u16MtrVelCC_FaultCountFDD02B MotorVelocity
MN
0025510.00E+00Cntuint16







MtrVelFiltSV_MtrRadpS_M_s11p20
FDD02B MotorVelocity
MN
0-135013502^-200.0001220703125MtrRadpSs11p20_T







OldMtrVel_MtrRadpS_M_s11p4
FDD02B MotorVelocity
MN
0-135013502^-46.25E-02MtrRadpSs11p4_T







PosAvg_Rev_M_u0p16
FDD02B MotorVelocity
MN
0012^-160.0001220703125Revu0p16_T







PredDeltaTheta_Uls_D_f32[2]thetaFDD02B MotorVelocity
DN
0FULLFULLSingle Precision Float6.10E-05Ulsfloat32







PredDeltaThetaCor_Uls_D_f32[2]
FDD02B MotorVelocity
DN
0FULLFULLSingle Precision Float6.10E-05Ulsfloat32







SysCDiagHandWheelVel_HwRadpS_f32SysC_diagHandwheel_VelFDD02B MotorVelocity
IN
0-4242Single Precision Float9.00E-03HwRadpSfloat32







SysCHandwheelVel_HwRadpS_f32SysC_HandWheel_VelFDD02B MotorVelocity
ON
0-4242Single Precision Float0.009HwRadpSfloat32







SysCMotorVelMRF_MtrRadpS_f32SysC_Motor_Vel_MRFFDD02B MotorVelocity
ON
0-13501350Single Precision Float6.25E-02MtrRadpSfloat32







SysCDiagMtrVelMRF_MtrRadpS_f32SysC_diagMotor_Vel_MRFFDD02B MotorVelocity
IN
0-13501350Single Precision Float6.25E-02MtrRadpSfloat32







VehicleSpeed_Kph_f32Vehicle_SpeedFDD02B MotorVelocity
IN
00512Single Precision Float7.81E-03Kphfloat32







WestBlendedMtrVel_MtrRadpS_D_f32[2]West_BlendedFDD02B MotorVelocity
DN
0-13501350Single Precision Float6.25E-02MtrRadpSfloat32







WestVelocity_MtrRadpS_D_f32[2]West(Velocity)FDD02B MotorVelocity
DN
0-13501350Single Precision Float6.25E-02MtrRadpSfloat32







Variables - MtrVel2






AsstAssemPol_Cnt_s08AsstAssemPolFDD02B MotorVelocity
IN
0-111
Cntsint8







HandwheelVel_HwRadpS_f32Handwheel_VelFDD02B MotorVelocity
IN
0-4242Single Precision Float0.009HwRadpSfloat32







MRFMotorVel_MtrRadpS_f32Motor_Vel_MRFFDD02B MotorVelocity
IN
0-13501350Single Precision Float6.25E-02MtrRadpSfloat32







PrevSysCDiagCumMtrPos_Rad_M_f32
FDD02B MotorVelocity
MN
0-1745.331745.33Single Precision Float1.70E-05Radfloat32







SysC_DiagHandWheelVel_HwRadpS_f32SysC_diagHandwheel_VelFDD02B MotorVelocity
ON
0-4242Single Precision Float0.009HwRadpSfloat32







SysC_DiagMtrVel_MtrRadpS_f32SysC_diagMotor_Vel_MRFFDD02B MotorVelocity
ON
0-13501350Single Precision Float6.25E-02MtrRadpSfloat32







CumMtrPosMRF_Deg_f32Cum_MtrPos_MRFFDD02B MotorVelocity
IN
0-100000100000Single Precision Float9.77E-04Degfloat32







SysCDiagCumMtrPosDelta_Rad_D_f32
FDD02B MotorVelocity
DN
0-6.2831856.283185Single Precision Float1.70E-05Radfloat32







SysCDiagMtrVelRawMRF_MtrRadpS_D_f32
FDD02B MotorVelocity
DN
0-13501350Single Precision Float6.25E-02MtrRadpSfloat32







SysCDiagMtrVelRawMRFSv_M_str
FDD02B MotorVelocity
MN
n/an/an/an/an/an/aLPF32KSV_Str







SysCDiagMtrVelRawMRFSv_M_str.K_Uls_f32
FDD02B MotorVelocity
MN
0.4665119089088970.2222323208282110.529510782280182Single Precision Float1.25E-02Unitlessfloat32







SysCDiagMtrVelRawMRFSv_M_str.SV_Uls_f32
FDD02B MotorVelocity
MN
0-6283.08946283.0894Single Precision Float6.25E-02Unitlessfloat32







SysCHwVelCorrLimDiff_HwRadpS_D_f32
FDD02B MotorVelocity
DN
0084Single Precision Float9.00E-03HwRadpSfloat32







SysCHwVelCRF_HwRadpS_M_f32
FDD02B MotorVelocity
MN
0-4242Single Precision Float9.00E-03HwRadpSfloat32







SysCHwVelDiffAcc_Cnt_M_u16
FDD02B MotorVelocity
MN
0FULLFULL10.00E+00Cntuin16







SysCMtrVelCorrLimDiff_MtrRadpS_D_f32
FDD02B MotorVelocity
DN
0-22362236Single Precision Float6.25E-02MtrRadpSfloat32







SysCMtrVelDiffAcc_Cnt_M_u16
FDD02B MotorVelocity
MN
0FULLFULL10.00E+00Vntuint16







SysCMtrVelMRF_MtrRadpS_M_f32
FDD02B MotorVelocity
MN
0-13501350Single Precision Float6.25E-02MtrRadpSfloat32







Variables - MtrVel3






MtrPos_CosTheta1_Volts_G_s2p13Cos_Theta1FDD02B MotorVelocity
IN
0-222^-130.0001220703125Ulss2p13_T







MtrPos_MechMtrPos_Rev_G_u0p16MechMtrPosFDD02B MotorVelocity
IN
0FULLFULL2^-160.0000152587890625Revu0p16_T







MtrPos_SampleTime_uS_G_u32SampleTimeFDD02B MotorVelocity
IN
0FULLFULL11uSuint32







MtrPos_SinTheta1_Volts_G_s2p13Sin_Theta1FDD02B MotorVelocity
IN
0-222^-130.0001220703125Ulss2p13_T







MtrVel3_CosBuffer_Uls_M_s2p13[4][8]Cos_Theta1 BufferFDD02B MotorVelocity
MN
0-222^-130.0001220703125Ulss2p13_T







MtrVel3_OsBufPos_Cnt_M_u08[4]
FDD02B MotorVelocityOversample buffer position state variable array. One state variable for each buffer set.MN
00710Cntuint8







MtrVel3_PosBuffer_Rev_M_u0p16[4][8]MechMtrPos BufferFDD02B MotorVelocity
MN
0FULLFULL2^-160.0000152587890625Revu0p16_T







MtrVel3_SinBuffer_Uls_M_s2p13[4][8]Sin_Theta1 BufferFDD02B MotorVelocity
MN
0-222^-130.0001220703125Ulss2p13_T







MtrVel3_TimeBuffer_uS_M_u16p0[4][8]SampleTime BufferFDD02B MotorVelocity
MN
0FULLFULL11uSu16p0_T




















































































































































































































































































































































































































Sheet 3: Calibration Dictionary

MotorVelocity - Rev 13


N
Calibration InformationAchieved in Software Design



Y








Range





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



Calibrations















t_MtrVelDeltaKpTblX_MtrRadpS_u12p4[2]t_S_MtrVelDeltaKpXTbl_MtrRadpSFDD02B MotorVelocityX axis for Cutoff Lookup #2NN
{0.9375, 3.125}012.5MtrRadpSu12p4_T




t_MtrVelDeltaKpTblY_Cnt_u16[2]t_S_MtrVelDeltaKpYTbl_CntFDD02B MotorVelocityY axis for Cutoff Lookup #2NN
{40, 150}0200Cntuint16




t_MtrVelFiltKpTblX_Kph_u9p7[2]t_S_MtrVelFiltKpXTbl_KphFDD02B MotorVelocityX axis for Cutoff Lookup #1NN
{10, 30}0255Kphu9p7_T




t_MtrVelFiltKpYTbl_Cnt_u16[2]t_S_MtrVelFiltKpYTbl_CntFDD02B MotorVelocityY axis for Cutoff Lookup #1NN
{40, 150}0200Cntuint16




t_MtrVelBlendTblX_MtrRadpS_u12p4[2]t_N_MotorVeltBld_BkPt1,t_N_MotorVeltBld_BkPt2
FDD02B MotorVelocityMtrVel blend BreakPoint1,BreakPoint2NN
{0, 0}01MtrRadpSu12p4_T




k_MtrVelFiltEn_Cnt_lgcVelocityFilterEnableFDD02B MotorVelocityVelocity Filter EnableNN
001CntBoolean




k_GearRatio_Uls_f32GearRatioFDD02B MotorVelocityHwPos_HwDeg to MtrPos_MtrDeg gear ratioNN
0.04545454501Ulsfloat32




k_MtrVelCorrLim_Cnt_Str
FDD02B MotorVelocity
NN
{12, 3, 1}0255CntDiagSettings_Str




k_MtrVelCorrLim_Cnt_Str.Thresholdk_MtrVel_Corrlim_ErrAcc_ThreshFDD02B MotorVelocity
NN
120255Cntuint16




k_MtrVelCorrLim_Cnt_Str.PStepk_MtrVel_Corrlim_PstepFDD02B MotorVelocity
NN
30255Cntuint16




k_MtrVelCorrLim_Cnt_Str.NStepk_MtrVel_Corrlim_NstepFDD02B MotorVelocity
NN
1020Cntuint16




k_HwVelCorrLim_Cnt_Str
FDD02B MotorVelocity
NN
{12, 3, 1}0255CntDiagSettings_Str




k_HwVelCorrLim_Cnt_Str.Thresholdk_HwVel_Corrlim_ErrAcc_ThreshFDD02B MotorVelocity
NN
120255Cntuint16




k_HwVelCorrLim_Cnt_Str.PStepk_HwVel_Corrlim_PstepFDD02B MotorVelocity
NN
30255Cntuint16




k_HwVelCorrLim_Cnt_Str.NStepk_HwVel_Corrlim_NstepFDD02B MotorVelocity
NN
1020Cntuint16




k_MtrVelCorrLim_MtrRadpS_f32k_MtrVel_CorrLimFDD02B MotorVelocity
NN
225-11181118MtrRadpSfloat32




k_HwVelCorrLim_HwRadpS_f32k_HwVel_CorrLimFDD02B MotorVelocity
NN
6.4-3232HwRadpSfloat32




k_HwVelSampleTime_ms_f32k_HwVel_SampleTimeFDD02B MotorVelocityCalibration value for the loop time of the sub functionNN
214msfloat32




k_DiagMtrVelFiltKn_Hz_f32k_diagMtrVelFiltKnFDD02B MotorVelocityLow Pass Filter cut-off frequencyNN
502060Hzfloat32




t_MtrVelTimeOffsetTblX_Kph_u9p7[3]t_MtrVelTimeOffsetTblX_Kph_u9p7FDD02B MotorVelocityMotor Velocity Regression Prediction Time Offset Table X Value in kphNN
10, 40, 1000255Kphu9p7_T




t_MtrVelTimeOffsetYTbl_uS_u16[3]t_MtrVelTimeOffsetYTbl_uS_u16FDD02B MotorVelocityMotor Velocity Regression Prediction Time Offset Table Y Value in microsecondsNN
0, 100, 30001000uSuint16









































































Sheet 4: Global Constants

MotorVelocity - Rev 13








































































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
D_MAXCONF_ULS_U8P8
UlsU8P8256

















































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































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)