The System Uses DEBUS(Data Exchange BUS Using Serial EEPROM as Its Core) for Multi-Microprocessor Asynchronous Serial Data Collection

Author
LinXueZhen
Advisor
WuChuiHong
School
Fujian Agriculture and Forestry University
Major
Agricultural Mechanization Engineering
Classification
TP273 Automatic control,automatic control system
Degree
Master's thesis
Year
2009
Downloads
44
Citations
0

Request the full text

Abstract

Industrial automation , the need for a large variety of equipment within the scope of information collection and data upload, such as water and other types of instrumentation more industrial scene. Upload data often requires the use of asynchronous serial communication, the data is uploaded and aggregated to the host. As various communication medium plant instrumentation communication protocol is not uniform , and has been used for serial data acquisition instrument , thus resulting data upload can not use multi- way serial communication bus , and the need to introduce more machine data upload a special method . In other waterworks Dehua luoyuan and automation engineering , tutors initially proposed a \instrument heterogeneous communication dataset upload. This paper carried out the idea of ??a comprehensive study of the theory and methods , further elaborated the idea of ??the application of conditions for the realization method . Summarizes the timing requirements of non-standard fieldbus , the bus contents and requirements in the agreement , that \Transfer of the data storage structure for induction mechanism and discussion, \We designed the hardware test platform, the development of the program code and PC commissioning software, DEBUS bus , \performance measurement, and made a number of transmission speed and connectivity microcontroller limit estimates. Experimental results show that the \methods .

Table of contents

Abstract 8-9 Abstract 9-10 first chapter 10-15 1.1 of this research background and significance 10-11 1.2 Research and development at home and abroad before 11-12 1.3 The significance of this research 12-13 1.4 The main content of this research 13 1.5 This topic tasks 13-15 Chapter DEBUS (heterogeneous multi-machine communication data upload bus) design 15-21 2.1 Design Principles 15 2.2 DEBUS bus design 15-17 2.2.1 Bus Timing 15-17 2.2.2 bus contents 17 2.2.3 bus protocol 17 2.3 at box storage station spatial planning 17-21 2.3.1 store structure and data lookup 17-18 2.3.2 newspaper boxes protocol and hash function 18-19 2.3.3 node size string arrangements 19-21 third Chapter \device selection 21 3.1.2 DEBUS bus device selection 21-22 3.1.3 DEBUS bus collision detection hardware implementation 22-23 <br / > 3.1.4 newspaper box storage station circuit analysis and design 23-24 3.2 under the seat unit and lower host CPU selection 24-25 3.2.1 under the seat unit CPU choices 24-25 3.2.2 lower host CPU choice 25 3.3 \32 3.3.1 Lower host module schematic circuit analysis and design 25-28 3.3.1.1 CPU parts of the design 25-26 3.3.1.2 serial communications hardware design 26-27 3.3.1.3 ISP online download hardware circuit design 27 3.3.1.4 DEBUS bus and DEBUS bus interface hardware circuit design 27 - 28 3.3.1.5 LED indicates the hardware circuit design 28 3.3.1.6 Debug Function key hardware circuit design 28 3.3.1.7 power circuit design 28 3.3.2 under the seat unit module circuit analysis and design 28-31 3.3.2.1 machine CPU under the seat part of the design 28-29 <br / > 3.3.2.2 serial communication hardware design 29-31 3.3.3 hardware anti-jamming design 31-32 Chapter \Design 32-67 4.1 overall software design overview 32 4.2 MCS-51 microcontroller multitasking applications 32-34 4.2.1 The introduction of multi-tasking mechanism 32-33 4.2.2 Method one: time slice rotation between multitasking About 33 4.2.3 Method Two: interrupt and task switching method stack Introduction 33-34 4.2.4 Method three: Priority Scheduling Method Introduction 34 4.3 lower host software design and development 34-55 4.3 .1 system monitoring module 34-38 4.3.1.1 multitasking design 34-36 4.3.1.2 system initialization and self-test module 36 - 37 4.3.1.3 software anti-jamming measures 37-38 4.3.2-bit host task under a program designed 38-39 4.3.2.1 machine data under the seat Update Query 38 4.3.2.2 collision detection protocol design 38-39 4.3.3-bit host task under two program design 39-49 4.3 .3.1 newspaper boxes agreement - Mask design 40-41 4.3.3.2 strike a hash mapping relationship 41-43 4.3.3.3 I ~ 2C bus package design 43-48 4.3.3.4 Task II program flow 48-49 4.3.4-bit host tasks under three program design 49-50 4.3 .5 lower master task four program design 50-51 4.3.6-bit host task under five program design 51 4.3.7 Lower master task six program design 51-55 4.3.7.1 communication protocol developed 51-52 4.3.7.2 serial communication software package designed 52-55 4.3.7.3 Task 6 program Process 55 4.4 under seat computer software design and development 55-67 4.4.1 system monitoring module 56-57 4.4.1.1 Multi- mission mechanism design 56 4.4.1.2 The establishment and application of time-slice 56-57 4.4.1.3 system initialization module 57 4.4. two time slices a task designed 57-60 4.4.2.1 DM12232F LCD module package design 57-60 4.4.3 time slice two tasks designed 60-63 4.4.3.1 mask under the seat unit to read and write subroutines designed 60-62 4.4.3.2 Data storage under the seat machine programming 62 - 63 4.4.4 dissimilar instruments under the seat unit and communication 63-67 4.4.4.1 communication instrument Example: Xiamen Fei Chinese Turbidity NSZ0-100 63-64 4.4.4.2 communication instrument Example 2: Hong Kong on the Run Meter 5403 64-67 Chapter heterogeneous multi-machine communication debugging assistant software design and development 67-74 < br /> 5.1 overall system overview 67 5.2 system software design 67-74 5.2.1 serial communication module program design 67-69 <br / > 5.2.1.1 Controls Use 67-68 5.2.1.2 control properties, methods and events 68-69 5.2.1.3 communication process to achieve 69 < br /> 5.2.2 Data processing module 69-70 5.2.3 dynamically generated data points module 70-71 5.2.4 Data Display Module 71 -72 5.2.5 data point parameter save and restore 72-74 Chapter VI system performance test 74-76 6.1 system test hardware platform 74 6.2 system test software platform 74 6.3 system test results and analysis 74-76 Chapter Summary and discussion 76 -77 References 77-79 Appendix A AT89S51 microcontroller port current parameter table 79-80 Appendix B MAXIM company part of the communication interface driver / receiver parameters Comparison Chart 80-81 Appendix C STK200 download line circuit board schematics 81-82 Appendix C hardware circuit diagram 82-83 <br / > Annex D hardware experimental platform physical picture 83-84 Annex E on the Run Instrument S403 wiring physical map 84-85 Thanks 85

