Hello,
I need to use the Odrive for an internship project and I was not able to use it until now… I have tried a lot of things yet and read a lot of topics on this discourse but nothing worked.
- Odrive is v3.6 (56V)
- Motor is TSDZ2 Tong Sheng (Hall encoder included)
- Brake resistor is 3.3 Ohm
- I am using relays (see picture)
When I launch odrivetool
on a Raspberry Pi, I have
ODrive control utility v0.5.4
Connected to ODrive 206F3694424D as odrv0
Then if I try a calib:
In [1]: dump_errors(odrv0)
system: no error
axis0
axis: no error
motor: no error
sensorless_estimator: no error
encoder: no error
controller: no error
axis1
axis: no error
motor: no error
sensorless_estimator: no error
encoder: no error
controller: no error
In [2]: odrv0.axis0.requested_state = AXIS_STATE_FULL_CALIBRATION_SEQUENCE
In [3]: dump_errors(odrv0)
system: no error
axis0
axis: no error
motor: Error(s):
MOTOR_ERROR_PHASE_RESISTANCE_OUT_OF_RANGE
sensorless_estimator: no error
encoder: no error
controller: no error
axis1
axis: no error
motor: no error
sensorless_estimator: no error
encoder: no error
controller: no error
When odrv0.axis0.motor.config.resistance_calib_max_voltage
is less or equal to 29.0
I have MOTOR_ERROR_PHASE_RESISTANCE_OUT_OF_RANGE
. When it is more or equals to 30.0
, I have MOTOR_ERROR_PHASE_INDUCTANCE_OUT_OF_RANGE
. Sometimes I have AXIS_ERROR_INVALID_STATE
.
Also when reading odrv0.axis0.encoder.shadow_count
, I always have 0
, even when moving the motor’s axis…
I have tried with three different motors and a precedent intern managed to make this work with the exact same setup (I have just run sudo apt install python3 python3-pip
since he left).
If it is a hardware problem could you tell me how can I test it, I looked at the resistances and tensions and nothing seemed wrong.
Thank you very much for your time.