Makerbase MKS SERVO42D

MKS SERVO42D Closed Loop Stepper Motor Driver

Model: MKS SERVO42D | Brand: Makerbase

1. Introducció

The Makerbase MKS SERVO42D is a high-performance closed-loop stepper motor driver designed to meet the demands of various applications including small robotic arms, 3D printers, engraving machines, and automation products. This driver integrates a pulse interface and offers communication options via RS485 or CAN interfaces. Featuring an efficient FOC vector algorithm and a high-precision encoder, it effectively prevents motor step loss through precise position feedback, ensuring smooth and reliable operation.

MKS SERVO42D Closed Loop Stepper Motor Driver (Front View)

Figure 1: MKS SERVO42D Closed Loop Stepper Motor Driver

2. Característiques clau

  • Support 6 working modes: pulse interface (open loop, closed loop, FOC mode), serial interface (open loop, closed loop, FOC mode).
  • Support MODBUS-RTU communication protocol (RS485 version).
  • High-performance FOC vector control algorithm, torque, speed, and position three-loop control.
  • Support curve acceleration and deceleration, motor start and stop are smoother.
  • Support single-turn unlimited zeroing function.
  • Support multi-turn limit zeroing and left and right limit functions.
  • Support direct setting of zero point function.
  • Support relative position and absolute position control modes.
  • Support 1~256 arbitrary subdivision steps.
  • Built-in 256-step subdivision interpolation algorithm, the motor runs super quiet and ultra-low vibration.
  • Maximum input pulse frequency 160KHz, maximum speed 3000RPM+.
  • Real-time update of motor angle information (motor enabled or disabled).
  • Onboard industrial-grade high-precision 16384-line magnetic encoder.
  • Onboard 8 high-power MOSFETs, 40V/20A.
  • Built-in RS-485 interface, 256 slave addresses, support group address (RS485 version).
  • Built-in CAN interface, 2048 slave addresses, support group address (CAN version).
  • Maximum operating current 3.0A, MOSFET continuous operating current 20A (25 °C).
  • Onboard OLED display screen and buttons make it easy to modify parameters, automatically save and take effect immediately.
  • With built-in stall protection function.
  • With encoder self-calibration function.
  • One-click quick restore to factory settings.
  • Stable high-speed performance, smooth operation, no shaking, and emergency stop.
  • Integrated aluminum alloy shell, effective heat dissipation, the motor works more stably with continuous high current.
  • Provide host computer (open source), STM32/Arduion usage routines.
  • Support unlimited switch return to zero function.

3. Especificacions tècniques

CaracterísticaEspecificació
TipusVoltage Regulator (Stepper Motor Driver)
OrigenXina continental
CondicióNou
Corrent màxim de funcionament3.0A
MOSFET Continuous Operating Current20A (at 25 °C)
Max Input Pulse Frequency160 KHz
Velocitat màxima3000 RPM+
CodificadorIndustrial-grade high-precision 16384-line magnetic encoder
MOSFET8 high-power MOSFETs, 40V/20A
Interfícies de comunicacióRS485 (MODBUS-RTU) or CAN
Subdivision Steps1~256 arbitrary subdivision steps
Algoritme de controlFOC vector control algorithm

4. Contingut del paquet

The MKS SERVO42D package typically includes the following components:

  • MKS SERVO42D Closed Loop Stepper Motor Driver board (RS485 or CAN version)
  • Wiring harness for motor connection (4-pin, colored wires)
  • Cargols de muntatge
  • Les volanderes
  • Small button/cap (possibly for reset or configuration)
MKS SERVO42D Version 3 Plug-in Package (RS485) Contents

Figure 2: Typical contents of the MKS SERVO42D (RS485 version) package.

5. Instal·lació i cablejat

Careful wiring is essential for the correct and safe operation of the MKS SERVO42D driver. Ensure all power is disconnected before making any connections.

5.1. RS485 Version Wiring

MKS SERVO42D RS485 V1.0 PCB Layout with Pin Labels

Figure 3: MKS SERVO42D RS485 V1.0 PCB Layout (Front and Back) showing pin assignments.

