Makerbase MKS SERVO57ES

Contents

Makerbase MKS SERVO57ES Closed-Loop Stepper Motor Driver

Instruction Manual

Model: MKS SERVO57ES

1. Overview

The MKS SERVO57ES closed-loop motor driver is a product independently developed by Makerbase to meet market demand. It features both pulse and bus interfaces, incorporating an efficient FOC vector algorithm. This driver utilizes a high-precision encoder to effectively prevent the motor from losing steps through position feedback, making it suitable for small robotic arms, 3D printers, engraving machines, non-standard automation products, and electronic competitions.

Makerbase MKS SERVO57ES PCBA with key features
MKS SERVO57ES PCBA highlighting key features like Pulse/RS485/CAN interface, 20-48V power supply, high precision, Modbus support, and online firmware upgrade.

Key Features:

  • Supports 6 working modes: pulse interface (pulse-pulse, pulse-direction mode), serial interface (open loop, closed loop).
  • High-performance FOC vector control algorithm for torque, speed, and position three-loop control.
  • Smooth curve acceleration and deceleration, motor start and stop.
  • Supports relative position and absolute position control mode.
  • Built-in 256-step subdivision interpolation algorithm for ultra-quiet and ultra-low vibration operation.
  • Maximum input pulse frequency 300KHz, maximum speed 3000RPM.
  • Motor angle information updated in real time (motor enabled or disabled).
  • Supports MODBUS-RTU communication protocol (RS485 enabled).
  • Onboard RS-485 interface with 256 slave addresses, supporting broadcast and group addresses (RS485 version).
  • Onboard CAN interface with 2048 slave addresses, supporting broadcast and group addresses (CAN version).
  • Built-in stall protection function.
  • Quickly restore factory configuration.
  • High-speed performance is stable, running smoothly, no jitter, and emergency stop is possible.
  • Integrated Aluminum alloy shell for effective heat dissipation and stable continuous high current operation.
  • Provides host computer (open source), STM32/Arduino usage routines.
  • Supports left and right limit functions.
  • Onboard industrial-grade high-precision magnetic encoder.
  • Onboard high-power MOSFET, 60V/56A.
  • Designed according to industrial standards for stable and reliable performance.
  • Working voltage: 20V-48V.

2. Specifications

The following table details the technical parameters for the MKS SERVO57ES driver:

Product parameter table for MKS SERVO57ES RS485 and BUS versions
Detailed product parameters for MKS SERVO57ES RS485 and BUS versions.
MKS SERVO57ES Product Parameters
Parameter MKS SERVO57ES_RS485 MKS SERVO57ES_BUS
Board type MKS SERVO57ES_RS485 MKS SERVO57ES_BUS
MCU STM32F302CBT6
MOSFET HYG090N006LS1C2
Encoder MT6826S (15bit magnetic encoder)
Working voltage 20V-48V
Working current 0-5200mA
Frequency of update Torque 20KHz, Velocity 10KHz, Position 10KHz
Maximum Speed 3000RPM
Subdivision 2/4/8/16/32/64/128/5/10/20/25/40/50/100/200/256
Control Method RS485 bus + pulse control RS485 + CAN bus control
Wiring method Common anode, Common cathode, Differential, Double pulse, Pulse + Direction /
Pulse signal frequency Up to 300 kHz
Input signal voltage 3.3V-24V
Interface transceiver SP485EEN-L/TR RS485: SP485EEN-L/TR, CAN: TJA1051T/3/1J
Interface rate 9600/19200/.../115200/25600 RS485: 9600/19200/.../115200/25600, CAN: 125K/250K/500K/1M
Interface Address 1 broadcast address, 255 slave addresses 1 broadcast address, 255 slave addresses, 2047 slave addresses
Downloader Remote Upgrade YES
IAP firmware upgrade YES
MKS SERVO57ES Product Size and Motor Mounting Hole Diagram
Dimensions of the MKS SERVO57ES board and motor mounting hole diagram.

3. Package Contents

The following items are typically included in the package, depending on the specific version purchased:

Shipping List for MKS SERVO57ES RS485 MB and BUS MB
Detailed shipping list for both RS485 and BUS versions of the MKS SERVO57ES.

MKS SERVO57ES RS485 MB (Motor not included)

  • MKS SERVO57ES RS485 MB x1
  • Hexagon socket screw (M3-15mm) x4
  • Single-pass hexagon screw copper post M2*3+3 x3
  • 6*3 Radial Magnet x1
  • 304 Crosshead Thin Head Machine Screw CM2*3*4 x3
  • MKS 57ES Aluminum shell x1
  • Light guide post LDT3.0-9.0 (diameter 3mm, length 9mm) x1
  • Heat dissipation silicone pad x1
  • Cable HY 2.0-11P double end reverse 50cm 24AWG blue and white flat cable x1
  • Cable HY 2.0-12P double end reverse 50cm 24AWG blue and white cable x1

