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.

motor current sum on DRV8301

Other Parts Discussed in Thread: MOTORWARE, DRV8301

We are successfully using your DRV8301-69M-Kit (D) and LAUNCHXL Board together with motorware 1.01.00.16.


For analysis purpose we need to show customer current values for our 12 V, 2.4 A BLDC Motor.


We calculated the effective phase current values by RMS calculation over one electrical rotation for the three AdcData.I.values. Calculated values are sufficiently matching measured values at different load situations.


But the Motor current sum calculation is quite inaccurate. We used Iq and AdcData.U.values (U also as RMS over one rotation) and your answers to the "F28027 + DRV8301 motor power measurement" question. But their accuracy is not very good. Can you give a hint how to calculate the total motor current with motorware?

Thanks in advance for your support!

  • You need to add yourself code to use the square root method to calculate the phase current if you want to get a correct value.
    1. Calculate the sample points number of the electric frequency.
    2. Calculate the square sum of all sample points.
    3. Calculate the square root of the sample sum.
    4. Multiply the scale current to convert the value to Ampere.