Motor doesn't move and Phase_Resistance_Out_of_Range

Hello. I have an Odrive for sometime now, but I can’t make it work.

My hardware is a 24V 30A PSU, an AS5047 Encoder with the 3.3V jumper, a SK3 5065 275KV motor and I’m running ODrivetool in a Raspberry Pi 3.

Since I have been trying multiple times this time I started with a erase_configuration() and reboot(). I checked the vbus_voltage and I get 24.02. Cool.

Then I config everything according to my hardware and reading the Getting Started guide.

My odrv0.axis0.motor.config:

pre_calibrated = False (bool)
pole_pairs = 7 (int)
calibration_current = 10.0 (float)
resistance_calib_max_voltage = 2.0 (float)
phase_inductance = 0.0 (float)
phase_resistance = 0.0 (float)
direction = 0 (int)
motor_type = 0 (int)
current_lim = 10.0 (float)
current_lim_tolerance = 1.25 (float)
inverter_temp_limit_lower = 100.0 (float)
inverter_temp_limit_upper = 120.0 (float)
requested_current_range = 60.0 (float)
current_control_bandwidth = 1000.0 (float)

My odrv0.axis0.encoder.config:

mode = 0 (int)
use_index = False (bool)
find_idx_on_lockin_only = False (bool)
pre_calibrated = False (bool)
zero_count_on_find_idx = True (bool)
cpr = 4000 (int)
offset = 0 (int)
offset_float = 0.0 (float)
enable_phase_interpolation = True (bool)
bandwidth = 1000.0 (float)
calib_range = 0.019999999552965164 (float)
calib_scan_distance = 50.26548385620117 (float)
calib_scan_omega = 12.566370964050293 (float)
idx_search_unidirectional = False (bool)
ignore_illegal_hall_state = False (bool)

Save and reboot.

Then I tried odrv0.axis0.requested_state = AXIS_STATE_FULL_CALIBRATION_SEQUENCE. Nothing happend. Not a small move, not a beep. Nothing.

In the dump errors:

dump_errors(odrv0)
axis0
axis: Error(s):
ERROR_MOTOR_FAILED
motor: Error(s):
ERROR_PHASE_RESISTANCE_OUT_OF_RANGE
encoder: no error
controller: no error
axis1
axis: no error
motor: no error
encoder: no error
controller: no error

I cannot go anything further than this.

I have read the forum, nothing works on me. I made sure than my motor and encoder are in M0 and I have check the wires.

My phisical setup is something like this:

1

What can I do?

Thanks

This typically just means your motor wires aren’t connected properly - (are you using the correct axis?), or your motor is high resistance for some other reason. But if you want to tune it a bit, you can use the information here https://docs.odriverobotics.com/troubleshooting#common-motor-errors.

I agree with Wetmelon. I got both of the errors:

  • ERROR_PHASE_RESISTANCE_OUT_OF_RANGE,
  • ERROR_PHASE_INDUCTANCE_OUT_OF_RANGE

every now and then on two completely different motors with cut motor wires. The coating on the cables were “impossible” to remove… I also used a knife to scratch it off and even though the wire leads looked ok, ODrive and VESC were not able to run the motor properly.

You guys were right.

I de-solded my wires and attach them directly and works. It’s seems that I did something wrong while solder.

I heard a beep and the motor move in one direction, but not in the other.

I now have an encoder error. ERROR_NO_RESPONSE. This is because something isn’t connected right.

I’m using AS5047P-TS_EK_AB with the 3.3V jumper as it says in the docs. ( It’s a jumpwire between pin 2 and 3 in JP1, right?)

Everything is connected in the correct axis, so I guess this is the only failure option now.