Welcome to the Industrial Automation website!

NameDescriptionContent
XING-Automation
E-mail  
Password  
  
Forgot password?
  Register
当前位置:

LK-TECH MGv2 Servo Motor System Complete Guide

F: | Au:FANS | DA:2026-05-15 | 666 Br: | 🔊 点击朗读正文 ❚❚ ▶ | Share:

Complete Guide to LK-TECH MGv2 Servo Motor and Drive System

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

RS-485: Supports 9600 bps to 2 Mbps. The factory default is 115200 bps.

CAN: Supports 125 kbps, 250 kbps, 500 kbps, and 1 Mbps. The factory default is 1 Mbps.

Broadcast mode: Can control 4 motors (ID 1-4) simultaneously, with baud rate set to 1M or 2M (RS-485) or 500K/1M (CAN), and only supports torque control mode. This mode is suitable for scenarios where multiple motors output synchronously but do not require independent position feedback.

5.3 Rotation direction

Reversible motor rotation direction (Normal: counterclockwise is positive; Reverse: clockwise is positive. After modification, it is necessary to save and restart, and then perform the "Align" operation to recalibrate.


Encoder alignment (core steps)

The MGv2 series uses an 18 bit absolute value encoder, and the motor and encoder must be aligned before use, otherwise the motor cannot operate normally.

6.1 Alignment Preparation

Ensure that the number of motor poles is set correctly (usually default values apply).

The motor is best unloaded (if the load is heavy, the alignment voltage can be appropriately increased).

Click the "Align" button, and the motor will automatically calibrate by swinging in both directions.

6.2 Alignment result judgment

After alignment is completed, the 'Motor/Encoder Align Ratio' is automatically calculated. The value should be close to 1000, the closer it is to 1000, the better the calibration effect. If the deviation is too large, it is necessary to check:

Is the number of motor poles incorrect

Excessive mechanical resistance of the motor (bearing jamming, load not detached)

Poor contact of encoder wiring

Common faults: The motor shakes violently or cannot rotate during the alignment process. Firstly, reduce the alignment voltage, and then manually rotate the motor to feel the resistance. If it still cannot be completed, check if the UVW phase sequence of the motor is reversed.

6.3 Motor Zero Position Setting

After alignment is completed, the current position can be set as the starting zero position of the motor using the "Set" button. For systems with reducers, it is also necessary to set the reduction ratio and reducer zero position in the "Reducer/Encoder Setting" (dual encoder mode).


Protection mechanism and troubleshooting

7.1 Configurable Protection

Protection item status description

Motor temperature protection can be enabled to read the internal temperature sensor of the motor. If it exceeds the limit, an error will be reported and it will stop

Under voltage protection can activate an alarm when the bus voltage is below the threshold

Overvoltage protection can activate an alarm when the bus voltage exceeds the threshold

Input loss protection can enable communication signal loss alarm after exceeding the set time

Overcurrent, short circuit, and stalling have not yet been opened at the hardware level due to limited current. Software protection is pending firmware upgrade

Suggestion for handling: In battery powered applications, it is necessary to enable undervoltage protection to prevent battery damage caused by over discharge. If undervoltage is frequently triggered, it is necessary to check whether the power cord diameter is too thin or the battery internal resistance is too high.

7.2 Indicator light status

Green constantly on: connection is normal, motor is enabled (Motor ON).

Green slow flashing (2 seconds/time): Motor not enabled (Motor OFF).

Green flash (0.3 seconds/time): The motor is in an error state (fault).

When an error occurs, clear it through the "Clear Error" button; If it is an unrecoverable error (such as overvoltage), the power supply needs to be restarted.

7.3 Common Error Codes (Read by Status)

The software provides a "Read State 1/2/3" button, which can read in real-time:

UVP: Undervoltage

OVP: Overvoltage

MTP: Motor Temperature Protection

LIP: Input loss (communication timeout)

Troubleshooting example: The motor suddenly stops and the indicator light flashes rapidly. Clicking on "Read State1" displays "UVP". If the input voltage of the driver is lower than the minimum operating voltage (for example, if the 24V system drops to 18V), check the power supply or replace it with a larger capacity battery.

PID Debugging Guide

The MGv2 driver adopts a three loop control: current loop (torque loop), speed loop, and position loop. The PI parameters (Kp, Ki) of each loop can be independently adjusted through software.

8.1 Debugging sequence

Current loop (default parameters generally apply, unless the motor is replaced or the load inertia is extremely high). Kp affects the torque response speed, while Ki eliminates steady-state errors. If the motor produces high-frequency whistling, Kp should be reduced.

Speed loop: First set smaller Kp and Ki, gradually increase Kp until there is no oscillation in the speed response, and then increase Ki to reduce static error.

Position loop: Based on the adjusted speed loop, adjust the position loop Kp (usually only controlled by P, with Ki set to 0). Increasing Kp can improve the positioning stiffness, but excessive Kp can easily cause overshoot or oscillation.

8.2 Save Parameters

Using the 'SET' button only writes to RAM (lost during power failure), it is necessary to use 'Write to ROM' and restart the power to permanently save.

Experience value: For general gimbal loads, the speed loop Kp can be set to 500-1500, and Ki can be set to 100-300; Set the position ring Kp at 200-800. Specific adjustments need to be made based on the actual mechanical system.


Detailed explanation of control mode (test interface)

On the "Test" page, users can send real-time instructions to verify the motor response.

Mode description range reducer influence

Torque control setting torque current (± 2000), clockwise is positive. 2000~2000 has no impact

Speed control set speed (± 24000 dps). -24000~24000 dps No impact

Multi turn position control 1 sets the absolute angle (± 359999.99 °), and the motor moves at maximum speed. -359999.99~359999.99 ° Actual angle=Set value/i

Multi circle position control 2 is the same as above, but it can limit the movement speed. Same angle, adjustable speed as above

Single turn position control 1 is set to rotate clockwise relative to the zero position from 0 to 359.99 °, with the option to rotate in the opposite direction. 0-359.99 ° actual angle=set value/i

Single circle position control 2 is the same as above, which can limit the speed.  – –

Incremental position control 1 increases the fixed angle (supports positive and negative) with each click. ± 359999.99 ° increments divided by reduction ratio

Incremental position control 2 can limit speed.  – –

Note: All multi turn/incremental position values must be divided by the reduction ratio (i) to obtain the actual motor movement angle. In applications with reducers (such as MG80-16-i6), it is important to pay attention to parameter settings.


Firmware upgrade operation

Hardware/software information can be read through the 'Product' page. Upgrade steps:

Click on 'Open File' and select the firmware file (. bin) that matches the motor model.

Click 'Download' and wait for the writing to complete.

After the upgrade is completed, the motor will automatically recalibrate (alignment needs to be performed again).

Warning: Power off is strictly prohibited during the upgrade process, otherwise the drive may become bricked. The mismatch between firmware and motor model may cause the motor to malfunction, so it is necessary to verify.


Quick Reference Table for Common Malfunctions and Solutions

Possible causes and solutions for the fault phenomenon

Unable to connect to software COM port selection error, baud rate mismatch, driver not installed, check device manager; Ensure the baud rate is 115200 (default); Reinstall CP210x driver

The motor does not rotate, and the LED flash triggering protection (under voltage, over voltage, temperature, communication loss) reads the status and handles it according to the error type; Clear errors or restart

During alignment, the motor experiences severe shaking, excessive load, incorrect number of pole pairs, mechanical jamming, and no-load alignment; Check the pole pair setting; Reduce alignment voltage

Unstable speed control, improper PID parameters, re adjust the speed loop, reduce Kp or increase integration time

Position control overshoot position ring Kp is too large, reduce position ring Kp, or increase speed limit

Communication interference leads to packet loss due to lack of terminal resistance, and unused shielded twisted pair cables are connected to 120 Ω resistors at both ends of the bus; Use twisted pair shielded wires, with the shielding layer grounded at one end

Broadcast mode cannot synchronize ID not set to 1-4, baud rate does not match confirm axis ID 1-4, baud rate 1M/2M (RS-485) or 500K/1M (CAN)

  • Sigmatek MDD111-1 DIAS Drive Axis Module
  • Sigmatek DKL042 05-024-042 Terminal Module
  • Sigmatek DM822 Control Module
  • Sigmatek CDM167 12-008-167-O Module
  • Sigmatek TAE151 Touch Display Unit
  • Sigmatek DCC041 SLIDES Module 05-700-041-D
  • Sigmatek AKM65M-ANC2GBB0 PM Servo Motor
  • Sigmatek ETT221 01-230-221 Operator Terminal
  • Sigmatek SLIDES DAM 124 Analog Module
  • Sigmatek AKM31C-ANCNGBB0 Servo Motor
  • Mannesmann Demag Sigmatek CP626 Central Unit
  • SIGMATEK 0332.554.03 Board 371071000154
  • SIGMATEK 12-250-021 Base Plate Back Panel CM5V020
  • SIGMATEK DM162 S-DIAS Digital Mix Module
  • DEMAG ERGOTECH 061 381 66 Sigmatek 9842.243.02 Circuit Board
  • SIGMATEK CP313-1 PLC Module
  • Sigmatek ETV0551-2 VARAN Touch Terminal
  • Sigmatek SDM 081 FS S-Dias Safety Module
  • DEMAG 05-250-023 Ergotech Motherboard with Sigmatek TMS012
  • Sigmatek CM5V020 12-250-023-K Wiring Base
  • Sigma Tek 5000B-37 Attitude Gyro Indicator
  • Sigmatek SDD120-2 DIAS Drive
  • Sigmatek CME221 Memory Module
  • Sigmatek DCP640 DIAS Central Unit
  • Sigmatek STO040 Safety Output Module
  • Sigmatek CET281 Control Panel
  • Sigmatek CIPC LX800 Demag NC5 CPU
  • Sigmatek DKL093 05-024-093 Terminal Module
  • Sigmatek AI088 20-009-088 Analog Input Module
  • Sigmatek CAI888 Analog Input Module
  • SIGMATEK CCA021 12-025-021 Analog Output Module
  • SIGMATEK 1104.579.05 Control Module
  • SIGMATEK SDI100 Digital Input Module
  • SIGMATEK C-IPC 256MB LX800 Compact Dias
  • SIGMATEK 9423.090.02 Control Module
  • SIGMATEK C-IPC 256 Power Supply 148498
  • SIGMATEK CAI025 Analog Input Module
  • SIGMATEK CTO166 Digital Output Module
  • SIGMATEK CP112 20-004-112 Processor Module
  • SIGMATEK CAI887 12-009-887 Safety Module
  • Sigma-Tek 4000B-31 Directional Gyro 1U262-002-42
  • Sigmatek C-IPC 256MB LX800 IPC Controller
  • Sigmatek C-IPC 01-450-031 Industrial PC LX800
  • Sigmatek C-IPC 256 Industrial PC Controller
  • Sigmatek CCP-531 PLC Processor Module
  • Sigmatek CDI163 Digital Input Module
  • Sigmatek ETV0501 VARAN Terminal 12-230-0501
  • Sigmatek CTMS020 C-DIAS Technology Module
  • Sigmatek CIV512 VARAN Switch Module
  • Sigmatek HU011 20-080-011 Interface Module
  • SIGMATEK SLIDES DAM 124 Module
  • SIGMATEK C-IPC 161 01-450-161L Industrial PC
  • SIGMATEK C-IPC 128MB VIA 733MHz 01-450-024-K
  • SIGMATEK 12-780-012 R8-IPC Geode LX800 Module
  • SIGMATEK CAM124 Analog Module
  • SIGMATEK S1 032-8AF61-R4 EZ Servo Motor
  • SIGMATEK CTO163 Digital Output Module
  • SIGMATEK CCP082 12-004-082 Processor Module
  • SIGMATEK CRCH081 C-DIAS Temperature Module
  • SIGMATEK PC322-K 01-310-322-K Industrial PC
  • SIGMATEK SDD310-2 Servo Drive
  • SIGMATEK AI084 Analog Input Module
  • SIGMATEK CRCH081 12-752-081 Temperature Module
  • Sigma-Tek 5000L-4 Attitude Gyro 1U284-001-3
  • SIGMATEK CM5V020 12-250-023-K Wiring Module
  • Sigma-Tek 4000H-6 Directional Gyro IU262-035-7
  • SIGMATEK Dias DCP160 05-004-160 Processor Module
  • SIGMATEK 0147.395.02 Control Module
  • SIGMATEK A1084 Control Module
  • SIGMATEK DI200 20-006-2000 Digital Input Module
  • Sigmatek DNC115 Encoder Module
  • Sigmatek DAM122 05-017-122 Analog Module
  • Sigmatek 9802.289.01 Control Board TA71 Display
  • Sigmatek TO127 20-007-127 Digital Output Module
  • Sigmatek DNC031 05-011-031 Digital Module
  • Sigmatek VI022 20-003-022 Interface Module
  • Sigmatek CAI085 Analog Input Module
  • Sigmatek CP111 S-DIAS CPU Module
  • Sigmatek CTMS030 Krauss Maffei Module
  • Sigmatek CAM123 Control Module
  • Sigmatek TAE732-P 01-240-732-P Touch Display Unit
  • Sigmatek MDM021 Digital Mixed Module
  • Sigmatek DCP642 DIAS Central Unit
  • Sigmatek CST022 12-014-022 C-DIAS Module
  • Sigmatek SRO021 20-893-021 Safety Relay Output
  • Krauss Maffei MC5 Control System Sigmatek
  • Sigmatek DC061 Module 18-24VDC 300mA
  • Herrmann EVT0855 Ultrasonic Welder Touch Panel
  • Sigmatek CIV521 Control Module 1.4A 2W
  • Sigmatek DDI61 05-006-161 Digital Input Module
  • SIGMATEK ETT312-E Touch Terminal 01-230-312
  • Cessna S3326-1 Sigma Tek 5000B-67 Gyro 1U149-015-9
  • SIGMATEK PS101 Power Supply Module
  • SIGMATEK 0332.554.03 Control Module 371071000154
  • SIGMATEK ETT312-E Touch Terminal 01-230-312
  • SIGMATEK CDM163 Control Module
  • SIGMATEK VSV046 16-023-046 Module
  • SIGMATEK AM221 20-017-221 Analog Module
  • SIGMATEK CTS051 12-053-051 Control Module
  • SIGMATEK AM221 20-017-221 Analog Module
  • Sigmatek CSDI161 12-891-161 Safety Input Module
  • Sigma Tek 4000C-1 Directional Gyro Indicator
  • Sigmatek ETV0501 12-230-0501 VARAN Terminal
  • Sigmatek DDM165 SLIDES Module
  • Sigmatek N100 20-011-100 Control Module
  • Sigmatek AKM54K-ANC2R-B0 PM Servo Motor
  • Sigmatek CTO166 Digital Output Module
  • Sigmatek CP212-K 20-004-212-K CPU Module
  • Sigmatek CDI161 Digital Input Module
  • Sigmatek DCC080 05-700-080-2 Control Module
  • SIGMATEK SCP011 S-DIAS Safety CPU
  • SIGMATEK SCP011 S-DIAS Safety CPU
  • SIGMATEK SRO022 Relay Output Module
  • SIGMATEK MDD 121 Drive Axis Module
  • SIGMATEK DSI021 SLIDES Siemens Interface
  • SIGMATEK DIAS DCP161 Module 05-004-161
  • Sigmatek ETT312 Built-in Touch Terminal
  • SIGMATEK DCP 643 DIAS Controller System
  • SIGMATEK CIO021 Multi I/O Module
  • SIGMATEK CTMS020 Control Module
  • Sigmatek CME 221 Memory Module
  • Sigmatek 0420.615.01 Control Board
  • Sigmatek CP111 20-004-111 CPU Module
  • Sigmatek 9405.065.03 Control Board
  • Sigmatek ETEK 01-450-032-K C-IPC 256MB Industrial PC
  • Sigmatek CTO163 12-007-163 Safety Output Module
  • Sigmatek TO081 20-007-081 Digital Output Module
  • Sigmatek SI021 20-022-021 Safety Input Module