DM-J4310-2EC V1.1 Motor Instruction Manual
DM-J4310-2EC V1.1 Motor User Guide
Precautions
- Please strictly operate the motor within the specified working environment and the maximum allowable winding temperature range. Failure to do so may result in permanent and irreversible damage to the product.
- Prevent foreign objects from entering the rotor; otherwise, abnormal rotor operation may occur.
- Before use, check whether all components are intact. Do not use the product if any parts are missing, aged, or damaged.
- Ensure correct wiring and that the motor is installed properly and securely.
- Do not touch the electronic rotor section during operation to avoid accidents. The motor may become hot during high-torque output; be cautious to prevent burns.
- Users must not disassemble the motor without authorization, as this may affect control accuracy or lead to abnormal operation.
Motor Features
- Dual encoders provide single-turn absolute position output on the output shaft, retaining position data even in the event of power loss.
- Integrated motor and driver design with a compact and highly integrated structure.
- Supports upper-computer visual debugging and firmware upgrades.
- Capable of providing feedback on motor speed, position, torque, and temperature via CAN bus.
- Equipped with dual temperature protection.
- Supports trapezoidal acceleration and deceleration in position control mode.
Interface and wiring sequence description
Specific Name - No. | Description |
Power Interface – 1
(include CAN communication terminal) | 1. Connect the power supply using the XT30 (2+2)-F connector cable. The rated voltage is 24V, supplying power to the motor.
2. Connect the CAN communication terminal to external control equipment to receive CAN control commands and send motor status feedback.
3. The motor includes two power interfaces, either of which can be used independently or daisy-chained for multi-motor setups to simplify wiring. |
Power Interface – 2 (include CAN communication terminal) | 1. Connect the power supply using the XT30 (2+2)-F connector cable. The rated voltage is 24V, supplying power to the motor.
2. Connect the CAN communication terminal to external control equipment to receive CAN control commands and send motor status feedback.
3. The motor includes two power interfaces, either of which can be used independently or daisy-chained for multi-motor setups to simplify wiring. |
Specific Name - No. | Description |
Debug Serial Port – 3 | Connect via GH1.25 3-pin cable. Use a USB to CAN debugging tool (or a general USB-to-serial module) to connect to a PC for parameter configuration and firmware upgrades via the debugging assistant software. |
Motor Dimensions and Installation
Please refer to the motor mounting hole dimensions and positions to install the motor onto the corresponding equipment.
Motor wiring diagram
Main wiring diagram
USB-to-CAN module wiring diagram
Power adapter board wiring diagram
Indicator Light Status
Normal Status | Green-Solid On | Enabled mode, normal operating status |
Red-Solid On | Disabled mode | |
Abnormal Status | Red – Blinking | Indicates a fault. Corresponding fault types include:
8 – Overvoltage
9 – Undervoltage
A – Overcurrent
B – MOS Overtemperature
C – Motor Coil Overtemperature
D – Communication Loss
E – Overload
You can check the fault type via the feedback frame or through the debugging assistant interface. |
Operating Modes
MIT Mode
MIT mode is designed to be compatible with the original MIT mode. It allows seamless switching while enabling flexible configuration of control ranges (P_ MAX, V_MAX, T_MAX). The ESC converts received CAN data into control variables to calculate the torque value, which serves as the current reference for the current loop. The current loop then regulates to achieve the specified torque current. The control block diagram is as follows:
Derived from the MIT mode, various control modes can be implemented. For example: When kp = 0 and kd 0, setting v_des enables constant speed rotation; When kp = 0 and kd = 0, setting t_ff enables constant torque output.
Note: When controlling position, kd must not be set to 0, otherwise it may cause motor oscillation or even loss of control.
Position-Velocity Mode
The position cascade mode adopts a three loop series control mode, where the position loop serves as the outermost loop and its output serves as the given value for the velocity loop, while the output of the velocity loop serves as the given value for the inner loop current loop, used to control the actual current output. The control schematic diagram is shown in the following figure:
p_des is the target position for control, and v_des is used to limit the maximum absolute velocity during motion.
When the position cascade mode is controlled using the recommended control parameters from the debugging assistant, it can achieve good control accuracy. The control process is relatively smooth, but the response time is comparatively longer. In addition to v_des, the configurable related parameters also include acceleration/deceleration settings. If additional oscillations occur during the control process, increasing the acceleration/deceleration can help mitigate them.
Note: The units of p_des and v_des are rad and rad/s, respectively, and their data type is float. The damping factor must be set to a positive non-zero number. Please refer to the precautions for the velocity mode.
Velocity Mode
Velocity mode allows the motor to run steadily at the set speed. The control block diagram is as follows:
Note: The unit of v_des is rad/s and its data type is float. To use the automatic parameter calculation function of the debugging assistant, the damping factor must be set to a positive non-zero number. Typically, its value ranges from 2.0 to 10.0. A damping factor that is too small will cause velocity oscillations and large overshoot, while a damping factor that is too large will result in a long rise time. The recommended setting value is 4.0.
Usage
The control uses the CAN standard frame format with a fixed baud rate of 1 Mbps. Based on functionality, the frames can be divided into receive frames and feedback frames. The receive frames are the control data received, used to achieve command control of the motor. The feedback frames are the motor's status data sent by the motor to the higher-level controller. Depending on the selected mode of the motor, the frame format definition and frame ID of the receive frames vary, but the feedback frames are the same across all modes.
Feedback Frame
The feedback frame ID is set via the debugging assistant (MasterID), with a default value of 0. It primarily returns information about the motor’s position, speed, and torque. The frame format is defined as follows:
Feedback Message | D[0] | D[1] | D[2] | D[3] | D[4] | D[5] | D[6] | D[7] |
MST_ID | ID|ERR<<4 | POS[15:8] | POS[7:0] | VEL[11:4] | VEL[3:0] | T[11:8] | T[7:0] | T_MOS | T_Rotor |
Where:
- ID indicates the controller ID, taking the lower 8 bits of the CAN_ID.
- ERR indicates a fault, with the corresponding fault types as follows:
- POS indicates the position information of the motor.
- VEL indicates the velocity information of the motor.
- T indicates the torque information of the motor.
- T_MOS indicates the average temperature of the MOS on the driver, in °C.
- T_Rotor indicates the average temperature of the motor's internal coil, in °C.
8 — Overvoltage
9 — Undervoltage
A — Overcurrent
B — MOS overtemperature
C — Motor coil overtemperature
D — Communication loss
E — Overload
Position, velocity, and torque use a linear mapping relationship to convert floating-point data into signed fixed-point data. Position uses 16-bit data, while velocity and torque both use 12-bit data.
Control Frame in MIT Mode
Control Message | D[0] | D[1] | D[2] | D[3] | D[4] | D[5] | D[6] | D[7] |
ID | p_des [15:8] | p_des [7:0] | v_des [11:4] | v_des[3:0] | Kp[11:8] | Kp [7:0] | Kd [11:4] | Kd[3:0] | t_ff[11:8] | t_ff[7:0] |
Frame ID = configured CAN ID value
- p_des: Position command
- v_des: Velocity command
- Kp: Position proportional gain
- Kd: Position derivative gain
- T_ff: Torque reference value
All parameters conform to the mapping relationship described in the previous section, where the ranges of p_des, v_des, and t_ff can be configured using the debugging assistant, and the range of Kp is [0, 500] and the range of Kd is [0, 5].
A standard CAN data frame contains only 8 bytes. The MIT control command format combines five parameters — Position, Velocity, Kp, Kd, and Torque — into 8 bytes through bit-packing. Among them: Position occupies 2 bytes (16 bits), Velocity occupies 12 bits, Kp occupies 12 bits, and Kd occupies 12 bits.
Control Frame in Position-Velocity Mode
Control Message | D[0] | D[1] | D[2] | D[3] | D[4] | D[5] | D[6] | D[7] |
0x100+ID | p_des | p_des | p_des | p_des | v_des | v_des | v_des | v_des |
Frame ID = configured CAN ID value + 0x100
- p_des: Position command, float, little-endian (low byte first, high byte last)
- v_des: Velocity command, float, little-endian (low byte first, high byte last)
In this mode, the CAN ID used to send commands is 0x100 + ID. The velocity command (v_des) defines the maximum speed during the movement to the target position—i.e., the speed during the constant-velocity phase.
Control Frame in Velocity Mode
Control Message | D[0] | D[1] | D[2] | D[3] |
0x200+ID | v_des | v_des | v_des | v_des |
The frame ID is the set CAN ID value plus an offset of 0x200.
- v_des: Velocity reference value, floating point, little-endian (low byte first, high byte last).
The CAN ID for sending the command here is 0x200 + ID.
Using the Debugging Assistant
Use the USB to CAN debugging tool to connect the motor to the PC, and perform parameter configuration and firmware upgrade via the debugging assistant.
The motor's debug serial port is connected to the PC using a GH1.25 3-pin cable.
Through the debugging assistant, you can configure motor parameters and perform firmware upgrades.
Once the serial port, CAN interface, and power interface of the motor are all properly connected, open the debugging assistant software on the PC, select the corresponding serial device, and open the serial port.
At this point, power on the motor. The serial port will output information, and the Control Mode will indicate the current drive mode.
Characteristic Curve
At a constant speed of 120 rpm and room temperature of 25°C, the performance curve was measured as follows:
Key Parameters
Please refer to the following parameters for proper motor usage:
Motor Parameters | Rated Voltage | 24V |
Rated Current | 2.5A | |
Peak Current | 7.5A | |
Rated Torque | 3NM | |
Peak Torque | 7NM | |
Rated Speed | 120rpm | |
Maximum No-Load Speed | 200rpm | |
Motor Characteristic Values | Reduction Ratio | 10: 1 |
Pole pairs | 14 | |
Phase Inductance | 340uH | |
Phase Resistance | 650mΩ | |
Structure and Weight | Outer Diameter | 57mm |
Height | 46mm | |
Motor Weight | About 300g | |
Encoder | Encoder Resolution | 14 bit |
Number of Encoders | 2 | |
Encoder Type | Magnetic Encoder (Single-Turn) | |
Communication | Control Interface | CAN@1Mbps |
Parameter Tuning Interface | UART@921600bps | |
Control and Protection | Control Mode | MIT Mode |
Velocity Mode | ||
Position Mode | ||
Protection | Driver over-temperature protection: Protection temperature: 120°C. If over-temperature occurs, the motor will exit the "Enable Mode". | |
Motor over-temperature protection: set according to usage requirements. It is recommended not to exceed 100°C. If over-temperature occurs, the motor will exit the "Enable Mode". | ||
Motor overvoltage protection: set according to usage requirements. It is recommended not to exceed 32 V. If overvoltage occurs, the motor will exit the "Enable Mode". | ||
Communication loss protection: If no CAN command is received within the set period, the motor will automatically exit the "Enable Mode". | ||
Motor overcurrent protection: set according to usage requirements. It is recommended not to exceed 9.8 A. If overcurrent occurs, the motor will exit the "Enable Mode". | ||
Motor undervoltage protection: If the power supply voltage falls below the set value, the motor will exit the "Enable Mode". It is recommended that the power supply voltage not fall below 15 V. |
On this page
- DM-J4310-2EC V1.1 Motor Instruction Manual
- Precautions
- Motor Features
- Interface and wiring sequence description
- Motor Dimensions and Installation
- Motor wiring diagram
- Main wiring diagram
- USB-to-CAN module wiring diagram
- Power adapter board wiring diagram
- Indicator Light Status
- Operating Modes
- MIT Mode
- Position-Velocity Mode
- Velocity Mode
- Usage
- Feedback Frame
- Control Frame in MIT Mode
- Control Frame in Position-Velocity Mode
- Control Frame in Velocity Mode
- Using the Debugging Assistant
- Characteristic Curve
- Key Parameters