Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use MKS DUAL FOC: Examples, Pinouts, and Specs

Image of MKS DUAL FOC
Cirkit Designer LogoDesign with MKS DUAL FOC in Cirkit Designer

Introduction

The MKS DUAL FOC (V3.3), manufactured by Makerbase, is a dual-channel field-oriented control (FOC) driver designed for brushless DC (BLDC) motors. It enables precise control and high efficiency, making it ideal for applications such as robotics, electric vehicles, drones, and industrial automation. By leveraging FOC technology, the MKS DUAL FOC ensures smooth motor operation, reduced noise, and optimized power consumption.

Explore Projects Built with MKS DUAL FOC

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
STM32H7 Controlled Brushless Motors with AS5048 Encoders and CAN Bus Communication
Image of Robot Arm 2.0: A project utilizing MKS DUAL FOC in a practical application
This is a motor control system designed to operate and manage multiple brushless motors with feedback from magnetic encoders. It uses a STM32H7 microcontroller for control logic, SimpleFOCMini drivers for motor control, and a CAN BUS for communication, all powered by a 12V DC supply.
Cirkit Designer LogoOpen Project in Cirkit Designer
Battery-Powered BLDC Motor Control System with KK2.1.5 Flight Controller
Image of broncsDrone: A project utilizing MKS DUAL FOC in a practical application
This circuit is a quadcopter control system that includes a LiPo battery, four BLDC motors, four ESCs, a KK2.1.5 flight controller, and an FS-R6B receiver. The KK2.1.5 flight controller manages the ESCs and motors based on input signals from the receiver, which is powered by the LiPo battery.
Cirkit Designer LogoOpen Project in Cirkit Designer
IR Obstacle Detection System with Relay-Controlled Gearmotors and Boost Converters
Image of LFR 1: A project utilizing MKS DUAL FOC in a practical application
This circuit consists of two FC-51 IR Obstacle Sensors connected to two KF-301 relays, which likely serve as triggers for switching the relays. Four gearmotors are powered through two XL6009E1 Boost Converters, which are likely used to step up the voltage from a 2-cell 18650 Li-ion battery pack. The relays appear to control the power flow to the boost converters, and thus to the gearmotors, based on the obstacle detection inputs.
Cirkit Designer LogoOpen Project in Cirkit Designer
Battery-Powered Sumo Robot with IR Sensors and DC Motors
Image of MASSIVE SUMO AUTO BOARD: A project utilizing MKS DUAL FOC in a practical application
This circuit is designed for a robotic system, featuring a Massive Sumo Board as the central controller. It integrates multiple FS-80NK diffuse IR sensors and IR line sensors for obstacle detection and line following, respectively, and controls two GM25 DC motors via MD13s motor drivers for movement. Power is supplied by an 11.1V LiPo battery.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with MKS DUAL FOC

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Robot Arm 2.0: A project utilizing MKS DUAL FOC in a practical application
STM32H7 Controlled Brushless Motors with AS5048 Encoders and CAN Bus Communication
This is a motor control system designed to operate and manage multiple brushless motors with feedback from magnetic encoders. It uses a STM32H7 microcontroller for control logic, SimpleFOCMini drivers for motor control, and a CAN BUS for communication, all powered by a 12V DC supply.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of broncsDrone: A project utilizing MKS DUAL FOC in a practical application
Battery-Powered BLDC Motor Control System with KK2.1.5 Flight Controller
This circuit is a quadcopter control system that includes a LiPo battery, four BLDC motors, four ESCs, a KK2.1.5 flight controller, and an FS-R6B receiver. The KK2.1.5 flight controller manages the ESCs and motors based on input signals from the receiver, which is powered by the LiPo battery.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of LFR 1: A project utilizing MKS DUAL FOC in a practical application
IR Obstacle Detection System with Relay-Controlled Gearmotors and Boost Converters
This circuit consists of two FC-51 IR Obstacle Sensors connected to two KF-301 relays, which likely serve as triggers for switching the relays. Four gearmotors are powered through two XL6009E1 Boost Converters, which are likely used to step up the voltage from a 2-cell 18650 Li-ion battery pack. The relays appear to control the power flow to the boost converters, and thus to the gearmotors, based on the obstacle detection inputs.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of MASSIVE SUMO AUTO BOARD: A project utilizing MKS DUAL FOC in a practical application
Battery-Powered Sumo Robot with IR Sensors and DC Motors
This circuit is designed for a robotic system, featuring a Massive Sumo Board as the central controller. It integrates multiple FS-80NK diffuse IR sensors and IR line sensors for obstacle detection and line following, respectively, and controls two GM25 DC motors via MD13s motor drivers for movement. Power is supplied by an 11.1V LiPo battery.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • Robotics (e.g., robotic arms, mobile robots)
  • Electric vehicles (e.g., e-bikes, scooters)
  • Drones and UAVs
  • Industrial automation systems
  • CNC machines and 3D printers

Technical Specifications

Key Technical Details

