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.

Hardware Optimisation for BOOSTXL-DRV8301

Other Parts Discussed in Thread: BOOSTXL-DRV8301, DRV8301

Hello,

At the moment, without any changes made to the HW, I am getting the same performance level from InstaSPIN as my other ESC. I followed the lab guides, and have done multiple tests but I don't notice any major differences in efficiency at all. [I used a Watt meter to calculate the input power, and I calculated the thrust generated from the rotor blades to work out the output power.] I read that many users found success in boosting overall efficiency by ~20% using InstaSPIN. The only step I haven't taken yet is HW optimisation, and I assume this is necessary in order to see the same result as the others.

I have been reading the Spruhj1f document, and I see Section 5.2.3-5.2.5 give examples on the calculation procedures. I'm currently using BOOSTXL-DRV8301, am I right to assume that I should follow the same procedure as well? What resistors and capacitors do I need to change? I'm confused by the schematic of DRV8301 Boosterpack's "Phase C Current Sense" diagram, because I see two amplifiers there and I'm not quite sure how to approach the "U3B" part.

a) For the Current Feedback Gain, I attempted "U3A" and I had R43 and R47 as the Rfbk, R44 and R45 as Rin (1.00k Ohm), and R34 as the shunt resistor (0.01k Ohm).

Iin is 15A:

(3.3 - 1.65) / (15 x 0.01) = 11
Rfbk = 11 x Rin = 11k Ohm with Rin = 1k Ohm

So I should change R43 and R47 to 11k Ohm resistors, am I right? (R43 and R47 are currently 10k Ohm)

b) For Voltage Feedback,

Vamax is 19.5V (15V + 30% headroom)

19.5 = 3.3 x (4.99k + Rvu) / 4.99k
Rvu = 24.5k Ohm

So I need to replace R37, R39 and R41 with 24.5k Ohm resistors, am I also right? (R37, R39 and R41 are currently 34.8k Ohm)

c) Filter pole... pardon my newbie question but what is "filter pole" exactly?

C34, C35 and C36 are 0.1e-6 F

Ffilter_pole = 1 / [2 x Pi x 0.1e-6 x (24.5k x 4.99k / 24.5k + 4.99k)]  = 383.91 Hz

But from the DRV8301 EVM HW guide, there seems to be a different approach:

  • My motor has 7 pole pairs; 9 kRPM
    • Hz = RPM x Poles / 120 = 9000 x 14 / 120 = 1050 Hz
    • Select 1100 Hz (>1050 Hz)
  • Rvu = 24.5k Ohm and Rvl = 4.99k Ohm

Ffilter_pole = 1100 Hz = 1 / [2 x Pi x (24.5k x 4.99k / 24.5k + 4.99k) x C]
C = 34.9 nF

So am I supposed to change the capacitors? If so, are my calculations correct?

Thanks,

