PROFIBUS-DP Master Station Interface Technology Research and Product Development

Author
LiuJianBo
Advisor
ZhangYongDe
School
Beijing University of Chemical Technology
Major
Control Theory and Control Engineering
Classification
TP273.5 Computer control, computer control system
Degree
Master's thesis
Year
2007
Downloads
253
Citations
3

Request the full text

Abstract

PROFIBUS is one industry communication protocol established by Germany and Siemens. Presently, PROFIBUS has become one nation protocol in our state. PROFIBUS could be applied to various fields. PROFIBUS is divided into DP and PA bus. DP is used in dispersed industry control, and PA is mainly used in process industry with preventing explosion requisition. When PROFIBUS is running, master stations and slave stations communicate each other on PROFIBUS.As far as master station is concerned:1. Master station needs to have the function of cycle communication with slave stations. The cycle communication function is a basic function of master station exchanging data with slave station. Before master station join in data exchanging with salve station, master station needs to make slave station pass through diagnostic, parameter, configuration and second diagnostic state. Additional, master station is able to make slave stations achieve the function of global control. The four state, global control and the switch among them constitute the cycle communication function of master station.2. Master station must need to have the function of communication with other master stations, which is the token exchanging. The form of token loop, master station how to joining in bus, how to deleting failure master station, how to overcome noise to restore token exchange. These factors comprise the token state machine.As far as the manner of development is concerned:1. Adopting ASPC2 protocol chip as the development of master station. But ASPC2 only have physical layer. Then, data link layer and application layer are not contained in ASPC2. Siemens closes off the technology of master station. If adopting ASPC2, it must make so many problems.2. Adopting the microcontroller, which own large importation and large exportation buffers, such as AVR or ARM. Though the rate is limited, but microcontroller is able to accomplish a master station net card. If adopting microcontroller as master station chip, it requests that researcher must be very familiar with the schedule of the communication of master station and the control time parameters. Researchers must carefully read the protocol, and program a great deal of program. Enhance the requisition of researchers, but reduce the cost of hardwear.The communication of master station net card symbolize the achieving of the communication schedule of master station.

Table of contents

Abstract 4-6 ABSTRACT 6-19 first chapter 19-23 the concept of 1.1 Fieldbus technology 19 1.2 Fieldbus significance 19 1.3 fieldbus standard 19-20 1.4 PROFIBUS fieldbus 20 1.5 PROFIBUS-DP status quo 20-21 1.6 PROFIBU-DP master development options 21-23 1.6.1 ASPC2 agreement chip 21 1.6.2 using high-speed chip microcontroller 21-23 The second chapter of the PROFIBUS-DP master state mechanism 23-55 2.1 initialize the CPU 23-29 2.2 Token Ring segment 29-34 2.3 cycle communication part 34-48 2.4 global control part 48-50 2.5 token maintenance 50-55 bus time parameters 55-67 3.1 synchronization time T_ (SYN) 55 3.1.1 defined 55 3.1.2 Size 55 3.1.3 Notes 55 3.1.4 start 55 3.2 station delay time T_ (SDX) 55-57 3.2.1 delay from the station the time T_ (SDR) 56 3.2.1.1 defined 56 3.2.1.2 Size 56 3.2.1.3 Note 56 3.2.2 master delay the time T_ (SDI) 56-57 3.2.2.1 defined 56 3.2.2.2 Size 56-57 3.2.2.3 Note 57 3.3 idle time The T_ (ID) 57-61 3.3.1 free time T_ (ID1) 57-59 3.3.1.1 defined 57-58 3.3.1.2 icon 58 3.3.1.3 Size 58 3.3.1.4 Notes 58 3.3.1.5 start 58-59 3.3.2 idle time T_ (ID2) 59 3.3.2.1 defined 59 3.3.2.2 icon 59 3.3.2.3 Size 59 3.3.2.4 Notes 59 3.3.3 for T_ (ID1) value of the size selection 59-61 3.4 transmission delay time T_ (TD) 61 3.4.1 defined 61 3.4.2 icon 61 3.4.3 Notes 61 3.5 slot the time T_ (SL) 61-64 3.5.1 slot T_ (SL1) 62-63 3.5.1.1 defined 62 3.5.1.2 Size 62 3.5.1.3 Note 62-63 3.5.1.4 start 63 3.5.2 slot the time T_ (SL2) 63-64 3.5.2.1 defined 63 3.5.2.2 Size 63 3.5.2.3 Note 63-64 3.5.2.4 start 64 3.6 timeout period T_ (TO) 64-65 3.6.1 defined 64 3.6.2 Size 64 3.6.3 start 64 3.6.4 Notes 64-65 3.7 bus time to summarize 65-67 Chapter PROFIBUS-DP master hardware schematic prototype 67-73 4.1 hardware design 67-72 4.1.1 complete PROFIBUS protocol CPU 67 4.1.2 PROFIBUS end circuit described 67-70 4.1.3 232 receiving configuration information end circuit described 70 4.1.4 data storage circuit description 70-71 4.1.5 power 71-72 4.2 development platform 72-73 the PROFIBUS-DP master software part of concrete realization 73-142 5.1 information storage 73-75 5.1.1 master 73 5.1.2 Information from the station 73-75 5.2 extract the public portion of the packet 75 5.3 output quoted text FC 75 5.4 services in token ring structures 75-76 5.5 initialization 76 5.6 to obtain bus information 76-83 5.6.1 bus information to obtain a description of 76-77 5.6.2 bus access to information program structure 77-83 5.6.2.1 for 232 data 78-79 5.6.2.2 write eeprom 79-80 5.6.2.3 eeprom data is read into the SRAM 80-83 5.7 set the variable parameters 83 5.8 rate select 83-86 5.9 packets of the public part of the initialization 86-88 5.10 calculated diagnostic parameters of configuration messages FCS 88 5.11 master token ring set initial value 88-89 5.12 into the PROFIBUS master communication 89-90 5.13 within the timeout period, did not receive the message 90-92 5.13.1 GAP set to maintain the initial address 90-91 the 5.13.2 passes the token to itself 91-92 5.14 within the timeout period received message 92-95 the 5.14.1 listener token packets two 92-93 5.14.2 formation token list 93-95 5.15 bus to enter 95-102 the 5.15.1 GAP ask 95-96 5.15.2 GAP answer 96-97 the 5.15.3 GAP answer the receiving 97-98 5.15.4 GAP analysis 98-99 the 5.15.5 modify GAP maintenance station address 99 the 5.15.6 receiver GAP or token 99-102 5.16 cycle communication 102-123 the 5.16.1 data exchange 102-117 the the 5.16.1.1 master into the data exchange steps 102-103 the 5.16.1.2 data exchange pseudo code 103-107 the 5.16.1.3 send first diagnosed 107-108 the 5.16.1.4 send parameterized 108-109 5.16.1.5 send configuration 109-110 the 5.16.1.6 send a second diagnosis 110 The 5.16.1.7 diagnostic analysis 110-111 the 5.16.1.8 send output data 111-112 5.16.1.9 e5 short response received 112-113 the 5.16.1.10 diagnosis, data exchange response received 113-117 the 5.16.2 globally control 117-123 the 5.16.2.1 judgment global control 117-118 the 5.16.2.2 send sync packets 118-120 The the 5.16.2.3 send freeze message 120-122 the 5.16.2.4 send sync_freeze message 122-123 5.17 exchange token 123-132 5.17.1 pass token 124-127 the 5.17.1.1 outgoing token 124-126 5.17.1.2 the outgoing token bus listener 126-127 5.17.2 receives the token 127-132 are 5.17.2.1 receive token packet 128-129 the 5.17.2.2 token address 129-132 5.18 Timer realization 132-135 5.18.1 Timer 0 132-133 5.18.2 Timer 133-134 5.18.3 Timer 2 134 5.18.4 Timer 3 134-135 5.19 AVR Studio 135-142 Chapter 6 Conclusions 142-148 6.1 prototype configuration Figure 6-1 142-143 6.2 master and slave data exchange packets 143-144 6.3 master slave diagnostics, parameter, configuration, diagnosis and data exchange to enter 144 6.4 master and Siemens master token exchange 144-145 6.5 master found that Siemens master power, 2 pass token after separate control bus, it passes the token to the self- 145 6.6 allows you to join new master station 145-146 6.7 significance 146-148 the References 148-150 Acknowledgements 150-152 the research and academic papers 152-154 the author and mentor Introduction 154-155 Beijing University of Chemical Technology graduate dissertation committees for resolution book 155-156