MKS SERVO57ES BUS MB (Motor not included)

  • MKS SERVO57ES BUS MB x1
  • Hexagon socket screw (M3-15mm) x4
  • Single-pass hexagon screw copper post M2*3+3 x3
  • 6*3 Radial Magnet x1
  • 304 Crosshead Thin Head Machine Screw CM2*3*4 x3
  • MKS 57ES Aluminum shell x1
  • Light guide post LDT3.0-9.0 (diameter 3mm, length 9mm) x1
  • Heat dissipation silicone pad x1
  • Cable HY 2.0-11P double end reverse 50cm 24AWG blue and white flat cable x1
  • Cable HY 2.0-12P double end reverse 50cm 24AWG blue and white cable x1

4. Assembly Instructions

Follow these steps to assemble your MKS SERVO57ES driver with a compatible motor:

MKS SERVO57ES Assembly Steps Diagram
Visual guide for the assembly process of the MKS SERVO57ES driver.
  1. Install the Magnet: Install the magnet to the axis of the motor and fix it with glue.
  2. Install Copper Pillars: Install three single-pass hexagonal screw copper pillars (M2*3+3). These are used to fix the MKS SERVO57ES board.
  3. Apply Heat Dissipation Pad: Paste the heat dissipation silicone pad onto the position of the MOS (Metal-Oxide-Semiconductor) components, ensuring all MOS are covered.
  4. Fix the Board to Motor: Fix the MKS SERVO57E board to the motor using three 304 Cross-head Thin-head Machine Screws (CM2*3*4).
  5. Install Aluminum Shell: Install the aluminum shell onto the MKS SERVO57ES board and fix it with four M3 screws.
  6. Connect Motor Wires: Connect the four wires of the motor to the 4P screw terminal according to the following wire sequence: Black (A-), Green (A+), Red (B-), Blue (B+).

Note: Motors assembled by the user must undergo a calibration run after assembly.

5. Wiring Instructions

Proper wiring is essential for the correct operation of the MKS SERVO57ES driver. Refer to the diagrams below for single-machine, multi-machine, and interface-specific wiring configurations.

5.1. Interface Function Table

Interface Function Table for MKS SERVO57ES
Detailed functions and descriptions for each pin on the MKS SERVO57ES interface.
Interface Function Table
PIN I/O Function Description
STP+(CW+)Pulse signal (or CW pulse) positive(1) Optocoupler input, falling edge trigger. The pulse goes one step when the pulse goes from high to low. (2) Positive voltage: 3.3 - 28V. (3) Negative voltage: High level 3.3 - 28V, Low level 0 - 0.5V. (4) Maximum input frequency 400kHz, pulse duration greater than 2us. (5) Single pulse (Pulse + Dir) or double pulse (CW + CCW) is set by SW6.
STP-(CW-)Pulse signal (or CW pulse) negative
DIR+(CCW+)Direction signal (or CCW pulse) positive
DIR-(CCW-)Direction signal (or CCW pulse) negative
EN+InputEnable signal positive(1) Optocoupler input, low level effective. When effective, the motor will be released while clearing the alarm signal. (2) Positive voltage: 3.3 - 28V. (3) Negative voltage: High level 3.3 - 28V, Low level 0 - 0.5V.
EN-Enable signal negative
IN COMLeft and right limit signals Common cathode/common anode(1) Optocoupler input, left and right limit input signals can be connected in common without external power supply. Low effective is set by command (default low level). (2) When the level is effective, the motor moves according to the speed limit position. (3) The voltage of the bipolar input signal is 3.3-12V.
IN 1IN 1Left limit signal positive/negative
IN 2IN 2Right limit signal positive/negative
ALM+OutputAlarm signal positive(1) When an alarm occurs, the optocoupler output is on. (2) Maximum voltage +35V, maximum current 50mA.
ALM-Alarm signal negative
PEND+OutputIn Position signal positive(1) When the drive has finished a given pulse, the optocoupler output is on. (2) Maximum voltage +35V, maximum current 50mA.
PEND-In Position signal negative
EB+InputEncoder B+Connected to encoder
EB-Encoder B-
EA+Encoder A+
EA-Encoder A-
ESVOutputEncoder power supply positiveOutput only
EGNDEncoder power supply negative
A-OutputMotor phase A-Connected to motor phase line
A+Motor phase A+
B-Motor phase B-
B+Motor phase B+
VDCInputDrive power supply positiveOperating Voltage +20 - 48V
GNDDrive power supply negative

5.2. Controller Interface Wiring

MKS SERVO57ES Interface Wiring Diagram
Wiring diagram showing connections between a controller and the MKS SERVO57ES driver for STP, DIR, EN, ALM, PEND, IN1, IN2, and IN COM signals. Note: All input ports have built-in 10mA current limiting and can directly input 3.3V-24V signals without external current limiting resistors.

