The Real-time Performance of Industrial Ethernet Based on RTLinux/Linux

Author
LiuKun
Advisor
LiuLuYuan
School
Tianjin University
Major
Control Theory and Control Engineering
Classification
TP273.5 Computer control, computer control system
Degree
Master's thesis
Year
2005
Downloads
303
Citations
3

Request the full text

Abstract

Real-time performance is one of the most important technologies in industrial networks. Currently, organizations and factories in the native and abroad have presented some industrial Ethernet standards, which are based on Ethernet+TCP/IP. However, these standards don’t provide excellent real-time resolution for the data link layer, so it is necessary to research.Based on Phase Loop and PID, a precise and simple clock synchronization algorithm is presented combining with the exactly computation. The traditional Ethernet experiment platform based on RTLinux is built to verify the algorithm, and the node’s real-time network subsystem is built. The results of the experiment prove that the synchronization algorithm presented here eliminates the effect of the clock drift and higher precision and better dynamic characters are achieved. The algorithm is realized in a module, which can be extended for the further study of synchronization algorithm and distributed real-time system.On the basis of describing the message model and system model of switched industrial Ethernet, an industrial Ethernet switch composed of PC, multi-port NIC ZX346Q and Linux was designed to study and validate the model and scheduling policies.In the Linux traffic control environment, a double channel model which provides differentiated service for the real-time and non real-time data was implemented in the switch. After introducing a new MR-WRR queuing discipline with Linux kernel programming, a basic framework to realize general queuing discipline is provided. The results of the experiment on the switched industrial Ethernet show that the double-channel model is effective.

Table of contents

Summary 3-4 ABSTRACT 4-9 first chapter 9-17 the 1.1 industrial Ethernet - 10 1.1.1 Industrial Ethernet origin 1.1.2 Industrial Ethernet architecture 9-10 1.2 real-time industrial Ethernet research 10-13 1.2.1 shared Ethernet 11-12 1.2.2 Switched Ethernet 12-13 <br / > 1.3 Linux and RTLinux operating system 13-15 1.3.1 Linux operating system 13-14 1.3.2 RTLinux, real-time operating system 14-15 < br /> 1.4 subject content and significance 15-17 Chapter II of RTLinux and its network communication technology 17-27 2.1 real-time operating system RTLinux 17-24 2.1.1 RTLinux design ideas 17 2.1.2 RTLinux interrupt mechanism 17-18 2.1.3 RTLinux time, management nbsp 18-20 2.1.4 RTLinux task scheduling; the 20-22 2.1.5 RTLinux processes, communication between 22-24 2.2 RTLinux network, communication function 24-26 2.2.1 Linux network 24 2.2.2 Lnet 24-25 2.2.3 RT-Message 25 2.2.4 RTnet 25 2.2.5 rtsock 25-26 2.2.6 RTL-lwIP 26 2.3 Summary 26-27 Chapter a high-precision clock synchronization algorithm and its implementation 27-37 3.1 Introduction 27 the the 3.2 precision clock synchronization algorithm 27-29 3.2.1 high-precision clock synchronization algorithm 27-28 3.2.2 transmission delay calculation 28-29 3.3 RTLinux Ethernet-based experimental platform 29-33 3.3.1 experimental platform structure 29-30 3.3.2 node internal network, real-time communication mode 30-31 3.3.3 network platform construction 31-33 3.4 high-precision clock synchronization algorithm to achieve 33-36 3.4. a high-precision clock synchronization algorithm to achieve 33-34 3.4.2 Experimental results and analysis the 34-35 3.4.3 synchronization performance 35-36 < br /> 3.5 Summary 36-37 Chapter Linux traffic control and transparent bridge 37-54 4.1 Linux network protocol stack's overall design 37 -43 4.1.1 TCP / IP reference model 37-38 4.1.2 Linux network system hierarchy 38-40 4.1.3 Linux kernel network packet management 40-41 4.1.4 Linux IP packet transceiver 41-43 4.2 the Linux flow control mechanism 43 - 50 4.2.1 Qos defined QoS service model 43-44 4.2.2 the Linux flow control structure 44-45 4.2.3 Linux traffic control elements of 45-50 4.2.4 user configuration interface as well as the new queue procedures add 50 4.3 Linux transparent bridge 50-53 <br / 4.3.1 bridge 50-51 the 4.3.2 transparent bridges 51-52 4.3.3 Linux transparent bridge 52 - 53 4.4 Summary 53-54 Chapter switched Ethernet experiment platform design and 54-69 5.1 Introduction 54 -55 5.2 Switched Ethernet model of the platform and overall design 55-61 5.2.1 message model 55-57 5.2.2 system model 57-59 5.2.3 switched Ethernet platform structure the 59-60 5.2.4 Simulation switches and dual-channel exchange model 60-61 < br /> 5.3 switched Ethernet platform specific 61-67 5.3.1 platform network configuration 61-62 5.3.2 switch internal exchange engines achieve 62 5.3.3 news constructor 62-64 5.3.4 node transceiver design program 64-65 5.3.5 package application of the scheduling algorithm 65-66 5.3.6 message timestamp labeled 66-67 5.4 Summary 67-69 Chapter realization of dual-channel exchange model exchange model. 69-87 6.1 dual channel the 69-73 6.1.1 dual-channel mechanism based on message priority 69 - 70 6.1.2 MR-WRR scheduling algorithm for real-time channel the 70-72 6.1.3 for non-real-time channel DRR scheduling algorithm 72-73 6.2 pairs channel the queue procedures designed 73-74 6.3 MR-the WRR queue regulations of the design and realization of 74-80 6.3.1 MR-WRR regulatory column the procedures internal data structure 74-75 6.3.2 MR-WRR queue of order correlation function the 75-78 the 6.3.3 module loaded 78-80 6.4 model validation and testing of the dual-channel exchange the 80-86 6.4.1 switching engine performance 80-81 6.4.2 dual-channel mechanism performance verification 81-84 the 6.4.3 MR - WRR scheduling algorithm of verification 84-86 6.5 Summary 86-87 Chapter VII Summary and Outlook 87-89 Reference 89-92 papers and research note 92-93 thank the 93

Related dissertations

  1. Based on the Ethernet Switch IEEE1588V2Research and Implementation of Clock Synchronization Protocol
  2. Research of Protocol Conversion Module Based on CANopen-EtherNet/IP
    XuDongHui ·Tianjin University of Technology ·2012 ·Master's thesis
  3. The Research of Slave Station Control System Base on EtherCAT
  4. Study on the modification methods of real-time Ethernet network train
    CunTianZuo ·Central South University ·2012 ·Master's thesis
  5. Design and Implementation of Bandwidthcontrol in Linux Based on Quality of Service
    HuZuoJie ·Suzhou University ·2013 ·Master's thesis
  6. Research and Development of EPA Protocol Stack Based on FPGA
    ZhangXianFu ·Zhejiang University ·2008 ·Master's thesis
  7. Design and Development of Communication Module of EPA Field Controller
    GuiBen ·Zhejiang University ·2006 ·Master's thesis
  8. Research on the Train Communication Network Based on the Industrial Ethernet Technology
    ZhangJianBin ·Beijing Jiaotong University ·2011 ·Master's thesis
  9. Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
    PanZuoZuo ·Dalian Polytechnic University ·2010 ·Master's thesis
  10. The Research on the Monitoring System of Sewage Treatment Plant Based on King Scada
  11. Research and Design of Embedded Building Security System
    YangChen ·Liaoning Normal University ·2012 ·Master's thesis
  12. The Softeware Design and Implement on Integrated Intelligent Camera Platform Based on Davinci DM6446
  13. The Research of Household Remote Monitoring Based on Embedded Web Server
  14. The Design and Application of Monitoring System for Wet Resin Ingredients Based on DCS
    GuManMan ·Hefei University of Technology ·2013 ·Master's thesis
  15. Research and Design of Intelligent Video Surveillance System Based on ARM
  16. Design of Video Monitoring System Based on the Embedded
  17. The Design of Embedded Network Video Surveillance System Based on ARM9
  18. Design and Application of the Distributed Monitoring System Based on Embedded Web
  19. Study on Embedded Data Acquisition System Application
    ZhangDong ·Dalian Polytechnic University ·2009 ·Master's thesis
  20. Embedded Software Design of AC Field Detection Instrument Based on ARM