Related dissertations

  1. The design and application of the system master control EtherCAT based on Industrial Ethernet
  2. Research on Media Access Control and Information Broadcast in Vehicular Ad Hoc Network
    BiYuanGuo ·Northeastern University ·2010 ·Doctoral dissertation
  3. Research on Wireless Token Network with Sub-Nodes Protocol for Wireless Ad Hoc Network
  4. Research and Verification of Wireless/wired Heterogeneous Network Integration Architecture Based on Double Token
    ShenXiaoMeng ·Zhengzhou University ·2013 ·Master's thesis
  5. Core Mechanism and Key Technologies of Burst-Mode Optical Data Transport and Packet-Mode Optical Multicasting
  6. Research and Development of EPA Protocol Stack Based on FPGA
    ZhangXianFu ·Zhejiang University ·2008 ·Master's thesis
  7. The Research and Application of the Control System Based on FROFIBUS
  8. The Research and Implementation of Tele-control Protocols in Electrical Power System
    QuWanYi ·Wuhan University ·2004 ·Master's thesis
  9. Design and Implement of Hydro Power Plant Supervisory Control System
    QinXiaoYuan ·Chongqing University ·2006 ·Master's thesis
  10. Design and Development of Communication Module of EPA Field Controller
    GuiBen ·Zhejiang University ·2006 ·Master's thesis
  11. Inter-vehicle Collision Warning and Communication Technology
    LiuGang ·Tsinghua University ·2004 ·Master's thesis
  12. Modeling and Application of Master Station in Fault Information System Based on IEC 61850
  13. The Research of Belt Conveyor Control System Based on PLC Network Communications
    WuShuHan ·Hefei University of Technology ·2009 ·Master's thesis
  14. Development of Modular Production System Based on CC-LINK Filed Bus System
    ZhouMin ·Suzhou University ·2009 ·Master's thesis
  15. Design and implementation of GPRS distribution transformer monitoring management system based on
  16. Development of Automatic Assemblly System Based on PROFIBUS Filed Bus
    ZhangJunYan ·Suzhou University ·2010 ·Master's thesis
  17. Research of Network Instrument Based on the DeviceNet
    WuFengHai ·Northeastern University ·2008 ·Master's thesis
  18. A Study on Energy Efficient Wireless Sensor Network Protocol Based on Radio Triggered Wake-up Scheme
    LinYu ·Beijing Jiaotong University ·2010 ·Master's thesis
  19. Design and Application of GPRS-based Automatic Meter Reading System
  20. Underground Locomotive Design of the Regional Location Detection System