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.
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:
| 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 | |
3. Package Contents
The following items are typically included in the package, depending on the specific version purchased:
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:
- Install the Magnet: Install the magnet to the axis of the motor and fix it with glue.
- Install Copper Pillars: Install three single-pass hexagonal screw copper pillars (M2*3+3). These are used to fix the MKS SERVO57ES board.
- 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.
- 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).
- Install Aluminum Shell: Install the aluminum shell onto the MKS SERVO57ES board and fix it with four M3 screws.
- 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
| 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+ | Input | Enable 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 COM | Left 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 1 | IN 1 | Left limit signal positive/negative | |
| IN 2 | IN 2 | Right limit signal positive/negative | |
| ALM+ | Output | Alarm signal positive | (1) When an alarm occurs, the optocoupler output is on. (2) Maximum voltage +35V, maximum current 50mA. |
| ALM- | Alarm signal negative | ||
| PEND+ | Output | In 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+ | Input | Encoder B+ | Connected to encoder |
| EB- | Encoder B- | ||
| EA+ | Encoder A+ | ||
| EA- | Encoder A- | ||
| ESV | Output | Encoder power supply positive | Output only |
| EGND | Encoder power supply negative | ||
| A- | Output | Motor phase A- | Connected to motor phase line |
| A+ | Motor phase A+ | ||
| B- | Motor phase B- | ||
| B+ | Motor phase B+ | ||
| VDC | Input | Drive power supply positive | Operating Voltage +20 - 48V |
| GND | Drive power supply negative |
5.2. Controller Interface Wiring
5.3. MKS SERVO57ES BUS Wiring
5.4. MKS SERVO57ES RS485 Wiring
5.5. Limit Switch Wiring
The wiring method for MKS SERVO57ES_BUS is the same as MKS SERVO57ES_RS485.
5.6. Magnetic Encoder Distance Requirements
- 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 | Indication |
|---|---|
| Green stays on | Motor Running |
| Green flash | Motor Stop |
| 1 Green + 1 Red | Over Current |
| 1 Green + 2 Red | Open-Phase |
| 1 Green + 3 Red | Supply Voltage High |
| 1 Green + 4 Red | Supply Voltage Low |
| 1 Green + 5 Red | Position Error |
| 1 Green + 6 Red | Encoder 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:
- GitHub Repository: Access open-source code, detailed user manuals, and usage routines.
https://github.com/makerbase-motor/MKS-SERVO42ES-57ES - User Manual (GitHub): Direct link to the user manual within the GitHub repository.
https://github.com/makerbase-motor/MKS-SERVO42ES-57ES/tree/master/User%20Manual - YouTube Channel: Watch instructional videos and demonstrations.
MKS SERVO57ES Introduction Video
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.