Quantcast
Channel: Motor drivers forum - Recent Threads
Viewing all articles
Browse latest Browse all 14309

DRV8323: F28027 + DRV8323 motor power measurement

$
0
0

Part Number:DRV8323

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. 


Viewing all articles
Browse latest Browse all 14309

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>