RoboMotor

Public

@baoqi-zhong

Share RoboMotor

Check access before sharing the link.

Who can open this board

Anyone can open this board. No sign-in is required.

This link opens the latest version. Copying it does not grant additional access.

Loading…

README

RoboMotor

English | 中文版

RoboMotor is an open-source FOC motor driver project. It provides integrated hardware designs and control algorithms for robotics applications.

Key Features

  • Hardware Specs: 4-to-6 layer PCBs designed for 20A-40A continuous current at 24V.
  • Control Algorithm: Field-Oriented Control (FOC) with current, speed, and position loops.
  • Validation: Designs tested in RoboMaster environments.

Hardware

Designed with KiCad 8. For detailed specifications, schematics, and measured performance, please visit the Hardware directory or click on a specific project below.

Project NameTarget MotorKey SpecsCore
RoboMotor-DJI-M3508DJI M350824V 20A, 6-Layer, Sin/Cos EncoderSTSPIN32G4
RoboMotor-GIM6010-V2GIM6010-824V 40A, Dual Encoder SupportSTSPIN32G4
RoboMotor-GIM6010-V2-EncoderGIM6010-8Magnetic Output Encoder PCBMA730
RoboMotor-GIM6010GIM6010-8Legacy Reference DesignSTM32G431 + FD6288

Software

The FOC control algorithm is developed for the STM32G4 series.

Features

  • FOC Implementation: Sensor-based Field-Oriented Control with Flux/Torque decoupling and BEMF feedforward compensation.
  • Control Loops: 17Khz inner Current loop + outer 4Khz Speed loop + 1Khz Position loop.
  • Connectivity:
    • CAN Bus: Compatible with DJI RoboMaster protocols (M3508/C620).
    • Custom Protocol: Extended commands for parameter tuning and telemetry.
  • Additional Functions:
    • Auto-Calibration: Routines for encoder offset and motor parameter identification.
    • Safety Mechanisms: Error handling (Over-current, Over/under voltage, Over-temp) with auto-recovery modes.
    • Feedback Support: Support for SPI magnetic encoders and analog inputs.

Find the source code and documentation in the Software/ directory.

License

This project is released under the MIT License.
See LICENSE for details.

Comments

No comments yet. Be the first to ask about this board.

Ask about this board

Sign in to BoardRepo

New here? Signing in creates your account; there is no separate sign-up.