Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Problem statement

UW Robotics uses odrive V3.6(NRND) as the motor driver to control the odrive 150kv brushless motor. The goal of this document is to describe the current drive setup and to give a guide on how to set up the drive if someone needs to test it. This document also contain characterization data of the current setup.

Environment Setup:

Wiring diagram(hardware):

image-20240522-001804.png

Configuration setup(software):

Testing Process:

  1. Ensure ODrive is connected to a laptop and wired correctly

  2. Add 5 V fuse to positive terminal of power supply

  3. Open the odrivetool in an anaconda terminal

  4. Start with a calibration for axis0 and axis1:

odrv0.axis0.requested_state = AXIS_STATE_FULL_CALIBRATION_SEQUENCE
  1. Switch to closed loop control for axis0 and axis1:

odrv0.axis0.requested_state = AXIS_STATE_CLOSED_LOOP_CONTROL
  1. Test velocity with velocity control:

odrv0.axis0.controller.input_vel = *insert number*

Characterizing result:

  • mechanical motor interference may be causing too much torque, generating high currents

Testing result(May 22):

Environment setup:

  • 3 odrive and 6 motor + gearset

  • all the direction will be described in left and right relative to when a person is facing the skeleton board


Test 1:

Request the right most odrive to turn the right middle motor at speed 10 and 20

Result: both working as expected and are providing strong torque when trying to stop the turning

Test 2:

middle odrive and right last motor

Sent command for full axis calibration, calibration was completed, but when it was turning in reverse direction, observed motor was turning with difficulty. Decided to proceed with velocity testing at 10

7.5 A fuse, sent 3 closed loop control. First time the motor turned, then stopped, 2nd and 3rd did not turn motor locked in. Would twitch but not turn.

7.5 A fuse did not blow but wires are significantly heating, cause safety concern. Powered off after smelling smoke. Switch out alligator clips if overheating occurs.

Test 3: Used odrive 2 with left middle motor, calibration and velocity 10 ran as expected. Points towards mechanical issue with the mounting

Test Summary

  1. All 6 axis on 3 odrives are working correctly on motor gearbox set L2

  2. All other joints are likely to experience manufacturing tolerancing issues

Suggesting Next Steps

  1. Set up encoder motor set on skeleton board for software and firmware to test while mechanical fixes drive train issues

  2. If command send for close loop control does not work, power off and do not send additional commands as that will overheat motor driver in lock-in state. Motor driver and wires will overheat significantly and cause fumes and damage to rest of electronics

  3. Mechanical side will RCA on manufacturing and assembly side

  4. Grease the turning parts or using bearings to make connection smoother. Believe performance will be even better than now with working L2 set up

  5. Need to test all the motor without load and test the motor functionality

Outstanding tickets:

  • <action name>, <Assignee>

  • No labels