Skip to main content

Livbelybot Motor Debugging Assistant for HighTorque use Guide

Version Compatibility

This manual applies to the High Torque Commissioning Assistant v0.11.1 and above. The High Torque Commissioning Assistant is applicable for motor firmware v3.1.0 and above.

1. Motor Usage Guidelines

🔌 Motor Hardware Wiring

Important Safety Notice

Always ensure power is disconnected before making any connections.

SpecificationValue
Rated Voltage24VDC
CommunicationFDCAN (via USB-C module)
Motor Models5047, 4438, etc.

Connection Steps

  1. Power Connection 🔌 Connect 24V power supply to the FDCAN module

  2. Motor Interface 🔌 Connect Motor XT30 (2+2) interface to FDCAN module using GH1.25-3P cable

  3. PC Connection 💻 Connect FDCAN module to computer via USB-C

Motor Connection Overview

Detailed Wiring Guide

2. High Torque Motor Commissioning Assistant Usage and Instructions

🎛️ Common Functions

FunctionDescription
🔄 Reconnect USBCAN DeviceScans and connects the USBCAN device and detects connected motors
🆔 Motor IDDropdown selector for currently connected motor
⚙️ Motor CalibrationRe-calibrates the motor (⚠️ Motor must be unloaded)
🎯 Reset Current Motor ZeroSets current position as zero reference
💾 Update Motor FirmwareDownloads and flashes new firmware to motor
📊 Output InformationReal-time logging console for events and errors
⚠️ Critical Warning

Motor Calibration must be performed with NO LOAD attached to the motor. Failure to do so will result in inaccurate encoder offset calculation.

Common Functions Interface

Operation Guide

Use Read Parameters to fetch current settings and Write Parameters to save changes to the motor.

Parameter GroupDescription
📋 Basic InformationDisplays Model, Pole Pairs, Reduction Ratio, Firmware Version
🛡️ Motor ProtectionOver-voltage (V) & Over-temp (°C) limits
⚖️ PID AdjustmentKp, Ki, Kd coefficients + i_limit (integral limit)
🆔 Modify Motor IDChanges motor ID (requires re-identification)
📍 Motor Position RangePosition MAX/MIN limits (set to nan for infinite)
🚀 Rotation LimitsSpeed (rev/s), Accel (rev/s²), Current (A) limits
Note

Set values to nan for unlimited operation in Position Range and Rotation Limits sections.

Parameter Settings - Basic

Parameter Settings - Advanced

🔧 Motor Debugging

Debug with different running modes (detailed view in Motor Running Modes).

FeatureDescription
📈 Motor Running ModeClick "Add Waveform" to visualize Position, Speed, Torque, Temperature in real-time
📊 Motor StatusFDCAN frame information (float, int16, int32, CAN frame)
🛠️ Generate FrameCreate custom CAN frames for development
🛑 Stop & BrakeControl motor stopping behavior

Frame Generation Types

float, int16, int32

For implementation examples and data type handling, refer to the FDCAN protocol examples in this section

Stop & Brake Control

ControlBehavior
🛑 StopDisconnects all three phases - motor coasts to stop via inertia
⚡ BrakeShorts all three phases to ground - motor stops immediately

Debugging - Waveform View

Debugging - Status Monitoring

🎮 Motor Running Modes

Position Mode 🎯

Provides precise angular control for the motor shaft. Enter the target position in revolutions and click send. The motor will move to the exact specified position using position-loop PID control.

Ideal for: Robotic joints, CNC machines, actuator systems

Position Mode Interface


3. 🔌 FDCAN Protocol Analysis

Protocol Reference

This section covers the essential FDCAN protocol information for basic motor control operations. For comprehensive register mapping and advanced protocol details, please refer to the motor control documentation.

Example: int32 Data Frame Velocity Mode

Take the int32 Data Frame Velocity Mode as an example:

01000a0a2000000080204e0000

1️⃣ Sub-frame 1 - Motor Mode Configuration

This sub-frame configures the motor operating mode.

FieldValueDescription
0x01HeaderStart of first sub-frame
Bits 7-40000Write operation to motor registers
Bits 3-00001Data type int8_t, 1 data unit
0x00Register AddressMotor Mode Setting register
0x0aDataSets motor to Velocity Mode

2️⃣ Sub-frame 2 - Motion Parameters

This sub-frame configures the motion parameters (position and velocity targets).

FieldValueDescription
0x02HeaderStart of second sub-frame
Bits 7-40000Write operation
Bits 3-00010Data type int32_t, 2 data units
0x20Register StartPosition Target register (0x20)
0x00 0x00 0x00 0x80Position Data0x80000000 = Position unlimited/NaN
0x20 0x4e 0x00 0x00Velocity Data0x00004e20 = 20000 (decimal)
Unit Conversion

Velocity Calculation:

  • Decimal Value: 20000
  • LSB Weight: 0.00001 rev/s per unit
  • Target Velocity: 20000 × 0.00001 = 0.2 rev/s

📚 Appendix

⚠️ Motor Error Code Reference

Status Code 0 = Normal Operation

A non-zero value indicates an error. Refer to the table below for specific causes and solutions.

CodeError NameDescriptionSolution
32🔧 Calibration FaultEncoder cannot detect magnet during calibrationEnsure magnet is properly installed; recalibrate with no load
33⚡ Motor Driver FaultUnder-voltage or insufficient currentCheck power supply voltage and current capacity
34🔺 Over VoltageBus voltage exceeded limitVerify power supply voltage rating
35📡 Encoder FaultEncoder reading errorCheck encoder connections and wiring
36🚫 Motor UncalibratedMotor has not been calibratedRun calibration procedure with no load
37📊 PWM Cycle Limit ExceededInternal firmware errorContact technical support
38🌡️ Over TemperatureTemperature exceeded maximum limitAllow motor to cool down; check cooling
39🎯 Out of BoundsPosition control outside defined limitsAdjust position range parameters
40🔋 Low VoltageSupply voltage too lowCheck power supply and connections
41⚙️ Configuration ChangedCritical config changed during operationStop motor before changing parameters
42🔄 Angle InvalidNo valid commutation encoderCheck encoder functionality and connections
43📍 Position InvalidNo valid output encoderVerify output encoder connections

Tech Support & Product Discussion

Thank you for choosing our products! We are here to provide you with different support to ensure that your experience with our products is as smooth as possible. We offer several communication channels to cater to different preferences and needs.

Loading Comments...