Etiqueta del pinDescripció
V+Motor Power Supply Input (e.g., 12-24V DC)
GNDGround for Power Supply
A+, A-, B+, B-Motor Phase Windings (connect to stepper motor coils)
ENEnable Signal Input (active low, typically)
STPStep Pulse Input
DIRDirection Signal Input
5V5V Output (for external logic, limited current)
COMCommon Ground for Control Signals
485R, 485SRS485 Communication Lines (connect to RS485 master device)

5.2. CAN Version Wiring

MKS SERVO42D CAN V1.0 PCB Layout with Pin Labels

Figure 4: MKS SERVO42D CAN V1.0 PCB Layout (Front and Back) showing pin assignments.

Etiqueta del pinDescripció
V+Motor Power Supply Input (e.g., 12-24V DC)
GNDGround for Power Supply
A+, A-, B+, B-Motor Phase Windings (connect to stepper motor coils)
ENEnable Signal Input (active low, typically)
STPStep Pulse Input
DIRDirection Signal Input
5V5V Output (for external logic, limited current)
COMCommon Ground for Control Signals
CAN L, CAN HCAN Bus Communication Lines (connect to CAN bus network)

Notes generals de cablejat:

  • Ensure correct polarity for power connections (V+ and GND).
  • Connect motor phase windings (A+, A-, B+, B-) to the corresponding terminals on the driver. Refer to your stepper motor's datasheet for correct winding identification.
  • Control signals (EN, STP, DIR) should be connected to your microcontroller or control board.
  • For serial communication (RS485 or CAN), connect the respective lines to your master device or network.

6. Funcionament

The MKS SERVO42D supports various operating modes and control methods to suit different application requirements.

6.1. Modes de treball

The driver supports 6 distinct working modes:

  • Pulse Interface Modes:
    • Mode de bucle obert
    • Mode de bucle tancat
    • FOC (Field-Oriented Control) Mode
  • Serial Interface Modes (RS485/CAN):
    • Mode de bucle obert
    • Mode de bucle tancat
    • FOC (Field-Oriented Control) Mode

The FOC vector control algorithm provides precise torque, speed, and position control, enhancing motor performance and efficiency.

6.2. Funcions de control

  • Acceleració/Desacceleració: Supports curve acceleration and deceleration for smoother motor starts and stops.
  • Zeroing Functions:
    • Single-turn unlimited zeroing.
    • Multi-turn limit zeroing.
    • Left and right limit functions.
    • Direct setting of zero point.
    • Unlimited switch return to zero.
  • Control de posició: Supports both relative and absolute position control modes.
  • Subdivisió: Configurable 1 to 256 arbitrary subdivision steps, with a built-in 256-step interpolation algorithm for quiet and low-vibration operation.
  • Real-time Angle Information: Motor angle information is updated in real-time, regardless of whether the motor is enabled or disabled.

7. Configuration and Parameter Adjustment

The MKS SERVO42D features an onboard OLED display and buttons for easy parameter modification. Changes are automatically saved and take effect immediately.

  • Pantalla OLED: Provides visual feedback on current settings and motor status.
  • Buttons (Menu, Enter, Next): Navigate through menus and adjust parameters directly on the device.
  • Restabliment de fàbrica: A one-click function is available to quickly restore the device to its default factory settings.

For advanced configuration and monitoring, a host computer application (open source) is provided, along with usage routines for STM32 and Arduino platforms.

8. Solució De Problemes

This section provides guidance on common issues you might encounter with the MKS SERVO42D driver.

  • Motor Not Moving/Stalling:
    • Comproveu el volum d'alimentaciótage i capacitat actual.
    • Verify motor wiring (A+, A-, B+, B-) is correct and secure.
    • Ensure the EN (Enable) signal is active (typically low).
    • Check step (STP) and direction (DIR) signals from your controller.
    • The driver has built-in stall protection; check if it's being triggered due to excessive load or incorrect current settings.
  • Posicionament incorrecte:
    • Perform encoder self-calibration.
    • Verify the encoder connection is secure.
    • Check for mechanical issues in the system (e.g., binding, loose couplings).
    • Ensure the correct subdivision steps are configured.
  • Communication Issues (RS485/CAN):
    • Verify communication wiring (485R/485S or CAN L/CAN H) and termination resistors if applicable.
    • Check baud rates and slave addresses for consistency between the driver and master device.
    • Ensure the correct communication protocol (MODBUS-RTU for RS485) is being used.
  • Sobreescalfament:
    • Ensure adequate ventilation around the driver. The integrated aluminum alloy shell aids in heat dissipation, but extreme ambient temperatures or continuous high current operation may require additional cooling.
    • Reduce motor current if possible without affecting performance.
  • Comportament inesperat:
    • Try restoring to factory settings using the onboard buttons.
    • Consult the provided host computer software or STM32/Arduino routines for diagnostic tools.

