Skip to content

Wrong current indication may occur while pushing back the bicycle #50

Description

@wuwbobo2021

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions