The Development of the PROFIBUS-DP Slave Station

Author
LiXiaoHui
Advisor
WangJianGuo
School
Tohoku Electric Power University
Major
Control Theory and Control Engineering
Classification
TP273 Automatic control,automatic control system
Degree
Master's thesis
Year
2008
Downloads
232
Citations
4

Request the full text

Abstract

Fieldbus represents the development direction of the industrial control network technology , PROFIBUS-DP the mainstream bus one today has broad market prospects for the development of the instrument bus interface . The protocol chip is an efficient and effective way to achieve the slave , commonly used for the majority of users . Pure software approach is a higher level of self- development , and the need for a thorough understanding of the details of the protocol specification . Major work done in this topic : 1 , using the SPC3 protocol chip slave , through debugging. Including the realization of the program 's design , hardware and software testing in three stages . Accumulated a wealth of experience , for the understanding of the system configuration , the state mechanism , packet analysis , and lay a good foundation , to deepen understanding of the fieldbus . Protocol chip way for a wide range , versatility and high cost , the user is relatively simple to use . 2 , pure software implementation slaves . For protocol analysis , focused on understanding the meaning of PROFIBUS-DP timing mechanism , the structure of the message byte bit . Improved hardware driver circuit , using software to implement the data link layer , and the development of intelligent slave . Modular program design thinking , C / assembly language nested complete software development . Pure software solutions do not use a proprietary protocol chip MCU serial port (UART) to communicate with the master by crystal frequency limit , its communication speed does not exceed the 500Kbps . Microcontroller integrated PROFIBUS-DP slave protocol , run the program, the DP slave functionality SAP56 SAP62 .

Table of contents

Abstract 5-6 Abstract 6-9 Chapter 1 Introduction 9-13 1.1 Background significance 9-10 1.1.1 Fieldbus technology features 9-10 1.1.2 smart meter technology and fieldbus 10 1.2 applications and development status 10-11 1.3 development and research significance 11 1.4 main job 11-13 Chapter 2 PROFIBUS-DP slave implementation choices 13-16 2.1 Solution Overview 13 2.2 Comparison of the various options select 13-16 Chapter 3 protocol chip implementations 16-25 3.1 protocol chip introduced 16-21 3.1.1 SPC3 structure introduced 17-18 3.1.2 SPC3 internal registers and buffer partition 18-21 3.2 hardware wiring diagram 21-23 3.2.1 SPC3 with 80C51 interface design 21-22 3.2.2 PROFIBUS-DP drive circuit 22-23 3.3 Program Description 23-25 Chapter 4 pure software implementations 25-44 4.1 PROFIBUS-DP communication protocol research 25-34 4.1.1 Data Link Layer (FDL specification) 25 4.1.2 token rotation time, priority, bus timing 25-26 4.1.3 framing characters and frame format 26-34 4.2 DDLM function 34-41 4.2.1 DDLM master - slave function 34-35 4.2.2 The functions described 35-41 4.3 pure software implementation point 41-44 4.3.1 Improved hardware driver circuit 41-42 4.3.2 software flowcharts and debugging 42-44 Chapter 5 Commissioning testing process 44-59 5.1 debugging system structures 44-53 5.1.1 debugging system built 44 5.1.2 Network Configuration 44-49 5.1.3 PROFIBUS-DP system works 49-52 5.1.4 Data Communications 52-53 5.2 GSD (device database) files and their descriptions 53-55 5.3 test and packet analysis 55-59 Conclusion 59-60 Thanks 60-61 References 61-64 papers published during the study for a degree 64

Related dissertations

  1. The Economic Analysis of Scheduling and Its Applications
    XiuJun ·Beijing Jiaotong University ·2012 ·Master's thesis
  2. Study on the economic and trade relations between China and Venezuela
    JieLiDuo ·Capital University of Economics ·2014 ·Master's thesis
  3. The Influence of Involvement on the Regulatory Fit Effect in Advertisment Persuasion
    FanAnSheng ·Ningbo University ·2013 ·Master's thesis
  4. Disscussion the Settlement Negotiation Mechanism under the Non-bankruptcy Procedure of the Company
    SongChao ·Zhejiang Normal University ·2013 ·Master's thesis
  5. Analysis of Yongchang County Grain and Oil Company and Yang, Xu X Partnership Agreement Dispute Case Law
    ChenXingZuo ·Lanzhou University ·2013 ·Master's thesis
  6. The Acquisition of Subject-verb Agreement in Existential There-be Construction by Chinese English Majors
    ShangYan ·Ningbo University ·2013 ·Master's thesis
  7. A Typological Approach to Coordinate Structure
    LiZhanBing ·Shanghai International Studies University ·2014 ·Doctoral dissertation
  8. The Pragmatics Research of Product Design
    ZuoPengZuo ·Dalian Polytechnic University ·2009 ·Master's thesis
  9. The Comparison of Agreement between Ordinal and Continuous Measurements
    ZhouLiFeng ·Northeast Normal University ·2013 ·Master's thesis
  10. The Research of Remote Anti-theft System for Electronic Motor Bicycle Based on Zigbee
  11. Analysis and design of Jiangxi Human Resources Inc of contract management information system
    WangPingHua ·Yunnan University ·2013 ·Master's thesis
  12. Study on College Students’Ideological and Political Education Based on Career Plan
    LiuJingYuan ·Yanshan University ·2012 ·Master's thesis
  13. Conflict and Agreement between Media Supervision and Legal Supervision
    LiuZuoDong ·Chongqing University ·2013 ·Master's thesis
  14. Research on the Litigation Contract
  15. Study on the Duration of Mortgage Right
    ZhangJunLi ·Nanjing University ·2012 ·Master's thesis
  16. Research on Flexible Law Enforcement under the View of Harmonious Society
    GuoZuo ·Hunan Normal University ·2012 ·Master's thesis
  17. The Value in Agreement and Dislocation of the Acceptance to Liu Liangcheng’s Prose
    TuSiPing ·Sichuan Normal University ·2012 ·Master's thesis
  18. Proxy Assessment of Symptoms in Patients with Hepatocellular Carcinoma
    LiuXiangYan ·Second Military Medical University ·2012 ·Master's thesis
  19. Etiologic Classification of Ischemic Stroke the Comparisions Between SSS-TOAST ASCO, and TOAST
    YangXiaoLi ·Xinjiang Medical University ·2013 ·Master's thesis
  20. Diagnostic Value of Different Classification Systems in Inflammation Activity of Ulcerative Colitis with Confocal Laser Endomicroscopy
    LiZuo ·Shandong University ·2012 ·Master's thesis