9. Manteniment

The MKS SERVO42D is designed for robust operation with minimal maintenance. Follow these guidelines to ensure longevity:

  • Neteja: Keep the driver free from dust and debris. Use a soft, dry brush or compressed air to clean the heatsink fins periodically.
  • Condicions ambientals: Operate the driver within its specified temperature and humidity ranges. Avoid exposure to moisture, corrosive gases, or excessive vibrations.
  • Connexions: Comproveu periòdicament totes les connexions del cablejat per assegurar-vos que estiguin ben fixades i sense corrosió. Les connexions soltes poden provocar un funcionament intermitent o danys.
  • Actualitzacions de firmware: Comproveu el del fabricant weblloc web per a qualsevol actualització de firmware disponible que pugui millorar el rendiment o afegir noves funcions. Seguiu atentament les instruccions proporcionades per a qualsevol procediment d'actualització.

10. Suport i Recursos

For further assistance and detailed technical information, please refer to the following resources:

  • Programari de l'ordinador amfitrió: Open-source host computer software is available for advanced configuration, monitoring, and diagnostics.
  • Programming Routines: Example usage routines for STM32 and Arduino platforms are provided to help with integration into your projects.
  • Fabricant Weblloc: Visit the Makerbase official website for the latest documentation, downloads, and community support.

Controlador de motor pas a pas de bucle tancat Makerbase MKS SERVO42Dview Demostració de control

Controlador de motor pas a pas de bucle tancat Makerbase MKS SERVO42Dview Demostració de control

0:30 • 720×720 • demostració

Documents relacionats - MKS SERVO42D

Preview Makerbase MKS SERVO57D RS485 & CAN Servo Motor Controller - Technical Overview
Detall tècnicview of the Makerbase MKS SERVO57D servo motor controller, available in RS485 and CAN interface variants. Features, specifications, wiring diagrams, and assembly instructions.
Preview Makerbase Product Manual: XRIVE, MKS ESP32, MKS Gen_L, and More
Find installation instructions and setup files for Makerbase electronic components including XRIVE, MKS ESP32 FOC V1/V2, MKS Gen_L, MKS CANable, MKS VESC, and MKS SERVO42C via provided links.
Preview Manual de cablejat MKS DLC32 V2 - Makerbase
Manual de cablejat complet per a la placa de control de gravat fora de línia Makerbase MKS DLC32 V2.0. Cobreix l'entrada d'alimentació, les interfícies, la configuració de l'accionament del motor, les connexions del làser i del fus, els topalls i el suport tècnic.
Preview Manual de l'MKS DLC32 V2: Característiques, connexions i especificacions
Manual tècnic complet per a la placa de control de la màquina de gravat CNC Makerbase MKS DLC32 V2. Detalla l'entrada d'alimentació, USB, targeta TF, configuració de l'accionament del motor, connexions del làser i del cargol, topall, sonda, I2C i interfícies de brunzidor, incloent-hi diagrames de cablejat i especificacions.
Preview Manual d'usuari de MKS DLC32 - Makerbase
Manual d'usuari complet per a la placa controladora Makerbase MKS DLC32, que cobreix la interfície de maquinari, les actualitzacions de firmware i els modes de control per a impressores 3D i màquines CNC.
Preview Pantalla tàctil LCD MKS TFT32 per a impressores 3D - Makerbase
Exploreu l'MKS TFT32, una pantalla LCD tàctil en color de 32 polzades versàtil de Makerbase, dissenyada per a impressores 3D. Apreneu sobre les seves característiques, connectivitat, actualitzacions de firmware i...tagdetecció electrònica i capacitats WIFI.