Data Dictionary


Overview

Change Log
Variable Dictionary
Calibration Dictionary
Global Constants
Template
Help


Sheet 1: Change Log

Bulk Capacitor Precharge - Rev 4<- Global Program / Module Name


RevisionAuthorDateChange Description

Data Dictionary Type:Component
1.0OT19-Sep-12Initial Version



2OT20-Sep-12UTP Updates



3OT24-Oct-12Anomaly 3912 - added modular internal variables



4Selva25-Feb-13updated to version 3



5BDO21-Jun-13UTP updates - added variable and global constant




























































































































































































































































































































Sheet 2: Variable Dictionary

Bulk Capacitor Precharge - Rev 4

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




















OVERRIDESIGDIAGADC_Volt_f32OVERRIDE_SIG_DIAG_ADC
ADC Converted representation of the Override signal diagnostic monitor pointI

005Single Precision Float
Voltsfloat32







PMOSDIAGADC_Volt_f32PMOS_DIAG_ADC
ADC Converted representation of the PMOS Diagnostic monitor pointI

005Single Precision Float
Voltsfloat32







MotorVelocityMRFUnfiltered_MtrRadpS_f32Motor_Velocity_MRF_Unfiltered
Unfiltered version of motor velocityI

0-11181118Single Precision Float
MtrRadpSfloat32







Batt_Volt_f32Vbatt_ADC
ADC converted representation of Vbatt (Upstream of Power Disconnect)I

0530Single Precision Float
Voltsfloat32







BattSwitched_Volt_f32Vswitch_ADC
ADC converted representation of Vswitch (Downstream of Power Disconnect)I

0020Single Precision Float
Voltsfloat32







PwrDiscATestStart_Cnt_lgc


I

001n/a
Countsboolean







PwrDiscBTestStart_Cnt_lgc


I

001n/a
Countsboolean







PwrDiscClosed_Cnt_lgcPwrDisc_ClosedFDD11B BulkCapacitorPrechargeAndPowerDisconnectFlag indicating that the power disconnect is closedO

001n/an/aCountsboolean







PwrDiscATestComplete_Cnt_lgcPwrDiscA_Test_CompleteFDD11B BulkCapacitorPrechargeAndPowerDisconnectFlag indicating that the sequence A is completeO

001n/an/aCountsboolean







PwrDiscBTestComplete_Cnt_lgcPwrDiscB_Test_CompleteFDD11B BulkCapacitorPrechargeAndPowerDisconnectFlag indicating that the sequence B is completeO

001n/an/aCountsboolean







FirstRunComplete_Cnt_M_lgc
FDD11B BulkCapacitorPrechargeAndPowerDisconnect
M

001n/an/aCountsboolean







PowerRelayInitFltFailed_Cnt_M_lgc
FDD11B BulkCapacitorPrechargeAndPowerDisconnect
M

001n/an/aCountsboolean







PwrDiscATestComplete_Cnt_M_lgc
FDD11B BulkCapacitorPrechargeAndPowerDisconnect
M

001n/an/aCountsboolean







PwrDiscBTestComplete_Cnt_M_lgc
FDD11B BulkCapacitorPrechargeAndPowerDisconnect
M

001n/an/aCountsboolean







PwrDiscClosed_Cnt_M_lgc
FDD11B BulkCapacitorPrechargeAndPowerDisconnect
M

001n/an/aCountsboolean







BulkCapPrechargeState_Cnt_M_enumBulkCapPrecharge StateFDD11B BulkCapacitorPrechargeAndPowerDisconnect
M

00710.00E+00Counts








RunTimeFaultAcc_Cnt_M_u16
FDD11B BulkCapacitorPrechargeAndPowerDisconnect
M

006553510.00E+00Countsuint16







VerifyDiscOpenDiagTimer_mS_M_u32
FDD11B BulkCapacitorPrechargeAndPowerDisconnect
M

00429496729511.00E+00mSuint32







