DC_BUS_UNDER_VOLTAGE during position control

I’m testing an 8318 motor connected directly to a pretty big flywheel (moment of inertia = roughly 0.006 kg/m^2). I don’t know if the inertia is relevant, just mentioning that in case it is. I’m using a power supply that can only supply 28.5V max and a 56V Odrive. The encoder is an AS5047P with AB interface hooked up (I don’t need index). Motor and encoder calibration work fine without any issues. After running <axis>.controller.input_pos = 1, the motor accelerates and then coasts. I get the following errors:

 system: Error(s):
  ODRIVE_ERROR_DC_BUS_UNDER_VOLTAGE
axis0
  axis: no error
  motor: Error(s):
    MOTOR_ERROR_SYSTEM_LEVEL
  sensorless_estimator: no error
  encoder: no error
  controller: no error
axis1
  axis: no error
  motor: Error(s):
    MOTOR_ERROR_SYSTEM_LEVEL
    MOTOR_ERROR_UNKNOWN_TORQUE
  sensorless_estimator: no error
  encoder: no error
  controller: Error(s):
    CONTROLLER_ERROR_SPINOUT_DETECTED

I’ve already tried increasing current_control_bandwidth to 2000 to no avail. Any idea what’s going on here?

Actually, I wonder if the power supply just can’t provide enough power. Might try a battery tomorrow.

2 Likes

Yeah, that was the problem. It works fine with a battery.

3 Likes