Designs of CAN and BACnet Interactive Gateway for Intelligent Building
- Author
- XieZhiQuan
- Advisor
- JiaLei
- School
- Shandong University
- Major
- Control Theory and Control Engineering
- Classification
- TU855 Building electrification,automation equipment
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 113
- Citations
- 0
Abstract
BACnet building automation standard as the only open international standards, has been most of the intelligent building equipment manufacturer's support. The MS / TP protocol is a proprietary protocol BACnet standard, building automation network as the underlying protocol has a very good price, get a lot of applications. But MS / TP protocol to EIA-485 as the physical layer to the token mechanism transmission medium access control, real-time requirements for some of the high equipment and events, MS / TP ills began to unravel. CAN is a multi-master work, the nodes into different priorities, using non-destructive bus arbitration techniques, can meet different real-time requirements, so intelligent building system introduced with CSMA / CD functions of the CAN bus can compensate BACnet poor real-time shortcomings. This paper analyzes the characteristics of intelligent buildings and building automation equipment required communication standards, based on the design criteria based on the PIC chip and BACnet MS / TP protocol communications network. High real-time requirements of the CAN bus device design underlying communication network. Finally completed the two networks interact - Gateway Design, and made the appropriate testing. Firstly, introduced the basic content of the BACnet standard, and on this basis, is designed based on MS / TP protocol BACnet node module, PIC24 family of microcontrollers based on BACnet protocol physical layer, data link layer, network layer, and application layer software design. Secondly, the CAN bus to do a more in-depth research, the choice as MCP2515 and MCP2551 CAN bus controller and transceiver. This paper describes the basis MCP2515 CAN bus. According to several more standardized CAN application layer protocol, developed a more practical CAN application layer protocol, while maintaining the inherent reliability of the CAN bus, efficiency, and simplify the system structure. Again, through the analysis of the entire system is designed to BACnet standard CAN bus gateway. Gateway hardware is based on the BACnet standard MS / TP protocol RS-485 circuits underlying MCP2515-based and host microcontroller via SPI communication circuits. Designed based on the PIC24 family of embedded real-time operating system, the BACnet protocol, CAN application layer gateway is implemented on the basis of the function. Presents a PIC18, 24 series microcontroller precision real-time clock software design methods. Finally, BACnet BACnet protocol nodes through a testing laboratory (BTL) presided over the development of the VTS (Visual Test Shell) software for conformance testing, CAN node via the interface card CAN232 and ZLGCANTest software testing. Gateway system designed in this paper through the PC test software testing, in the project application shows the real-time CAN network millisecond, and BACnet network in real time as second-class, fully proved the feasibility of the design, stability and CAN bus efficiency.
Table of contents
Abstract 8-10
ABSTRACT 10-12
first chapter 12-20
1.1 research background 12
1.2 research status 12-17
1.2.1 BACnet standard in intelligent building applications 12-15
1.2.2 CAN bus application status 15-17
1.3 study of this subject and the significance 17-20
Chapter II system hardware design 20-32
2.1 BACnet node hardware design 20-24
2.1.1 microcontroller 20-21
2.1.2 Signal Input Module 21-22
2.1.3 storage module 22
2.1.4 BACnet communication module 22-24
2.2 CAN node hardware design 24-26
2.2.1 MCP2515 Profile 24 -25
2.2.2 hardware design 25-26
2.3 gateway hardware design 26-28
2.4 PCB design 28-32 <br / > Chapter gateway software design 32-64
3.1 embedded operating system module 32-36
3.1.1 embedded operating system features 32 < br /> 3.1.2 PIC24 family of microcontrollers based on RTOS Introduction 32-34
3.1.3 Gateway division of tasks 34-35
3.1.4 Gateway design and implementation tasks 35-36
3.2 BACnet module 36-44
3.2.1 application layer protocol data unit to achieve 36-40
3.2.2 Network Layer protocol data unit to achieve 40-41
3.2.3 Data link layer and physical layer coding to achieve 41-44
3.3 CAN module 44-53 < br /> 3.3.1 CAN module initialization 44-46
3.3.2 packets 46-48
3.3.3 message received 48-50
3.3.4 CAN bus application layer protocol defines 50-53
3.4 gateway module 53-64
3.4.1 and BACnet network communication 53-54
3.4.2 and CAN network communication 54-55
3.4.3 CAN messages with BACnet packets conversion 55-56
3.4 .4 real-time clock design 56-58
3.4.5 Ethernet 58-60
3.4.6 gateway and PC communication program 60 -64
Chapter System testing and application 64-74
4.1 BACnet module performance testing 64-66
4.1.1 BACnet protocol conformance test 64-66
4.1.2 BACnet for MS / TP module performance testing 66
4.2 CAN module test 66-67
4.3 gateway test 67-69
4.4 system application 69-74
4.4.1 central air conditioning system structures 69-70
4.4.2 System Works 70
4.4.3 system operating effectiveness analysis 70-74
Chapter Summary and Outlook 74-76
5.1 Work Summary 74 < br /> 5.2 related work prospects 74-76
References 76-80
Thanks 80-81
dissertation and defense situation marked Table 81
Related dissertations
- Intelligent Home Control System Based on the CAN Bus
- The Design of Small Coal Mine Remote Monitoring System Based on ARM
- The Design and Realization of Extended System in Distributed Firealarm System Based on Microcontroller
- The Design of Monitoring System for the Photovoltaic Plant Based on DSP
- Design and Application of the Distributed Monitoring System Based on Embedded Web
- The Design of Hybrid Electric Bus Data Acquisition and Test System
- Industrial Field Data Acquisition System Design Based on CAN Bus
- Design of the Hazard Source Monitoring System Based on CAN Bus
- The Design of Displacement Detection System Based on CPLD Grating Subdividing Technology
- Research on Data Acquisition System of Can Bus
- The Design and Implementation of Vehicle Data Acquisition and Communication Device Based on CAN Bus
- Design of Remote Monitoring System of Agricultural Field Information Based on GPRS Network
- Design and Implementation of Intelligent Wiring Hardness Detection System
- Research on Indoor Localization System for Intelligent Wheelchair
- Research on CAN Bus Communication and Application Experiments
- Based on Can Field-bus Technology and Web Service Home Intelligent Control System Design and Realization
- Research of Fieldbus Relay Basing on CAN Bus
- Research and Realization of Fieldbus Conversion and Monitoring System Based on ARM
- CAN Network Development of Commercial Vehicle
- Based on Smith Fuzzy-PID of Hot Drawing Roller Temperature Control System