WaitForSqrWaveDiagTimer_mS_M_u32
FDD11B BulkCapacitorPrechargeAndPowerDisconnect
M

00429496729511.00E+00mSuint32







PrechargeDiagTimer_mS_M_u32
FDD11B BulkCapacitorPrechargeAndPowerDisconnect
M

00429496729511.00E+00mSuint32







PostCloseDiagTimer_mS_M_u32
FDD11B BulkCapacitorPrechargeAndPowerDisconnect
M

00429496729511.00E+00mSuint32







VerifyCloseDiagTimer_mS_M_u32
FDD11B BulkCapacitorPrechargeAndPowerDisconnect
M

00429496729511.00E+00mSuint32







VdischMax_Volts_M_f32VdischMaxFDD11B BulkCapacitorPrechargeAndPowerDisconnect
M

0021Single Precision Float4.88E-04Voltsfloat32







VdischMin_Volts_M_f32VdischMinFDD11B BulkCapacitorPrechargeAndPowerDisconnect
M

0019Single Precision Float4.88E-04Voltsfloat32







VbattStart_Volts_M_f32
FDD11B BulkCapacitorPrechargeAndPowerDisconnect
M

0030Single Precision Float4.88E-04Voltsfloat32







VswitchStart_Volts_M_f32
FDD11B BulkCapacitorPrechargeAndPowerDisconnect
M

0020Single Precision Float4.88E-04Voltsfloat32







MotionDetected_Cnt_D_lgcMotion_DetectedFDD11B BulkCapacitorPrechargeAndPowerDisconnect
D

001n/an/aCountsboolean







DeltaV_Volts_D_f32Delta_VFDD11B BulkCapacitorPrechargeAndPowerDisconnect
D

0-2030Single Precision Float9.77E-04Voltsfloat32







VswitchCorrected_Volts_D_f32Vswitch_CorrectedFDD11B BulkCapacitorPrechargeAndPowerDisconnect
D

00120Single Precision Float1.95E-03Voltsfloat32







D_PWRDISCCONFIGURATION_CNT_U08D_PWRDISCCONFIGURATION_CNT_U08FDD11B BulkCapacitorPrechargeAndPowerDisconnectA program specific power disconnect configuration variable: 1 - Configuration A (Power Disconnect supplies power to gate drive only. Bridge and Bulk cap are hot at all times). 2 - Configuration B (Power Disconnect supplies power to gate drive, bridge and bulk cap). (ES-11B)


11210.00E+00Countsuint8


































































































































































Sheet 3: Calibration Dictionary

Bulk Capacitor Precharge - Rev 4


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_MtrMotionThresh_MtrRadpS_f32k_MtrMotionThreshFDD11B BulkCapacitorPrechargeAndPowerDisconnectThreshold value used to determine if the motor is movingN

1000700MtrRadpSfloat32




k_MaxSwitchedVolt_Volts_f32k_MaxSwitchedVolt_VoltsFDD08B BatterySwitchedVoltageVoltage transition point to switch between Switched Battery and Battery voltageN

16031Voltsfloat32




k_PwrDiscOpenThresh_Volts_f32k_PwrDisc_Open_ThreshFDD11B BulkCapacitorPrechargeAndPowerDisconnect
N

2030Voltsfloat32




k_PMOSDIAGOpenThresh_Volts_f32k_ PMOS_DIAG _ Open _ThreshFDD11B BulkCapacitorPrechargeAndPowerDisconnect
N

0.5030Voltsfloat32




k_OVERRIDESIGDIAGOpenThresh_Volts_f32k_ OVERRIDE_SIG_DIAG _ Open _ThreshFDD11B BulkCapacitorPrechargeAndPowerDisconnect
N

0.5030Voltsfloat32




k_VerifyPwrDiscOpenThresh_mS_u16k_VerifyPwrDiscOpen_ThreshFDD11B BulkCapacitorPrechargeAndPowerDisconnect
N

10002000mSuint16




k_WaitForSqrWaveThresh_mS_u16k_WaitForSqrWave_ThreshFDD11B BulkCapacitorPrechargeAndPowerDisconnect
N

10002000mSuint16




k_PwrDiscCloseThresh_Volts_f32k_PwrDisc_Close_ThreshFDD11B BulkCapacitorPrechargeAndPowerDisconnect
N

0.5030Voltsfloat32




k_PrechargeThresh_mS_u16k_Precharge_ThreshFDD11B BulkCapacitorPrechargeAndPowerDisconnect
N

40002000mSuint16




k_PMOSVError_Volts_f32k_PMOS_VErrorFDD11B BulkCapacitorPrechargeAndPowerDisconnect
N

1030Voltsfloat32




k_PMOSTError_mS_u16k_PMOS_TErrorFDD11B BulkCapacitorPrechargeAndPowerDisconnect
N

500500mSuint16




k_MaxDischEst_Uls_f32k_MaxDischEstFDD11B BulkCapacitorPrechargeAndPowerDisconnectMaximum discharge estimator tau equivalentN

0.9901Unitlessfloat32




k_MinDischEst_Uls_f32k_MinDischEstFDD11B BulkCapacitorPrechargeAndPowerDisconnectMinimum discharge estimator tau equivalentN

0.9801Unitlessfloat32




k_VswitchDeltaThresh_Volts_f32k_Vswitch_Delta_ThreshFDD11B BulkCapacitorPrechargeAndPowerDisconnectMaximum delta voltage before which the power disconnect is considered openN

0.5030Voltsfloat32




k_VerifyPwrDiscCloseThresh_mS_u16k_VerifyPwrDiscClose_ThreshFDD11B BulkCapacitorPrechargeAndPowerDisconnectMaximum time allotted to determine if the power disconnect is indeed closedN

1000500mSuint16




k_ChargePumpDiag_Cnt_str
FDD11B BulkCapacitorPrechargeAndPowerDisconnectCharge pump min delta fault accumulator parametersN

{100, 4, 1}


DiagSettings_Str




k_ChargePumpDiag_Cnt_str.ThresholdK_ChargePump_ThresholdFDD11B BulkCapacitorPrechargeAndPowerDisconnect
N

10001000Counts





k_ChargePumpDiag_Cnt_str.PStepK_ChargePump_PstepFDD11B BulkCapacitorPrechargeAndPowerDisconnect
N

401000Counts





k_ChargePumpDiag_Cnt_str.NStepK_ChargePump_NstepFDD11B BulkCapacitorPrechargeAndPowerDisconnect
N

101000Counts





k_VbattSwitchThreshNonExt_Volt_f32k_VbattSwitchThresh_NonExtFDD11B BulkCapacitorPrechargeAndPowerDisconnect
N

7030Voltfloat32




k_VbattSwitchThreshExNorm_Volt_f32k_VbattSwitchThresh_ExNormFDD11B BulkCapacitorPrechargeAndPowerDisconnect
N

8030Voltfloat32




k_ChargeMinDeltaNonOp_Volt_f32k_ChargeMinDelta_NonOpFDD11B BulkCapacitorPrechargeAndPowerDisconnect
N

0030Voltfloat32




k_ChargeMinDeltaExtOp_Volt_f32k_ChargeMinDelta_ExtOpFDD11B BulkCapacitorPrechargeAndPowerDisconnect
N

5030Voltfloat32




k_ChargeMinDeltaNormlOp_Volt_f32k_ChargeMinDelta_NormalOpFDD11B BulkCapacitorPrechargeAndPowerDisconnect
N

6030Voltfloat32





Sheet 4: Global Constants

Bulk Capacitor Precharge - Rev 4








































































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
STD_LOW
Countsuint80








































































STD_HIGH
Countsuint81








































































RTE_E_OK
Countsuint80





















































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































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)