利用 Wi-Fi 技術實現無線 CANopen over EtherCAT
Wireless CANopen over EtherCAT (CoE) Using Wi-Fi
摘要
EtherCAT是由Beckhoff公司開發之通訊協定,由於其高速通訊傳輸、分散式時鐘、網路拓樸結構靈活等優點,目前已被廣泛應用於工業控制,而近年來隨著無線網路飛速發展,目前無線熱點已經發展至到第六代,傳輸速度更可達9.6 Gbit/s,隨著乙太網控制自動化技術和無線熱點技術發展,將其發展至無線已經可行,本文透過樹莓派提供無線熱點接入點,並利用標準的使用者資料報協定使電腦和樹莓派通訊,使樹莓派完成乙太網控制自動化技術主站和從站的通訊,實現了其狀態機、CAN總線應用協議中的服務資料物件、程序資料物件,並實際以實驗分析通訊穩定度、延遲資訊。
EtherCAT is a communication protocol developed by Beckhoff company. Due to its advantages of high-speed communication, distributed clock, flexible network topology, etc. It has been widely used in industrial control. In recent years, with the rapid development of wireless networks, Wi-Fi has reached the sixth generation, and the transmission speed can reach 9.6 Gbit/s. With the development of EtherCAT and Wi-Fi technology, it is possible to develop EtherCAT to wireless. This article use Raspberry Pi to provide Wi-Fi access points. And use the standard User Datagram Protocol (UDP) to make the computer communicate with the Raspberry Pi, so that we can complete the communication between the EtherCAT master and the slave. We also finish the Service Data Object (SDO) and Process Data Object (PDO) in CANopen over EtherCAT. Although with EtherCAT’s state machine. Finally, we use some experiments to analyze the communication stability.