microDRIVE LPi
Diagnostics
Data Logging
the micro drive lpi units have automatic logging built in, with a configurable rate the log is circular, so it is constantly available for data acquisition and the oldest data being overridden a completely full log can take 20 40 seconds to download off the micro drive lpi over usb and several minutes over can bus once loaded, they can be saved to a csv or viewed with the log chart viewer csvs should be downloaded and sent for analysis when required the configuration tool also supports an automatic upload feature to send files to the hargrave team for further analysis and troubleshooting the downloaded csv will also store the configuration applied to the unit during log retrieval, including settings and firmware version logged data is cleared between successful firmware updates by the unit automatically and when the logging rate is changed certain logging data fields can be disabled, this will increase the number of data points that can be logged before being overridden toggling a logging data field on or off will cause the logs to be cleared when the unit restarts logged data the following data is logged, which may vary between firmware versions, along with a description data point unit description bus voltage volts the measured input voltage to the esc bus current amps the measured input current to the esc bridge temperature degrees c the temperature of the 3 phase bridge this is the primary heat source with the esc electrical rpm rpm the current applied speed of the motor as electrical rpm when viewing in the configuration tool it is displayed as mechanical rpm using the configured motor pole pairs input duty cycle % the requested duty cycle, as reported by the input signal system, regardless of signal input type output/motor duty cycle % the current applied duty cycle to the 3 phase bridge if this does not equal the input duty cycle, the esc is actively limiting the output phase current amps the output current to the 3 phase bridge this is always higher than the bus current and should remain within the esc limits power watts the measured input power to the esc voltage ripple deviation % the voltage ripple measured on the input to the esc under steady state loads, this should be below + 5% of the bus voltage a higher voltage ripple is an indicator the system requires more input capacitance mcu temperature degrees c the measured temperature of the main processor within the esc motor temperature degrees c the measured temperature of the connected motor requires a motor with a compatible sensor (ntc or ptc) unit uptime milliseconds the time in ms since the unit powered on recorded status flags the unit stores several boolean flags inside bit fields these are parsed out into their boolean values by the configuration tool, the original bit field values are stored for completeness but can be ignored the following status flags are recorded, which flags are present and their groupings will vary between firmware versions more advanced flags are hidden by default on the configuration tool they can be viewed for assistance with diagnostics status flags these flags indicate certain running states of the unit flag name description motor started the motor is currently running motor active hold the motor is parked and is actively being held in a stationary position with applied duty cycle motor parking the motor is in the process of parking but has not yet parked drive warnings these flags indicate warnings that can affect motor drive but may have not caused drive to be disabled flag name description bus over abs voltage the input bus is over the unit’s absolute voltage limit bus over voltage the input bus is over the unit’s configured voltage limit bus ripple exceeded excess input voltage ripple is present bus under voltage the input bus is below the configured voltage limit motor saturated the motor is approaching current saturation, motor output has been reduced for drive to remain reliable over temperature limit the unit is exceeding the configured over temperature limit drive errors these flags indicate errors related to motor drive which have caused drive to stop flag name description bridge over abs temperature the absolute temperature limit is being exceeded bus voltage abs high the input bus is over the unit’s absolute voltage limit bus voltage user high the input bus is over the unit’s configured voltage limit bus voltage user low the input bus is under the unit’s configured voltage limit hw bridge fault a hardware fault was detected on the 3 phase bridge device flags these flags cover errors and warnings that are not directly drive related flag name description ignore factory calibration saved calibration values are not being used, current and voltage readings may be less accurate input signal lost the throttle control signal is lost and drive has been stopped 3v3 brownout the voltage on the 3 3v line deviated below acceptable levels 3v3 deviation the voltage on the 3 3v line deviated outside the normal range bootloader error an error was detected on the firmware, recovery or bootloader sections of memory this will occur after a firmware update calibration corrupt the saved calibration values on the unit were corrupted and cannot be used please contact the hargrave technologies team can buffer out of memory the can sub system encountered a low memory situation and is unable to process messages if this occurs it is advised to review telemetry settings and bus traffic can off the can sub system is in an off state due to encountering too many errors corrupt settings the settings saved on the device were corrupted default values have been loaded but motor drive is disabled, please reset the settings on the configuration tool error flash corrupt the on device errors were corrupted and reset external oscillator failure the primary device clock source has failed this is indicative of unit failure please contact support external oscillator fallback the unit has resorted to using the fallback clock source please contact support firmware corrupt the firmware partition was corrupted and firmware was restored from the recovery partition firmware error the system encountered an invalid state or configuration and has shut off drive firmware updated the firmware of the device was updated on start up logging system error the logging system has encountered an error logs force cleared at boot due to a firmware update or logging configuration change the logging data was cleared motor temperature error the connected motor temperature sensor is returning invalid readings and is not operating correctly recovery corrupt the recovery partition was corrupt and was overwritten with firmware watchdog overrun a software crash was detected, causing unit to restart bridge limiters these flags indicate that the firmware intervened to limit the motor duty cycle output or its rate of change to protect the system flag name description limiter bus current limit motor duty cycle is being restricted to not exceed the bus current limit limiter phase current limit motor duty cycle is being restricted to not exceed the phase current limit limiter ramp down rate the motor duty cycle ramp has been limited from decreasing down faster than the ramp down rate limiter ramp to stop rate the motor duty cycle ramp has been limited from ramping down to a stop faster than the ramp to stop rate this is the rate at which the duty cycle will decrease when zero duty cycle is requested limiter ramp up rate the motor duty cycle has been limited from increasing faster than the ramp up rate limiter bus regen current the rate of decrease of the motor duty cycle has been limited to prevent excessive regeneration current limiter bus voltage high the rate of decrease of the motor duty cycle has been limited to prevent excessive regeneration current which could cause voltage spikes on the bus limiter bus voltage low the rate of increase of the motor duty cycle has been limited to 0 the duty cycle is unable to increase from the current value limiter maximum rpm the motor duty cycle has been limited to prevent the rpm limit from being exceeded limiter minimum duty the motor duty cycle has been limited to not go below the configured minimum duty cycle limiter motor over temp the motor duty cycle is being restricted to prevent the motor exceeding the temperature limit limiter over temperature the motor duty cycle is being restricted to prevent the motor controller temperature from exceeding the limit limiter phase regen current the rate of decrease of the motor duty cycle has been limited to prevent excessive regeneration current esc signal these flags indicate the state of the esc throttle signal flag name description esc signal acquired the motor controller has a valid throttle signal esc signal armed the throttle signal to the motor controller is ‘armed’ arming switch on the secondary arming switch is in the ‘armed’ position dronecan signal acquired the motor controller has a valid dronecan signal dronecan signal armed the system has received a dronecan arming message within the timeout period serial signal acquired the motor controller has a valid serial throttle signal advanced flags these flags are for more advanced troubleshooting flag name description afw engaged regenerative braking/active freewheeling (afw) is engaged demag immeasurable the motor controller is unable to accurately measure demagnetization of the motor if this flag is active under steady state conditions the motor may be unfit for the system additional data there are additional field and status flags recorded that are only available to the hargrave technologies support team please contact us for further diagnostics support if required