where IECU is an estimate of current drawn and is an optional offset to account for current drawn by the control circuit;
da, db, and dc are the duty ratios for the PWM signal for each of the phases a, b and c; and
ia, ib, and ic are the instantaneous phase currents during the conductive part of the PWM cycle.