This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DRV8323: F28027 + DRV8323 motor power measurement

Part Number: DRV8323
Other Parts Discussed in Thread: MOTORWARE

I am using the below equations to calculate power for a 28027 chip running lab 10a with an 8323 driver. 

float_t input_power_sf = _IQtoF(gAdcData.dcBus) * (float_t)(0.5 * USER_IQ_FULL_SCALE_VOLTAGE_V * USER_IQ_FULL_SCALE_CURRENT_A);

  float_t input_power_W = Input_power_sf * _IQtoF(_IQmpy(gPwmData.Tabc.value[0], gAdcData.I.value[0]) +
_IQmpy(gPwmData.Tabc.value[1], gAdcData.I.value[1]) +
_IQmpy(gPwmData.Tabc.value[2], gAdcData.I.value[2]));

// Equations for motor power
float_t motor_power_W = _IQtoF(gMotorVars.Torque_Nm) * _IQtoF(gMotorVars.Speed_krpm) * (float_t)(MATH_TWO_PI * 1000.0 / 60.0);

I seem to get about half the input power I would expect and get more accurate numbers if I remove the 0.5 factor in the input_power_sf calculation. 

Am I missing something or is removing the 0.5 to correct solution? when I do I get fairly close to measured values.