microDRIVE LPi
Telemetry
DroneCAN Telemetry
dronecan telemetry is sent using the following messages, each message type has a configurable frequency to be sent at, see 1034 esc status this is the primary dronecan esc telemetry message, by default it is sent at 10 hz the implementation of the error count field deviates from the dronecan specification as described below 1034 esc status dronecan dsdl reference error flags the exact structure is currently undergoing integration and testing and may change in the future please refer to changelogs for more information to quickly reveal error conditions and warnings, the esc status message error count field is used as a custom error/warning flag bitfield instead of counting total errors this deviates from the dronecan specification when there are no errors, this field will always read 0 when an error or warning condition is active, the most significant bit (msb, bit index 31) is set to signal that this is a custom warning from there, the flags are set to true according to the following conditions bit position error/warning description 0 over temperature temperature has exceeded the configured temperature limit 1 bus over current bus current has exceeded the configured bus current limit 2 phase over current phase current has exceeded the configured phase current limit 3 over voltage bus voltage has crossed over the over voltage threshold 4 under voltage bus voltage has crossed under the under voltage threshold 5 excess voltage ripple bus voltage ripple is outside tolerances this can lead to shorter lifetime on the capacitors this can also signal unit degradation and require investigation 6 signal loss set if the throttle signal has timed out 7 motor saturated detected a motor saturation and started reducing output drive (foldback) until control is regained 8 motor over temperature motor temperature has exceeded the configured motor temperature limit 9 rpm limit reached controller has reached the configured maximum rpm limit 10 error active controller has entered error state 11 output shorted bridge detected as shorted during the startup short circuit test 12 startup check failed bridge and comparators have failed startup checks 31 custom status set to true to indicate this custom bitfield is in use 1036 esc status extended this message contains additional esc telemetry by default this is sent at 1 hz 1036 esc status extended dronecan dsdl reference status flags the status flags field is used to communicate more states by default, this is at a lower frequency to the 1034 status message, and is used for less time critical statuses bit position error/warning description 0 motor armed controller is in an armed state and can drive the motor 1 motor running controller is actively driving the motor 2 motor parked controller is parked 3 active free wheeling engaged active free wheeling has been engaged 4 ignoring calibration unit calibration values are being ignored 5 prop parking controller is in the process of parking the motor error flags the circuit status error flags field is unused