Other Parts Discussed in Thread: CONTROLSUITE
I don't understand the following usage of PHASEVOLT_MACRO found in a DMC example ( source: C:\ti\controlSUITE\development_kits\HVMotorCtrl+PfcKit_v2.1\HVACI_Sensorless_PFC_F2803x\HVACI_Sensorless_PFC.c)
// ------------------------------------------------------------------------------ // Connect inputs of the VOLT_CALC module and call the phase voltage calc. macro // ------------------------------------------------------------------------------ volt1.DcBusVolt = _IQ12toIQ(AdcResult.ADCRESULT7); // DC Bus voltage meas. volt1.MfuncV1 = svgen1.Ta; volt1.MfuncV2 = svgen1.Tb; volt1.MfuncV3 = svgen1.Tc; PHASEVOLT_MACRO(volt1)
I expected Ta,Tb,Tc values (outputs of SVGENDQ_MACRO) to be scaled to (0,1) range before being used as inputs of PHASEVOLT_MACRO (where MfuncV1,V2,V3 are inverter upper switching functions S1,S2,S3). But I didn't find any scaling in the code.
Am I missing something?