The problem is observed in EBiCS custom display module (the motor should be driving by the chain, turning in reverse direction while the wheels are turning backwards; clutches are connected in this case): value of uint16_t Fuel_Consumption = MS->Battery_Current / 10; becomes 0xF83A, which means 635 A, or -19.9 A if I treat it as a complement code value of a minus number. Actually there's no current.
This problem probably exists with other meters.
Note: it seems like MS.Battery_Current is calculated by FOC and PI algorithms, I don't understand the problem well...
The problem is observed in EBiCS custom display module (the motor should be driving by the chain, turning in reverse direction while the wheels are turning backwards; clutches are connected in this case): value of
uint16_t Fuel_Consumption = MS->Battery_Current / 10;becomes0xF83A, which means 635 A, or -19.9 A if I treat it as a complement code value of a minus number. Actually there's no current.This problem probably exists with other meters.
Note: it seems like
MS.Battery_Currentis calculated by FOC and PI algorithms, I don't understand the problem well...