5.3. MKS SERVO57ES BUS Wiring

MKS SERVO57ES BUS Single-Machine and Multi-Machine Wiring
Wiring diagrams for single and multi-machine configurations using the MKS SERVO57ES BUS interface, including connections to USB to RS485 and CANable V2.0 adapters.
MKS SERVO57ES BUS Interface Pinout
Detailed pinout for the MKS SERVO57ES BUS interface, showing connections for VIN, GND, CAN, RS485, IN COM, IN1, IN2, and LED.

5.4. MKS SERVO57ES RS485 Wiring

MKS SERVO57ES RS485 Single-Machine and Multi-Machine Wiring
Wiring diagrams for single and multi-machine configurations using the MKS SERVO57ES RS485 interface, including connections to a USB to RS485 adapter.
MKS SERVO57ES RS485 Interface Pinout
Detailed pinout for the MKS SERVO57ES RS485 interface, showing connections for VIN, GND, STP, DIR, EN, RS485, IN COM, IN1, IN2, and LED.

5.5. Limit Switch Wiring

The wiring method for MKS SERVO57ES_BUS is the same as MKS SERVO57ES_RS485.

MKS SERVO57ES RS485 and limit switch T45-P wiring introduction
Wiring diagram for connecting a Panasonic PM-T45-P limit switch to the MKS SERVO57ES_RS485 interface.
MKS SERVO57ES RS485 and limit switch TP808 wiring introduction
Wiring diagram for connecting a TP808 limit switch to the MKS SERVO57ES_RS485 interface.

5.6. Magnetic Encoder Distance Requirements

Distance requirements between magnet and magnetic encoder
Diagram illustrating the recommended radial magnet size, distance range, and alignment deviation for the magnetic encoder.
  • Keep the magnet and the encoder chip parallel, with a gap between them of 0.5 and 3.0 mm. The smaller the gap, the better, for optimal results (angle error).
  • The center of the magnet should be aligned with the sensing center of the magnetic encoder chip, and the deviation should be within ±0.3mm, otherwise the absolute angle accuracy will be seriously affected.
  • After the motor is installed, a calibration run must be conducted to correct the deviation of the magnet arrangement.

6. Operation

The MKS SERVO57ES supports various operating modes to suit different applications:

  • Pulse Interface Mode: Operates in pulse-pulse or pulse-direction modes for precise step control.
  • Serial Interface Mode: Supports both open-loop and closed-loop control via serial communication.
  • Position Control: Can be operated in relative position or absolute position control modes.
  • MODBUS-RTU Communication: For RS485 versions, standard MODBUS-RTU protocol is supported for communication and control.
  • CAN Communication: For BUS versions, CAN interface allows for robust communication and control.

Refer to the provided host computer software and usage routines (STM32/Arduino) for detailed programming and control examples.

7. Troubleshooting (Status LED)

The MKS SERVO57ES driver features a status LED to indicate its current state or any detected errors. Refer to the table below for interpreting the LED signals:

Status LED Table for MKS SERVO57ES
Interpretation of the Status LED indicators on the MKS SERVO57ES driver.
Status LED Table
Status LED Indication
Green stays onMotor Running
Green flashMotor Stop
1 Green + 1 RedOver Current
1 Green + 2 RedOpen-Phase
1 Green + 3 RedSupply Voltage High
1 Green + 4 RedSupply Voltage Low
1 Green + 5 RedPosition Error
1 Green + 6 RedEncoder Error

Tip: Please ensure that the motor and encoder lines are connected correctly, otherwise a Position Error (1 Green + 5 Red) will appear after receiving the pulse.

8. User Tips

  • Always perform a calibration run after initial motor assembly or if the magnetic encoder's position is adjusted to ensure optimal accuracy.
  • Double-check all wiring connections, especially for the motor and encoder, to prevent common errors like 'Position Error'.
  • For detailed programming and advanced usage, refer to the open-source host computer software and STM32/Arduino routines available on GitHub.

9. Firmware Upgrade

The MKS SERVO57ES supports online firmware upgrades (IAP firmware upgrade) for both RS485 and BUS versions. This allows for easy updates to improve performance or add new features. Specific instructions and tools for firmware upgrades can be found on the official Makerbase GitHub repository.

10. Support & Resources

For further assistance, detailed documentation, and community support, please refer to the following resources:

11. Warranty Information

Please refer to the official Makerbase website or your point of purchase for detailed warranty information and terms of service. Keep your purchase receipt as proof of purchase for any warranty claims.

Documents and downloads

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.

After a successful submission, we securely hash the supplied account or form email before sending it to Microsoft Advertising for conversion attribution. Privacy details.