Introduction: High performance integrated servo solution
The MGv2 series brushless servo motor launched by Shanghai Lingkang Technology (LK-TECH), combined with the DG80 series driver, is designed specifically for high-precision, high response, and high torque applications. This series of motors adopts a 32-bit high-performance MCU combined with optimized FOC (Field Oriented Control) technology, as well as a low internal resistance MOSFET flat structure, achieving compact electromechanical integration design. The motor and driver are highly integrated, supporting absolute value encoders and built-in dual closed-loop control, significantly improving the accuracy of torque, position, and speed feedback.
The MGv2 series covers multiple sub series such as MS, MF, MG, MH, etc., suitable for scenarios such as gimbal, pod, turntable, power inspection robot, robotic arm, LiDAR, quadruped robot, exoskeleton, etc. This article is based on the official manual V2.33, providing engineers with a systematic technical guide for selection comparison, hardware connection, software debugging, parameter configuration, encoder alignment, and common troubleshooting.
Comparison of Product Series Selection
Series Input Voltage Current Range Speed Range Drive Type Encoder Accuracy Communication Typical Scenarios
MS 7.4-24V 0-4A 0-1000 rpm SVPWM 12/18 bit RS-485/CAN gimbal, pod
MF 12-36V 0-9A 0-3000 rpm FOC 14/18 bit RS-485/CAN turntable, power inspection
MG 24-48V 0-14A 0-2000 rpm FOC 18 bit RS-485/CAN robotic arm, LiDAR
MH 12-24V 0-4A 0-3000 rpm FOC 18 bit RS-485/CAN quadruped robot, exoskeleton
Selection criteria: Choose based on load inertia, maximum speed, and supply voltage. The MG series has the highest torque (14 A) and is suitable for heavy-duty joints; The MF series has a high rotational speed (3000 rpm), suitable for quick positioning; MS series low voltage, low speed, suitable for portable gimbal; MH series medium voltage and speed, suitable for exoskeletons. Note that all series support three control modes: speed, position, and torque.
Driver parameters and interfaces
3.1 DG80 Driver Core Specifications
Parameter values
Input voltage DC 12-60 V (DG80R/C7)
Rated/peak current 10 A/20 A (peak duration 10 seconds)
Control loop torque 32 kHz, speed 8 kHz, position 8 kHz
PWM frequency 32 kHz
Torque ring width 0.4-2.8 kHz (depending on motor and load)
Encoder 18 bit absolute value
Communication RS-485 or CAN
3.2 Interface Definition
The driver provides the following key interfaces:
A/H, B/L: RS-485 A+/B - or CAN-H/L
V+, V ---: Positive and negative poles of the power supply
T. R: UART send/receive (for serial port debugging)
G: Signal Ground
Important: The 120 Ω terminal resistor needs to be connected to both ends of the bus (controlled by dip switch S-4). For long-distance or multi node networks, terminal resistors must be enabled to avoid signal reflection.
Hardware connection and debugging environment setup
4.1 Power Connection
Connect the driver to the power supply using XT30 cable. Be sure to confirm that the positive and negative poles are correct, and select the appropriate voltage range and output power (it is recommended that the power supply capacity be no less than 1.5 times the peak power of the motor). The MG series has a maximum voltage of 48V, please note that overvoltage may cause damage to the driver.
4.2 USB-UUART Connection
Connect the PC to the driver through a USB-UUART conversion module (such as CP2102). CP210x virtual serial port driver needs to be installed (official Baidu Netdisk link provided). After successful connection, confirm the COM port number in the device manager.
4.3 Upper computer software
LingKong Motor Tool V2.33 "is an official debugging tool that does not require installation and can be run by double clicking. Supports WIN7 and above systems. The interface includes:
Connection settings (COM port, baud rate ID)
Basic settings (ID, bus type, direction, braking resistance)
Protection settings (undervoltage, overvoltage, motor temperature, etc.)
Limiting settings (maximum speed, acceleration, torque current)
PID settings (position loop, speed loop, current loop)
Motor/encoder alignment
Test interface (torque, speed, multi turn position, single turn position control)

Communication configuration and ID allocation
5.1 ID Setting Method
The ID of MGv2 driver can be set in two ways:
DIP switch (ID=0): Binary selection of 1-8 from DIP switches SW1-SW3. Corresponding relationship:
1#:OFF OFF OFF
2#:OFF OFF ON
3#:OFF ON OFF
4#:OFF ON ON
5#:ON OFF OFF
6#:ON OFF ON
7#:ON ON OFF
8#:ON ON ON
Software settings (ID=1-32): Set the ID to a non-zero value on the "Basic Settings" page, save and restart the power to take effect. At this time, the fourth position (S-4) of the dip switch is specifically used to control the 120 Ω terminal resistor (ON indicates connection).
Engineering experience: It is recommended to use software IDs (1-32) for multi axis systems to avoid limiting the number of dip switches; Ensure that each axis ID is unique. After changing the ID, it must be powered on again.
5.2 Bus type and baud rate