The Design and Implementation of Protocols Conversion Module Based on RS-232/485 and HBS
- Author
- RenZhaoTing
- Advisor
- ZhengLaiBo , WangZhiGang
- School
- Shandong University
- Major
- Electronics and Communication Engineering
- Classification
- TP273 Automatic control,automatic control system
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 234
- Citations
- 3
Abstract
Fieldbus is the technology which is applied to realize bi-directional, serial, multi-node digital communication between field device and master-control centre. Nowadays Fieldbus is widely used on control system design of industrial manufacture. The traditional mode of distributed and computer layered control have been gradually substituted by the mode of intelligent terminal and network control.The difference of fieldbus in protocol standard often brings complexity to practice and affects the opening and interoperability of the buses. Therefor, the protocols converter is need to interconnected to different buses.In the thesis, protocol conversion module for HBS and RS-232/485 is designed and developed based on a variety of fieldbus standard coexistence and incompatibility of communication protocols. The common characteristics of fieldbus technology have also been summarized.Secondly, the possibility to achieve protocols conversion module and software-hardware composition of protocols conversion modules are analyzed and conceived on the basic of OSI Seven-Layer Model, model of fildbus and the characteristics of communication protocols. Finally, it is proposed using a microprocessor to achieve protocols conversion module for RS-232/485 and HBS.For different fiedbus and different protocols, the protocols conversion module which uses Renesas’s H8/3687 chip was designed and developed in the monitoring-conditioning system of a program which adopts RS-232/485 for the upper computer (Smart Home System) and HBS for lower computer (commercial air conditioning systems). The module makes use of MITSUMI ELECTRIC’s MM1192 chip for HBS and Maxim’s MAX232/485 chip for RS-232/485,and then the suitable peripheral circuits are built.The control program for functional modules, which implements the interconnection between RS-232/485 and HBS is completed. The compatibility and interconection are also completed. The protocols converting module that followed K-Link protocol for communicating with upper computer and H-LINK protocol for communicating with lower computer can successfully complete data exchange between upper computer and lower computer.In practice, the protocols converting module is able to timely send information including run or stop mode, fan level, wind direction, temperature setting, return air temperature, alarm code etc to the Smart Home System. The module could make the users understand the state of air-conditioning. Moreover, it achieved the direct connection between the Smart Home System and the air-conditioning system in the setting run or stop mode, fan level, wind direction, temperature etc.More and more people are now concerned about the compatibility and the openness issues of fieldbus technology. And the protocol conversion module design has also been an new trial in this field. The fruits of this research have been already applied to new products for massive production. This has therefore laid a very solid foundation for further study of interconnection between the communication protocol conversions. It is of great practical significance. Researches have fully proved that this novel and creative method is capable of bearing fruitful and valuable results, having definitely paved the way for the application of protocol conversion module to more manufacturing industries in the near future.
Table of contents
Abstract 8-10
ABSTRACT 10-12
first chapter 12-26
1.1 Background and Significance of topics 12 -13
1.2 fieldbus Overview 13-24
1.2.1 fieldbus concept 13
1.2.2 fieldbus features 13 - 14
1.2.3 fieldbus advantage 14-15
1.2.4 fieldbus status 15-16
1.2.5 Introduction of common fieldbus technology 16-24
1.3 the main task of this thesis 24-26
Chapter bus network architecture model 26-34
2.1 OSI seven layer protocol architecture 26-28
2.1.1 OSI seven layer protocol architecture reference model 26
2.1.2 OSI seven-layer reference model features 26-28
2.2 fieldbus communication model and function 28-31
2.2.1 fieldbus model 28-29
2.2.2 fieldbus physical layer 29-30
2.2.3 fieldbus data link layer 30
2.2.4 fieldbus application layer 30-31
2.2.5 fieldbus user layer 31
2.3 protocol conversion module implementation analysis and hardware and software ideas 31-34
2.3.1 protocol conversion module implementation analysis 31-32
2.3.2 protocol conversion module hardware and software ideas 32-34
Chapter protocol conversion module features 34-36 <br / > Chapter protocol conversion module hardware design 36-44
4.1 main IC introduces 36-40
4.2 hardware configuration 40-41 <br / > 4.3 RS-232/485 communication circuit design 41-42
4.4 HBS communication circuit design 42-43
4.5 anti-lightning circuit 43-44 < br /> Chapter protocol conversion module software design 44-69
5.1 H-Link communication protocol 44-49
5.1.1 communication Specifications 44
5.1.2 CSMA / CD carrier / collision detection 44-45
5.1.3 communication format 45-48
5.1.4 Communicating Sequential 48-49
5.2 RS-485 communication protocol 49-56
5.2.1 communication Specifications 49
5.2.2 delivery fiduciary handling 49 - 52
5.2.3 communication format 52-55
5.2.4 Communicating Sequential 55-56
5.3 two communication protocols mapping 56 - 58
5.3.1 H-Link data frame processing 56-57
5.3.2 K-Link data frame processing 57
5.3.3 H- Link ← → K-Link mapping 57-58
5.4 communication timing priority 58
5.5 software design 58-69
5.5. an initialization procedure 59-62
5.5.2 master Control Program 62-64
5.5.3 HBS communication control program 64-69
first chapters debugging and testing 69-72
6.1 debug 69-70
6.2 test 70-72
Chapter VII conclusions and Prospects 72-75
7.1 paper summarizes 72-73
7.2 follow-up prospects 73-75
References 75-78 <br / > Thanks 78-79
thesis reviewers and the respondent Fact Sheet 79
Related dissertations
- Design The Protocol Conversion Module Between the HBS Protocol and BACnet
- HBx and HBs Upregulated Expression of RhoC by Transcription Factor Ets-1
- Study on the Cleaning Component Fractionating Technology of Bagasse Based on Pulping
- Separation of Lignin from Pine-nut Hull by the Method of HBS and Preparation of Lignin-PEG-PAPI
- Inhibition of HBV Replication and Growth Ability of Hepatocelluar Carcinoma Cells Study by HBS RNAi
- Preparation and Study of Dipfluzine Intragastric Floating and Residence Sustained-release Tablet
- Research and development of intelligent home control systems and related products
- Dedicated controller based on embedded technology research and development
- The Design and Implementation of Intelligent Residence Control System
- The Research on HBS Fieldbus Technology of Multi-Air Conditioner
- The Influence of GAPDH on HBs Expression
- ARM-based field bus node design CANBUS