Fixing Motor Error

I keep getting this motor error after going through the getting started configuration for my motor on Odrive 3.6.

After configuration I instruct the Odrive to move the motor one or two turns in one direction than a turn or two back to check functionality. There is no significant load on the motor.

I’m thinking there is either something wrong with my setup or something else I should be configuring?

system: no error
axis0
axis: no error
motor: Error(s):
MotorError.UNKNOWN_TORQUE
MotorError.UNKNOWN_VOLTAGE_COMMAND
DRV fault: none
sensorless_estimator: no error
encoder: no error
controller: Error(s):
ControllerError.OVERSPEED

The configuration for my motor is as follows:

odrv0.axis0.motor.config.current_lim = 40 <== Using Meanwell SE-450-24 Power Supply
odrv0.axis0.motor.config.calibration_current = 20
odrv0.axis0.controller.config.vel_limit = 2
odrv0.config.enable_brake_resistor = 1
odrv0.config.brake_resistance = 2.0
odrv0.config.dc_max_negative_current = -0.01
odrv0.axis0.motor.config.pole_pairs = 7 <== Motor = D6374
odrv0.axis0.motor.config.torque_constant = 0.0551
odrv0.axis0.motor.config.motor_type = 0
odrv0.axis0.encoder.config.cpr = 20480 <== ENCODER = CUI AMT10E2-V

odrv0.save_configuration()

odrv0.axis0.requested_state = AXIS_STATE_FULL_CALIBRATION_SEQUENCE
odrv0.axis0.requested_state = AXIS_STATE_CLOSED_LOOP_CONTROL

odrv0.axis0.controller.input_pos = 0.02
odrv0.axis0.controller.input_pos = 0.5
odrv0.axis0.controller.input_pos = -2
odrv0.axis0.controller.input_pos = -1 <== NO RESPONSE

Looks like I slayed this one, too.

I set the controller.config.vel_limit = 4 and it has been running for hours now without a fault.

1 Like

Wrong.

Still getting:

axis1
axis: no error
motor: Error(s):
MotorError.UNKNOWN_TORQUE
MotorError.UNKNOWN_VOLTAGE_COMMAND
DRV fault: none
sensorless_estimator: no error
encoder: no error
controller: Error(s):
ControllerError.OVERSPEED

I’m out of ideas.

Generally either an encoder calibration issue or just vel_limit set too low / is too noisy.

I think the velocity limit is set to 10.

I recently converted to two Odrive Pros with the 1/2 meter long RS485 encoders. Same issue.

I’ll try bumping up the velocity limit and see what happens.

Thanks for your help!