Motor Configuration

The R-LINK Configuration Tool is used to configure the AK80-6 from T-Motors. Before starting to use the R-Link device make sure you have downloaded the CP210x Universal Windows Driver from silabs. If this isn’t working properly follow the instructions at sparkfun on how to install ch340 drivers. You have to download the CH 341SER (EXE) file from the sparkfun webpage. Notice that you first have to select uninstall in the CH341 driver menu to uninstall old drivers before you are able to install the new driver. The configuration tool software for the R-LINK module can be downloaded on the T-Motors website.

Tutorials

Debugging

Error messages that showed up during the configuration procedure, such as UVLO (VM undervoltage lockout) and OTW (Thermal warning and shutdown), could be interpreted with the help of the datasheet for the DRV8353M 100-V Three-Phase Smart Gate Driver from Texas Instruments:

Datasheet: DRV8353M (on the first Page under: 1. Features)

PD-Controller

A proportional-derivative controller, which is based on the MIT Mini-Cheetah Motor, is implemented on the motor controller board. The control block diagram of this closed loop controller is shown below. It can bee seen that the control method is flexible, as pure position, speed, feedforward torque control or any combination of those is possible.

../../_images/pd_controller.png

In the motor driver,:

send_rad_command(position_in_radians, velocity_in_radians, Kp, Kd, tau_ff)

lets you set desired position (Pdes), velocity (Pvel), Kp, Kd and feedforward torque (tff) values at every time step.