Arduino-FOC icon indicating copy to clipboard operation
Arduino-FOC copied to clipboard

[FEATURE] High-side current sensoring for stepper motor

Open StreakingJerry opened this issue 7 months ago • 0 comments

Hi,

TI offers excellent chips like the DRV8262/8962 for stepper motors. However, both of these chips feature an integrated high-side current sensor. From reading your documents, I understand that for stepper motors, the shunt resistor measures the current for the entire H-bridge. Based on this, it seems to me that it shouldn’t matter whether I use the high side code or the low side code. If there is current in the high-side shunt, there must also be current in the low-side shunt.

That said, I am using the low-side configuration, but I am unable to get correct current measurements.

Additionally, I’m not entirely sure if my understanding is correct. For BLDC, can high-side current measurement be achieved by simply making small modifications to the low-side sensing code, such as adjusting the measurement phase at specific times?

StreakingJerry avatar Apr 20 '25 17:04 StreakingJerry