Yau

  • "I am getting the same performance level from InstaSPIN as my other ESC. I followed the lab guides, and have done multiple tests but I don't notice any major differences in efficiency at all. [I used a Watt meter to calculate the input power, and I calculated the thrust generated from the rotor blades to work out the output power.] I read that many users found success in boosting overall efficiency by ~20% using InstaSPIN. "

    Are you calculating efficiency only at maximum torque?
    If so, you won't see any differences. In fact, a block commutation ESC will produce more torque than InstaSPIN-FOC (if using default 1.0 modulation) at full torque. This is simple phsyics. The block commutation switching can provide more average voltage to the phases hence more current hence more power.

    Where FOC improves efficiency is all the times when you are NOT needing to produce maximum torque. FOC is minimum current for necessary torque. Block commutation is using more voltage than necessary at many of the other times, especially during accel/decal and load changes. So it is only over the full use case of a dynamic application that you will see efficiency gains. Just looking at power out / power in at maximum power usage is not showing you the full picture.


    Changing the hardware will not really have any perceivable effect on this topic. However, I should comment that your voltage filter pole is incorrect (the User Guide is not accurate on this topic).

    We do not need nor want the voltage filter pole > maximum frequency of the motor. For high speed motors this pole becomes too high and you start seeing more channel to channel error caused by the HW filter component drift. It is better to keep this pole < 500 Hz.

    The only stipulation is that the USER_IQ_FULL_SCALE_FREQUENCY_Hz variable must always remain < 4 * this filter pole.

    So if you need to set this variable to 1600 Hz you would want to keep this filter pole > 400 Hz (+ some buffer).

    Changing the current and voltage scaling really isn't going to buy you much at this point, but you can choose to do this on your own HW when you design. I didn't check your math, but it looks like you understand the equations.
  • ChrisClearman said:
    "I am getting the same performance level from InstaSPIN as my other ESC. I followed the lab guides, and have done multiple tests but I don't notice any major differences in efficiency at all. [I used a Watt meter to calculate the input power, and I calculated the thrust generated from the rotor blades to work out the output power.] I read that many users found success in boosting overall efficiency by ~20% using InstaSPIN. "

    Are you calculating efficiency only at maximum torque?
    If so, you won't see any differences. In fact, a block commutation ESC will produce more torque than InstaSPIN-FOC (if using default 1.0 modulation) at full torque. This is simple physics. The block commutation switching can provide more average voltage to the phases hence more current hence more power.

    Where FOC improves efficiency is all the times when you are NOT needing to produce maximum torque. FOC is minimum current for necessary torque. Block commutation is using more voltage than necessary at many of the other times, especially during accel/decal and load changes. So it is only over the full use case of a dynamic application that you will see efficiency gains. Just looking at power out / power in at maximum power usage is not showing you the full picture.

    I calculated the power output and power input at different RPM speed (1000 to 9000 RPM, which is the max speed), both ESC and InstaSPIN-FOC have the same power consumption across the speed range. Does that mean I haven't tuned my InstaSPIN-FOC well enough to reduce the current and voltage needed for necessary torque?


    ChrisClearman said:
    Changing the hardware will not really have any perceivable effect on this topic. However, I should comment that your voltage filter pole is incorrect (the User Guide is not accurate on this topic).

    We do not need nor want the voltage filter pole > maximum frequency of the motor. For high speed motors this pole becomes too high and you start seeing more channel to channel error caused by the HW filter component drift. It is better to keep this pole < 500 Hz.

    The only stipulation is that the USER_IQ_FULL_SCALE_FREQUENCY_Hz variable must always remain < 4 * this filter pole.

    So if you need to set this variable to 1600 Hz you would want to keep this filter pole > 400 Hz (+ some buffer).

    My USER_IQ_FULL_SCALE_FREQUENCY_Hz variable is 1050 Hz, so I guess I should keep the default voltage filter pole value 364.682 Hz. Thanks.

  • "I calculated the power output and power input at different RPM speed (1000 to 9000 RPM, which is the max speed), both ESC and InstaSPIN-FOC have the same power consumption across the speed range. Does that mean I haven't tuned my InstaSPIN-FOC well enough to reduce the current and voltage needed for necessary torque? "

    you are making these calculations at steady state speed and load I assume? With a well tuned BLDC controller you can certainly get equivalent efficiency at a steady state. There could be things that could be slightly better tuned on the InstaSPIN-FOC solution, specifically insuring the motor parameters are accurate and the speed loop is properly tuned. But overall this doesn't surprise me.

    It is when you start looking at the overall power use in a full application that you should start to see FOC make small gains (5-20% is what is reported).

    There are also the other advantages of lower peak currents and better dynamic accel/decal...but depends if your application really benefits from that or not.

    For a hobby style ESC it would be pretty hard to justify InstaSPIN-FOC for a very low cost "consumer" style application. For an industrial / military / prosumer application it could make sense.