Implementation of an EtherCAT Master with SOEM on STM32 Microcontroller

STM32 마이크로 컨트롤러에서 SOEM을 이용하는 EtherCAT 마스터 구현

  • Sung Jin Kang (School of Electrical, Electronics & Communication Engineering, Korea University of Technology and Education) ;
  • Hwa Il Seo (School of Electrical, Electronics & Communication Engineering, Korea University of Technology and Education)
  • 강성진 (한국기술교육대학교 전기전자통신공학부) ;
  • 서화일 (한국기술교육대학교 전기전자통신공학부)
  • Received : 2023.04.10
  • Accepted : 2023.06.21
  • Published : 2023.06.30

Abstract

EtherCAT is an Ethernet-based fieldbus system standardized in IEC 61158 and SEMI, and widely used in the fields of factory automation, semiconductor equipment and robotics. In this paper, without operating system, we have implemented an EtherCAT master with an open source EtherCAT master stack SOEM on STM32 Nucleo-144 board with an STM32F767 microcontroller. And its jitter performance has been evaluated at the output of the network port to include all the effects of the entire system in the results. The results show that the implemented EtherCAT master has precise control performance for control frequencies from 1KHz to 8KHz and relatively superior jitter performance compared to the EtherCAT masters with real-time patched Linux operating system.

Keywords

Acknowledgement

이 논문은 2023년도 한국기술교육대학교 교수 교육연구진흥과제 지원에 의하여 연구되었음.

References

  1. EtherCAT Technology Group, http://www.ethercat.org [accessed April 10, 2023]. 
  2. S. Kang, "A Study on Implementation of Real-time EtherCAT Master," Journal of the Semiconductor & Display Technology, Vol. 20, No. 2, pp.131-136, 2021. 
  3. S. Kang, O. Kim, "Performance Evaluation of an Embedded EtherCAT Master with SOEM on PREEMPT_RT Linux," Journal of the Semiconductor & Display Technology, Vol. 21, No. 3, pp.26-32, 2022. 
  4. https://os.mbed.com/users/EasyCAT/code/SOEM/ [accessed April 10, 2023]. 
  5. https://github.com/lipoyang/SOEM4Mbed [accessed April 10, 2023]. 
  6. UM1974: STM32 Nucleo-144 boards, Rev. 9, January 2023. 
  7. RM0410: STM32F76xxx and STM32F77xxx advanced Arm®-based 32-bit MCUs, Rev. 4, March 2018 
  8. UM2609: STM32CubeIDE user guide, Rev. 8, February 2023. 
  9. https://github.com/OpenEtherCATsociety/SOEM/releases [accessed April 10, 2023]. 
  10. UM1713: Developing applications on STM32Cube with LwIP TCP/IP stack, Rev. 4, May 2015.