摘要
由于EtherCAT现场总线的开源性,在国内工业自动化领域应用越来越广。EtherCAT现场总线具有很强的实时性要求,通信抖动小,周期短。工控机端的通信网络一般为TCP/IP通信协议,该协议为非实时性通信方式,不能与EtherCAT直接完成数据交互,两者之间需要进行通信协议的转换。设计了一种基于STM32的EtherCAT从站和FPGA的UDP的通信方式,通过借助硬件介质来实现,硬件开发采用LAN9252 (EtherCAT从站控制器)、STM32F103、FPGA和88EE1111为主要芯片。在STM32F103中执行EtherCat从站协议栈,FPGA实现UDP与EtherCAT协议的转换,实现实时通信的转换及传输。
Due to the open source of EtherCAT fieldbus,and is more and more widely used in the field of domestic industrial automation.EtherCAT fieldbus has strong real-time requirements,small communication jitter and short cycle.The communication network at the industrial computer end is generally TCP/IP communication protocol,which is a non real-time communication mode,and cannot directly complete data interaction with EtherCAT.The conversion of communication protocol is required between the two.With the help of hardware media,a UDP communication mode between EtherCAT slave station based on STM32 and FPGA is designed.Lan9252(EtherCAT slave station controller),STM32F103,FPGA and 88ee1111 are used as the main chips in the hardware development.Execute EtherCAT slave protocol stack in STM32F103,and FPGA realizes the conversion of UDP and EtherCAT protocol,and realizes the conversion and transmission of real-time communication.
作者
何春茂
葛智光
He Chunmao;Ge Zhiguang(Guangdong Provincial Key Laboratory of High Performance Servo System,Zhuhai Guangdong 519000;Zhuhai Gree Electric Appliance Co.,Ltd.,Zhuhai Guangdong 519000)
出处
《现代工业经济和信息化》
2023年第4期111-113,共3页
Modern Industrial Economy and Informationization