2334113_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

2334113_en-US

2334113_en-US

Motor synchronous control demonstration using EtherCAT with i.MX RT1180 (Japanese blog)

We will demonstrate an integrated EtherCAT and motor control system, and introduce the high-performance microcontroller i.MX RT1180 that makes this possible.

This demonstration showcases the synchronization capabilities of EtherCAT and the high-precision motor control that accompanies it.


Motor synchronous control demonstration using EtherCAT



Explanation of how the demo works



EtherCAT_MotorControl_1.png


The board configuration consists of three boards: one EtherCAT master board and two EtherCAT slave boards, which together achieve EtherCAT synchronization.

The slave boards are equipped with motor drivers, and each slave board controls two motors, for a total of four motors.

  • The two motors at each end are controlled by slave board 1 and slave board 2 respectively, which adjust the left-right position of the two motors in the center.
  • The two motors in the center are also controlled by slave board 1 and slave board 2 respectively, and are responsible for meshing the gears together .


  1. Initially, the two central motors rotate synchronously with their gears meshed together, and then gradually separate to disengage.
  2. After the deactivation, the two central motors rotate at different speeds and approach each other again.
  3. The moment the gears mesh again, the two motors rapidly synchronize, achieving precise gear engagement. At the same time, the motors on both sides adjust the position of the two central motors to prevent them from colliding.
  4. After that, the separation, approach, and interlocking process is repeated.

Now, let me explain why such advanced control is possible with the RT1180 microcontroller.



i.MX RT1180 behavior


EtherCAT_MotorControl_2.png

First, within the i.MX RT1180 microcontroller, each core has a specific role. The M33 core (300MHz) is responsible for EtherCAT communication, and the M7 core (800MHz) is responsible for motor control.

The M33 core runs on an EtherCAT stack, achieving faster read/write speeds, lower costs, energy efficiency, and higher communication and response speeds compared to external devices.

The M7 core performs motor calculations (PWM) within 1.4 μs. This completes the update + ADC sample + closed loop vector control.

The dual-core cooperative operation of the M33 and M7 ensures superior point control performance and guarantees the operation of high-performance motors. Furthermore, the generous 1.5MB of RAM memory improves work efficiency and leaves room for further customization by the user.

EtherCAT_MotorControl_3.jpg


summary


Based on these points, we believe the i.MX RT1180 is an optimal choice for those considering servo applications.
The source code for this demo is available on NXP's Application Code Hub. Please see the link below for details.

How to set up the motion control reference design on iMX.RT1180


=========================

We are currently unable to respond to comments left in the " Comment "
section of this post . We apologize for the inconvenience, but please refer to "
Technical Questions to NXP - How to Contact Us( Japanese Blog) " when making inquiries.(If you are already an NXP distributor or have a relationship with NXP, you may ask your representative directly.)


We will demonstrate an integrated EtherCAT and motor control system, and introduce the high-performance microcontroller i.MX RT1180 that makes this possible.

This demonstration showcases the synchronization capabilities of EtherCAT and the high-precision motor control that accompanies it.

(Reading time: 10 minutes)

i.MX RT ProcessorsMCUXpressoMotor ControlTechnology FocusJapanese Blog
Tags (1)
No ratings
Version history
Last update:
‎03-17-2026 11:30 PM
Updated by: