PROFIBUS-DP protocol analysis and software implementation

Author
PangXingSheng
Advisor
LiYing
School
Yunnan University
Major
Communication and Information System
Classification
TP273 Automatic control,automatic control system
Degree
Master's thesis
Year
2010
Downloads
109
Citations
0

Request the full text

Abstract

Fieldbus technology has been produced since the 70’s and cause widespread concern. The market has developed rapidly, leading to a revolution in the field of automatic control. PROFIBUS (Process Fieldbus) is an international, opened fieldbus standard. PROFIBUS-DP (Decentralized Periphery) which is belong to PROFIBUS technology is the most widely used, represents the essence and characteristics."R & D of new electronic belt scale control instruments" project reduce costs and improve accuracy as well as development. The project appply the new dsPIC (Digital Signal Controllers) to control the instrument as the core of the new electronic belt scale computing processing unit. We adopt AD7730 (24-bit ADC chip) to deal with the output analog signals of sensor and transform the analog signal into digital signal. then transmit it into dsPIC. In order to achieve its direction of the intelligence, we have to make the host machine’s PLC understand the next-bit machine called t electronic belt scale data. Similarly the lower computer electronic belt scale have to understand the host machine’s PLC status. They need a communication mechanism to interact with information. Our station is siemens PLC which often uses the bus to control the system , to join the system to accept the PLC control, we set electronic belt scale as a DP standing on the dp profibus - bus. If we use the ASIC method we should adjust the structure of the chip, we even should change the CPU, and the plan is impracticable. So, we use programmatic scenarios to implement communication between the PLC and electronic.This paper’s goal is to an analyse PROFIBUS-DP protocol and make experiments with our available equipment based on "control instrumentation research and development of new electronic belt scale" project. We introduce the operational principle of PROFIBUS-DP slave station, the formats of data transmission, configuration of profile and GSD file and other relevantly information. Then we give the operation of hardware configuration process, precautions, and various parts of the packet number of the significance of light signals through the PLC fault state, verify the correctness of the communication combined SIMATICS7-300. We have realized communication between PLC and electronic belt scale. The system we designed can work under the five baud rate with 1.5Mbps’maximum data transfer rate. And this result have met the requirements of industry. We should further improve the competitiveness of electronic belt scale, design accuracy and function improve so that we can meet the needs of users.

Table of contents

Abstract 3-4 Abstract 4-8 first chapter 8-20 1.1 Background and topics based on 1.2 PROFIBUS-DP slave development programs 8-14 1.2.1 dedicated ASIC chip solution 8-13 1.2.2 microcontroller or FPGA device programming program 13-14 1.3 knowledge and technology 14-19 1.3.1 electronic belt 14-15 1.3.2 PLC technology 15-17 1.3.3 fieldbus technology 17-19 1.4 papers and the main content 19-20 the data exchange and baud rate adaptive design 20-27 2.1 UART register 20-21 2.2 UART transmit and receive data principle and achieve 21-25 2.2.1 UART receiver principle and software to achieve 21-23 2.2.2 UART to send principle and software to achieve 23-25 2.3 UART baud rate generator (BRG) and adaptive baud rate to achieve 25-27 2.3.1 UART baud rate generator (BRG) 25 2.3.2 baud rate adaptive realization 25-27 Chapter protocol analysis and software implementation 27-52 3.1 PROFIBUS protocol structure 27-28 3.2 PROFIBUS transmission technology 28-32 3.3 PROFIBUS data link layer 32-36 3.3.1 the PROFIBUS frame structure 32-34 3.3.2 design frame structure 34-36 3.4 PROFIBUS-DP from station work process and design 36-47 3.4.1 PROFIBUS-DP slave process 36-38 the PROFIBUS-DP 3.4.2 Design slaves 38-47 3.5 the PROFIBUS bus timing relationships 47-48 3.6 PROFIBUS-DP GSD files and design GSD 48-52 3.6.1 PROFIBUS-DP GSD files 48-49 3.6.2 Design GSD 49-52 Chapter networking test 52-60 4.1 Configuring the hardware 52-57 4.1.1 configuration master 52-56 4.1.2 configuration slave 56-57 4.2 test 57-60 4.2.1 PLC indicator 57-58 4.2.2 testing PLC status and results analysis 58-60 Chapter Summary and Outlook 60-62 5.1 paper summarizes the problems 60 5.2 Looking 60-62 the References 62-64 Acknowledgements 64

Related dissertations

  1. Design of Autocontrol System of Ingredient Process
  2. Research on Solid Materials Storage and Transportation Control System
  3. Research and Realization of the Control System to Improve the Conversion Efficiency of Solar Photovoltaic
    LiuZhengHao ·Dalian Polytechnic University ·2012 ·Master's thesis
  4. Research and Application Based on Fieldbus Temperature Control System of Reaction Kettle
  5. Research and Design of High-power Temperature Control System Based on PROFIBUS
  6. The Development of PROFIBUS-DP Embedded Slave Station Module Based on DPC31
    SunQing ·Tianjin University of Technology ·2013 ·Master's thesis
  7. Design and Study on the leaching mill control system
  8. Research of Integrated Slave Node Based on PROFIBUS-DP and MODBUS
    LuXingJi ·Tianjin University of Technology ·2013 ·Master's thesis
  9. Group Contror Elevaor Control System Design and Implmentation
    LiuGuangQi ·Beijing University of Technology ·2013 ·Master's thesis
  10. Study on Weighing System Used in Cement Stabilized Soil Mixing Plant
    FangZuXin ·Chang'an University ·2013 ·Master's thesis
  11. Design and Implementation of Automatic Weighting Control System for Blast Furnace Charging
  12. Design and Analysis of Xinyu Iron&Steel Co.Ltd RH Furnace Control System
    ChenLiHua ·Nanchang University ·2013 ·Master's thesis
  13. The Research and Implementation of PROGIBUS-DP Slave Station Based on FPGA
    CaiYuanBin ·Jilin University ·2012 ·Master's thesis
  14. Research of Fieldbus Multi-Protocol Conversion Gateway Based on PROFIBUS-DP Slave
  15. Study of Intelligent Electrical Actuator Based on PROFIBUS
    ChenYuan ·Zhejiang University of Technology ·2013 ·Master's thesis
  16. Research on Application of sand and gravel processing of PLC control system
  17. Study and Appilication of Fieldbus in Valve Controller
    LinXiaoYi ·Shanghai Jiaotong University ·2007 ·Master's thesis
  18. The PROFIBUS fieldbus control system research and development of intelligent interface module from the station
    ZhengXiaoZuo ·Guizhou University ·2007 ·Master's thesis
  19. Research and Development of Embeded Intelligent Monitoring System Software
  20. Research on Automation System of Allocation and Commutation of Electric Power in Electrolytic Aluminum Factory
    YangJiYe ·Liaoning Technical University ·2004 ·Master's thesis