Design and Implementation of Industrial Ethernet Protocol EtherCAT Slaver Based on STM32

Author
ShiDianKun
Advisor
ZhangZhongZhao
School
Harbin Institute of Technology
Major
Information and Communication Engineering
Classification
TP273.5 Computer control, computer control system
Degree
Master's thesis
Year
2013
Downloads
35
Citations
0

Request the full text

Abstract

As the degree of automation of the industrial sector continues to strengthen,the fieldbus data transmission capabilities, device compatibility and developmentcosts have higher requirements. On the one hand, the traditional fieldbusstandard for transmission of control information, device compatibility betweendifferent manufactures of different fieldbus standard, its position in the field ofautomation declining; On the other hand, the Business Ethernet technologycontinues to evolve, the data transfer capabilities of the Ethernet technology ispowerful, device compatibility, and high technology is mature, the developmentcosts low so that we see the Ethernet technology used in the industrial field withgood prospects. Famous manufactures of the world’s major automation Ethernetsolutions depending on the development of industrial Ethernet standard. TheEtherCAT fieldbus technology is a real-time industrial Ethernet protocol isdeveloped by a German company named Beckhoff.EtherCAT Industrial Ethernet slave system based on STM32have beendesigned in this paper. At first, The paper introduced EtherCAT technologycharacteristics from a protocol point of view and analysis how the system worksand has this superior performance. Then, The paper described the composition ofthe EtherCAT slave device from the device perspective. The EtherCAT slavestation contains two parts: slave microprocessor part of the STM module andslave control part of ESC module. Each part starts from the corresponding corechip and focuses on interface in this design.The paper creative useSTM32chip’specific function named FSMC to read and write the externalmemory mechanism operating in the ESC module memory area. Finally, we testthe entire slave system. The test process is divided into three parts: Register test,State machine program test and Master-slave station system joint debugging. Itgives EtherCAT slave station the realization of function and performance.This design about EtherCAT slave station system is the first develop mentbased on STM32microprocessor. It give full play to the STM32in industrildesign field by its low cost of lower power consumption characteristics. Whilethe design directly the unique FSMC mechanism of STM32to read and write thememory of the ESC module and the system’s performance has been greatlyimproved.

Table of contents

Summary 4-5 Abstract 5-8 Chapter 1 Introduction 8-20 1.1 Background and Significance 8 - 9 1.2 fieldbus technical Overview 9-18 1.2.1 traditional fieldbus 9-12 1.2.2 industrial Ethernet 12 - 16 1.2.3 EtherCAT main contents of 16-18 1.3 article 18-20 Chapter 2 ETHERCAT technical presentations 20-32 2.1 Introduction 20 2.2 ETHERCAT agreement frame 20-23 2.2.1 EtherCAT data 20-21 2.2.2 EtherCAT addressing 21-23 2.3 ETHERCAT system 23-27 2.3.1 EtherCAT works 23-24 2.3.2 EtherCAT topology structure 24-26 2.3.3 EtherCAT performance analysis 26-27 2.4 ETHERCAT slaves achieve 27-31 2.4.1 IP core program 27-28 2.4.2 ASIC solutions 28-30 2.4.3 slave state machine 30-31 2.5 Summary 31-32 Chapter 3, based on the STM32 ETHERCAT slave system design 32-46 3.1 Introduction 32 3.2 overall system design 32-33 3.3 ESC module 33-37 3.3.1 core chip ET1100 33-35 3.3.2 network Interface design 35 -36 3.3.3 PDI interface design 36-37 3.4 STM module 37-44 3.4.1 core chip STM32 38-39 3.4.2 USB to serial 39-41 3.4.3 FSMC interface design 41-44 3.5 Summary 44-46 <br / > Chapter 4 of the slave -based STM32 platform software design and testing 46-61 4.1 Introduction 46 4.2 ETHERCAT slave software design 46-52 4.2.1 FSMC driven design 48-51 4.2.2 slave protocol programming 51-52 4.3 platform test 52 - 60 4.3.1 slave basic functional test 52-54 4.3.2 slave protocol testing procedures 54-58 4.3.3 master and slave system test 58-60 4.4 Summary 60-61 conclusion 61-62 References 62-66 <br / > Thanks 66

Related dissertations

  1. Software Design and Implementation for Slave Equipment of EtherCAT Industrial Ethernet
    GuChaoZuo ·Harbin Institute of Technology ·2013 ·Master's thesis
  2. Driver Design of Industrial Ethernet EtherCAT Slave Based on DSP
    GaoPeng ·Beijing Jiaotong University ·2012 ·Master's thesis
  3. Research and design of adapter of Embedded Gateway Based on EtherCAT
  4. The Research of Slave Station Control System Base on EtherCAT
  5. Analysis and Implementation of Slave Based on the EtherCAT Protocol
    WangJinChao ·Shenyang University of Technology ·2013 ·Master's thesis
  6. Implementation of Industrial Ethernet Protocol Master Based on EtherCAT
    XueHongXia ·Harbin Institute of Technology ·2013 ·Master's thesis
  7. Design and Implementation of Slave Station of PLC System Based on EtherCAT
    YangSiXiong ·Harbin Institute of Technology ·2013 ·Master's thesis
  8. The Research on the Monitoring System of Sewage Treatment Plant Based on King Scada
  9. The Design and Application of Monitoring System for Wet Resin Ingredients Based on DCS
    GuManMan ·Hefei University of Technology ·2013 ·Master's thesis
  10. Design and Research on Fire Detection and Alarm System Based on Multi-sensor Information Fusion Technology
  11. Design of Industrial Equipment State Wireless Monitoring System Based on STM32
    ZhangDongSheng ·Dalian University of Technology ·2013 ·Master's thesis
  12. The Design of Data Monitoring and Control System Based on USB and Lab VIEW
  13. Research on Techniques of Network Topologyandad Hoc Network in Cold Chain Transportation Monitoring System
    HanZuo ·Hebei University of Technology ·2013 ·Master's thesis
  14. The Research and Design of Infrared Sensor Monitoring System Based on STM32
    WangHuaJie ·Hunan University ·2013 ·Master's thesis
  15. High-precision In-pipeline Temperature Measurement System Based on STM32
    ShiWeiMing ·Dalian Jiaotong University ·2013 ·Master's thesis
  16. Design and Implementation of a Cooler of Data Acquisition and Control System Based on STM32
    SongYuanZong ·Dalian University of Technology ·2013 ·Master's thesis
  17. Design of Steam System Data Acquisition Sub-station
    FanZuo ·Dalian University of Technology ·2013 ·Master's thesis
  18. The Collection and Storage of Physiological Signals System Based on STM32
    LiuShuai ·Shandong Normal University ·2014 ·Master's thesis
  19. Application Research on Industrial Ethernet Based on EtherNet/Ip for the Production of Refined KCL
    GaoZhiGang ·Northeastern University ·2011 ·Master's thesis
  20. Design of Dynamic Pressure Controller Based on μC/OS-Ⅱ