EFeru / hoverboard-firmware-hack-FOC

With Field Oriented Control (FOC)
GNU General Public License v3.0
1.16k stars 960 forks source link

What is the input torque unit? #428

Closed Timu5 closed 1 year ago

Timu5 commented 1 year ago

Variant

USART

Control type

FOC

Control mode

Torque

Description

Torque input is a value from -1000 to 1000, what kind of unit is it? I assume it's -100.0% to 100.0%. But is it related to motor current?

Timu5 commented 1 year ago

It seems it is proportional to max current. eg 1000 = 100% * I_max