Parameter Specification
Manufacturer Makerbase
Part ID V3.3
Input Voltage Range 12V - 48V DC
Maximum Current per Channel 15A
Control Method Field-Oriented Control (FOC)
Communication Interfaces UART, CAN, PWM
Supported Motors Brushless DC (BLDC) motors
Dimensions 60mm x 50mm x 15mm
Operating Temperature Range -20°C to 85°C

Pin Configuration and Descriptions

The MKS DUAL FOC features a set of connectors for power, motor outputs, and communication. Below is the pin configuration:

Power and Motor Connections

Pin Name Description
VIN+ Positive input voltage (12V - 48V DC)
VIN- Ground (GND)
M1_A, M1_B, M1_C Motor 1 phase connections (A, B, C)
M2_A, M2_B, M2_C Motor 2 phase connections (A, B, C)

Communication and Control

Pin Name Description
UART_TX UART transmit pin
UART_RX UART receive pin
CAN_H CAN bus high signal
CAN_L CAN bus low signal
PWM1 PWM input for Motor 1
PWM2 PWM input for Motor 2
GND Ground for communication signals

Usage Instructions

How to Use the MKS DUAL FOC in a Circuit

  1. Power Supply: Connect a DC power supply (12V - 48V) to the VIN+ and VIN- pins. Ensure the power supply can handle the current requirements of the motors.
  2. Motor Connections: Connect the three-phase wires of each BLDC motor to the corresponding M1_A, M1_B, M1_C (for Motor 1) and M2_A, M2_B, M2_C (for Motor 2) pins.
  3. Communication: Use UART, CAN, or PWM to control the driver. For example:
    • UART: Connect the UART_TX and UART_RX pins to a microcontroller or PC for serial communication.
    • PWM: Provide a PWM signal to the PWM1 and PWM2 pins for speed and direction control.
  4. Control Logic: Program your microcontroller or control system to send appropriate commands to the MKS DUAL FOC based on your application requirements.

Important Considerations

  • Voltage Compatibility: Ensure the input voltage matches the motor's operating voltage range.
  • Heat Dissipation: Use a heatsink or active cooling if the driver operates near its maximum current rating.
  • Wiring: Double-check all connections to avoid short circuits or incorrect wiring.
  • Motor Tuning: Use the Makerbase configuration software to fine-tune motor parameters for optimal performance.

Example: Using MKS DUAL FOC with Arduino UNO

Below is an example of controlling a BLDC motor connected to the MKS DUAL FOC using PWM signals from an Arduino UNO.

// Example: Controlling MKS DUAL FOC with Arduino UNO
// This code generates a PWM signal to control Motor 1 speed and direction.

// Define PWM pin for Motor 1
const int pwmPin = 9; // Connect to PWM1 on MKS DUAL FOC

void setup() {
  // Set the PWM pin as output
  pinMode(pwmPin, OUTPUT);
}

void loop() {
  // Generate a PWM signal to control motor speed
  analogWrite(pwmPin, 128); // 50% duty cycle (range: 0-255)
  
  // Delay for 2 seconds
  delay(2000);

  // Stop the motor
  analogWrite(pwmPin, 0); // 0% duty cycle (motor off)
  
  // Delay for 2 seconds
  delay(2000);
}

Notes:

  • Adjust the analogWrite value to control motor speed (0 = off, 255 = full speed).
  • Ensure the Arduino's ground (GND) is connected to the MKS DUAL FOC's GND.

Troubleshooting and FAQs

Common Issues and Solutions

  1. Motor Not Spinning

    • Cause: Incorrect wiring or insufficient power supply.
    • Solution: Verify motor connections and ensure the power supply meets voltage and current requirements.
  2. Overheating

    • Cause: Prolonged operation at high current without proper cooling.
    • Solution: Add a heatsink or active cooling to the driver.
  3. Communication Failure

    • Cause: Incorrect UART or CAN wiring.
    • Solution: Check the communication connections and ensure the baud rate matches the configuration.
  4. Erratic Motor Behavior

    • Cause: Incorrect motor parameters or noise in the control signals.
    • Solution: Use the Makerbase configuration software to tune motor parameters and add filtering to control signals.

FAQs

  • Q: Can I use the MKS DUAL FOC with a single motor?

    • A: Yes, you can use it with one motor by leaving the unused motor connections unconnected.
  • Q: What is the maximum supported motor speed?

    • A: The maximum speed depends on the motor's specifications and the input voltage. Ensure the motor's RPM rating is compatible with the driver.
  • Q: Is the MKS DUAL FOC compatible with sensorless BLDC motors?

    • A: Yes, it supports both sensored and sensorless BLDC motors.
  • Q: Can I use the MKS DUAL FOC with a Raspberry Pi?

    • A: Yes, you can use the UART or CAN interface to communicate with a Raspberry Pi.

This concludes the documentation for the MKS DUAL FOC (V3.3). For further assistance, refer to the Makerbase user manual or contact their support team.