EtherCAT with Single-Axis Motor Control Reference Design

Field-Oriented Control (FOC) Implementation via EtherCAT Network

The Ethernet for Control Automation Technology (EtherCAT) with Motor Control reference design comprises a complete RISC-V embedded system integrated with the Beckhoff EtherCAT SubDevice IP and the Lattice FOC Motor Control IP. A RISC-V RX soft processor runs the Beckhoff EtherCAT Slave Controller (ESC) software stack to provide the communication protocol interface to the EtherCAT SubDevice IP. The design is operated using Beckhoff TwinCAT automation software installed on a host PC, which acts as the EtherCAT MainDevice to control the motor. This design specifically targets the Secure Connected Motion Control Platform, enabling robust, secure, and efficient motor control within industrial automation environments.

Features

  • Motor Control with EtherCAT as the real-time Ethernet network
  • Single-node SubDevice implementation with EtherCAT SM Synchronous Mode
  • Cycle time down to 100 us (tested with Beckhoff C6030-0080 Industrial PC)
  • Support Position and Speed Control of Motor
  • 25-bit position feedback from encoder and 12-bit phase-current sensing
Secure Connected Motion Control Platform Logos

Block Diagram

EtherCAT with Single-Axis Motor Control Reference Design Block Diagram


Development Kits, Boards and HW

Secure Connected Motion Control Platform

Board

Secure Connected Motion Control Platform

​​This platform offers resilient connectivity, low power consumption, high performance, and robust security is increasing across various industries.​
Secure Connected Motion Control Platform
Anaheim Motor (Dual Shaft) BLY171D-24V-4000

Board

Anaheim Motor (Dual Shaft) BLY171D-24V-4000

The BLY17 Series Brushless DC Motors come in a compact package with high power density. These motors are cost effective solutions to many velocity control applications.
 
Anaheim Motor (Dual Shaft) BLY171D-24V-4000
Trenz TEP0002-03-Pmod-compatible-motor-driver-board-15A-0-30V

Board

Trenz TEP0002-03-Pmod-compatible-motor-driver-board-15A-0-30V

The Trenz Electronic TEP0002 is a Pmod compatible motor driver board and good for developing BLCD or CD motor driving software.
 
Trenz TEP0002-03-Pmod-compatible-motor-driver-board-15A-0-30V

Documentation

Technical Resources
TITLE NUMBER VERSION DATE FORMAT SIZE
Select All
EtherCAT with Single-Axis Motor Control Reference Design - Source Code
5/12/2026 ZIP 87.8 MB
EtherCAT with Single-Axis Motor Control Reference Design - User Guide
FPGA-RD-02342 1.0 5/12/2026 PDF 5.4 MB

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