Close Loop BLDC Motion Control Reference Design

Implements Real-Time Position Feedback for Motor Control System in FPGA

Related Applications

This Close Loop Brushless Direct Current (BLDC) Motion Control Reference Design describes and demonstrates an implementation of Industrial high-end encoder on real-time position feedback for speed control in the Closed-loop BLDC motor control system. It provides an example usage of integrating the encoder master IP and the motor control IP into a RISCV embedded control system on Lattice Certus NX FPGA device. The RD comes together with a demo GUI application for user to configure and run the BLDC motor.

Motion control is a sub-field of automation that involves the precise movement of machine components. To construct a complete system, several crucial components are required:

  • Motion Controller: controls the movement trajectories, e.g. microcontroller
  • Actuators: convert electrical energy into mechanical motion, e.g. a BLDC motor.
  • Drivers/Amplifiers: provide the necessary power to the actuators based on controller, e.g. a motor driver board.
  • Feedback Sensors: provide real-time data on position for accurate speed control, e.g. an encoder.

The types of control mainly consist of:

  • Open-Loop Control: operates without feedback, relying on predefined calculations.
  • Closed-Loop Control: uses real-time feedback from feedback sensors to adjust the motion.

FPGA offers flexibility in design, allowing for easy integration of feedback sensors such as encoders with various communication protocols and interfaces. Industrial encoders such as absolute encoder provides position data which can be processed by the FPGA to facilitate development of accurate motion control algorithms. In addition, FPGAs excel at handling real-time data processing where it can make immediate adjustments with low latency to the motor control signals with the continuous position feedback from absolute encoders. Lattice low-power FPGAs offer flexibility on implementing custom control algorithms as necessary for different motor control requirements.

Features

  • Supports both Closed-Loop Control with real-time feedback of motor position from an EnDat 2.2 encoder and Open-Loop Control without feedback
    Note: Additional encoder types such as BISS-C & Hiperface DSL will be supported in the future release.
  • Three-phase PWM signals with frequency of 16kHz
  • Configurable parameters such as Kp (proportional term) and the KI (integral term) in the feedback controller for speed control
  • Demo GUI application for configuration control and status monitoring of the BLDC motor
  • Additional hardware components required to work with the Close Loop BLDC Motion Control Reference Design: Heidenhein EnDat ROQ437 Rotary Encoder, Anaheim Automation BLY171S-24-4000, and Trenz TEP0002-03-Pmod-compatible-motor-driver-board-15A-0-30V

Block Diagram

Close Loop BLDC Motion Control Reference Design Overall System Block Diagram

Close Loop BLDC Motion Control Reference Design Encoder Subsystem Block Diagram

Documentation

Technical Resources
Downloads
TITLE NUMBER VERSION DATE FORMAT SIZE
Select All
Close Loop BLDC Motion Control Reference Design - Source Code
4/30/2025 ZIP 117.1 MB
Close Loop BLDC Motion Control Reference Design - User Guide
FPGA-RD-02308 1.0 1/20/2025 PDF 1.7 MB
TITLE NUMBER VERSION DATE FORMAT SIZE
Select All
Propel 2024.2 Patch for Close Loop BLDC Motion Control Reference Design
1/20/2025 ZIP 18.2 MB

*By clicking on the "Notify Me of Changes" button, you agree to receive notifications on changes to the document(s) you selected.