The Design of PROFIBUS DP Slave Based on FPGA
- Author
- FangZuo
- Advisor
- ZhangLeNian
- School
- Nanjing University of Aeronautics and Astronautics
- Major
- Aviation Aerospace Manufacturing Engineering
- Classification
- TP273 Automatic control,automatic control system
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 53
- Citations
- 2
Abstract
Great changes have taken place in the industry control since the fieldbus technologies came forth. The mode of the industry control changes from centralized to distributed, and the data exchange mode changes from slow parallel to high-speed serial. All the changes above make the industry control be able to achieve networking management. Among the fieldbus technologies, PROFIBUS DP is representative for its high speed and reliability, and holds a large share of national market in the industry control field.According to the demand for real-time control of masses of distributed I/O points, a kind of PROFIBUS DP slave based on a popular digital circuit design device called FPGA is designed in this paper. In the DP slave, the dedicated PROFIBUS DP protocol chip SPC3 is used to explain the DP format telegram; the CycloneII device is applied in the transform of the slave’s statemachine and the controlling of slave’s I/O data. The DP slave can exchange the data with the DP master periodically and has been expanded the serial communication interface with the personal computer. Taking advantage of the serial communication interface, the users can monitor the data in-out the slave’s I/O and modify the configuration information of the SPC3 chip.This paper focuses on the contents of the DPV0 profile of the PROFIBUS DP and the realization of the DP slave’s hardware and software. According to the Top-Down principle, all of the function models in the FPGA device are designed based on the hardware structure and slave’s function. After passing the function and timming simulation tests by the ModelSim and QuartusII, all the models are loaded down to the FPGA device. At last, kinds of tests, including statemachine transform flow, different baud rates on DP bus and stability factor, are carried out to verify the feasibility of the DP slave designed in this paper.
Table of contents
Abstract 4-5
ABSTRACT 5-11
first chapter 11-17
1.1 Fieldbus technology 11-13
1.1.1 fieldbus development and types 11-12
1.1.2 PROFIBUS bus development and types 12-13
1.2 FPGA technology 13-14
1.2.1 FPGA technology Overview 13-14
1.2.2 FPGA technology features 14
1.3 research object and meaning 14-15
1.4 research content 15-17
Chapter PROFIBUS DP bus technology 17-32
2.1 PROFIBUS bus hierarchy 17 -18
2.2 DP bus physical layer 18-19
2.3 DP bus data link layer 19-22
2.3.1 bus data transfer format 20-22
2.3.2 MAC sub-layer protocol 22
2.4 DP bus protocol 22-30
2.4.1 DP slave state machine 23-28
2.4.2 GSD file 28-30
2.5 DP bus cycle 30-31
2.6 chapter Summary 31-32 < br /> Chapter PROFIBUS DP slave hardware design 32-44
3.1 system solutions select 32-33
3.2 hardware module design 33-43 < br /> 3.2.1 protocol conversion module 34-37
3.2.2 controller Module 37-40
3.2.3 differential conversion module 40-41
3.2.4 memory Module 41
3.2.5 PC communication module 41-42
3.2.6 I / O expansion modules 42 <br / > 3.2.7 power Module 42-43
3.3 hardware module debugging 43
3.4 Summary 43-44
Chapter 4 System software design 44-62
4.1 FPGA internal module design 44-60
4.1.1 design process 44-46
4.1.2 top module design 46-48
4.1.3 SPC3 communication module 48-55
4.1.4 PC communication module 55-57
4.1.5 storage Interface module 57-60
4.1.6 scalable I / O modules 60
4.2 PC program 60-61
4.3 chapter Summary 61-62
Chapter configuration and test 62-69
5.1 network Configuration 62-65
5.1.1 DP master 62-63
5.1.2 configuration software 63-64
5.1.3 configuration process 64-65
5.2 slave test 65-68
5.2.1 single-master single- slave test 65-67
5.2.2 single master multi- slave test 67-68
5.3 Summary 68-69
Chapter Summary and Outlook 69-71
6.1 Summary 69
6.2 Prospects 69 - 71
References 71-74
Thanks 74-75
during the study period and the results of research papers published 75
Related dissertations
- Reseach and Design of Automated Production Line of the New Prefabricated Exhaust for Residential Ketchen
- Development of Automated Production Line Teaching Experiment Platform Based on Profibus
- Development and Application about Data Management System of PVC Glove Production Line
- Based on PLC Street-lamps Romote Monitoring System Research and Implementation
- The Development and Research of an Intelligent Sewage Trestment System Based on Cast Craft
- Monitoring System of Motion Position Platform Design Based on Wincc
- Design of Monitoring System in Oilfield Metering Station Based on PLC
- The Sewage Treatment Plant of Langfang Development Zone Control System Analysis
- Mine Drainage Automation Monitoring System Design and Implementation
- Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
- Design and implementation of computer monitoring and control system of pumping station based on PLC
- Research and Development of Variable Frequency Speed Regulation Monitoring System for Coal Main Fan
- The Design and Application of Monitoring System for Wet Resin Ingredients Based on DCS
- Design of Monitoring Control System for Three-dimensional Steel Samples Warehouse on KingView
- Research on Tunnel Monitoring System Key Technology
- Automatic Monitoring System for Preparation and Pumping of the Filling Paste
- Optical Fiber Perimeter Alarm System Based on DSP and FPGA
- Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
- The Design of Pressure Station Constant Pressure Water Supply Device Remote Unmanned Monitoring System
- Design and Implementation of Remote Monitoring System for Laminating Equipment