Related dissertations

  1. Study on Method of Dual-Robot Coordination
    OuYangFan ·South China University of Technology ·2013 ·Doctoral dissertation
  2. Security Interaction Strategy of RBAC Based on Reconcile Domain
    DaiJia ·Harbin Institute of Technology ·2012 ·Master's thesis
  3. Optical Capture Based Development of Virtual Interaction System
    ZhouXiaoYang ·Harbin Institute of Technology ·2012 ·Master's thesis
  4. A Professional Technology Institute Virtual Design and Realization of the System
  5. Research and Develop on the Simulating System for Binocular Stereo Measurement
  6. Research on Model and Roam Technology of3D Scene Based on WEB
    HeYingYing ·Harbin Engineering University ·2013 ·Master's thesis
  7. Motion Simulation of Guide Wire in Virtual Intravascular
    JieChengKai ·Beijing University of Technology ·2013 ·Master's thesis
  8. Natural Landscape Simulation Research Based on Particle System
  9. The Research of Path Planning and Collision Detection Method in Virtual Battlefield
    LiTeng ·Nanchang University of Aeronautics and ·2013 ·Master's thesis
  10. Design and Implementation of Virtual Campus Roaming System
  11. Design and Realization of Virtual3D Scene Roaming System
  12. Research of Collison Detection Algorithm Based on Spatial Domain
    LiZhen ·Hunan Normal University ·2013 ·Master's thesis
  13. Research and Realization of Haptic Rendering Virtual Assembly System Based on Force Feed-back
  14. Research on Parallel Collision Detection Based on Delta3D
    KouZhaoKun ·Harbin Engineering University ·2013 ·Master's thesis
  15. The 3D dynamic simulation of cloth
    Jia ·Liaoning Normal University ·2013 ·Master's thesis
  16. Visualization Technology of Wheat Growth
    SongWeiGuo ·Nanjing Agricultural College ·2013 ·Master's thesis
  17. Research on the Visual Simulation of Tree Motion in Wind and Rain
  18. Real time simulation of CUDA fluid and solid interaction based on complex shape
  19. The Research of Continuous Collision Detection
    ZhangLongTao ·Anhui University ·2014 ·Master's thesis
  20. The research of path planning collision free of large-scale group animation
    YangZengQiao ·Shandong Normal University ·2014 ·Master's thesis