Design of Remote Control System of Central Air Conditioning Based on Ethernet
- Author
- XiongYunTa
- Advisor
- WangHuaYi
- School
- Shandong University
- Major
- Control Theory and Control Engineering
- Classification
- TP273.5 Computer control, computer control system
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 412
- Citations
- 12
Abstract
With the development of national economy and constant improvement of people’s life, people’s demands on the environment become higher and higher, so the application of central air conditioner grows to be abroad. The central air conditioner system improves people’s living condition, but it also uses up a lot of energy sources. Actually, most of central air conditioners are controlled separately, each controller can only monitor and control one air conditioner’s status, that not only makes against the intellective management, but also wastes of much energy. A few of controller product manufacturers of central air control conditioner tried to use network to control the whole system concentratively, however, mostly, the technology they applied was behindhand, the communication length was not very long, and the number of terminals they controlled was limited.In recent years, the technology of network has become more mature, its security, and reliability have future improved, so we can apply network technology to the control field gradually. In addition, the single-chip technology also develops rapidly, many single chips have the characteristics of multifunction, high speed, low power, low price, big memory and strong I/O, all that make us be able to design low cost remote control system based on single chips, and then apply it to central air conditioner.The main task of this thesis is to develop a concentrative control system about central air conditioner with long-range communication function, which can communicate with control center via Internet, and then we can monitor and control all terminals’ status in one building or several buildings. The concentrative control and management can improve the efficiency of central air conditioner, and reduce energy consummation. The whole system uses multi-level distributed control architecture.In stage which connects to Internet, we develop an Ethernet transmit scheme based on ATmegal28 and Enc28j60. It transplants the Microchip TCP/IP protocol stack into ATmega128 to implement remote real time supervise and control by communicating with remote computer.The system expands RS485 bus for data transmission in building to save the cost and reduce the difficulty to design. The terminals aim to control the room’s temperature directly, they transmit status data to its upper layer and receive control command by RS485 interface. We make use of visualized programming tools Visual Basic and its Winsock control to develop network application program for the client in remote computer. The paper summarizes the situation of remote control system about central air conditioner in brief, introduces its architectures and functions, and discusses the choice of the whole system scheme in detail, including transmission bus in building, remote transmission method, remote communication mode. The thesis concretely describes the hardware design method and the soft design ideal of each part. Hardware parts design the circuit based on AVR top grade MEGA series single chip, then expand Ethernet interface and RS485 bus interface to transmit data, with some key-display module and other control modules. The soft sections emphasize the method of embedding the TCP/IP protocol stack into ATmega128, design of RS485 communication program, and some keyboard display program. The thesis offers a majority of circuit diagram and some key source program or flow chart, the reliability and the capability of anti-jamming are also described in simple. The client segment describes how to use ADO object to connect and access ACCESS database at length, it also introduces some important properties of Winsock and its technique, so as to develop network program.The application shows that this system runs stably and accurately. The technology and methods adopted in the system are practical and worthy of using abroad, with the characteristics of low cost, good expansibility. Finally, the subject is briefly summaried, and some remarks on further improvement to the system are also presented.
Table of contents
Abstract 8-10
ABSTRACT 10-12
Symbol Description 12-13
Chapter 1 Introduction 13-19 <br / > 1.1 issue source 13
1.2 Overview of central air conditioning system 13-14
1.3 remote control technology development 14-16
1.4 topics significance and application value 16
1.5 topics main content 16-19
Chapter 2 overall system design 19-29
2.1 system mainly function 19
2.2 system Architecture Design 19-20
2.3 buildings bus transfer program to determine 20-23
2.3.1 RS485 bus technology 20-21
2.3.2 fieldbus technology 21-22
2.3.3 ethernet 22-23
2.4 remote transmission program to determine 23-24
2.5 remote communication mode program to determine 24-29
2.5.1 client / server mode (C / S) 25
2.5 .2 browser / server mode (B / S) 25-26
2.5.3 tier architecture 26-27
2.5.4 C / S model and B / S Model comparison 27-29
Chapter 3 system hardware design 29-47
3.1 intermediate station design 29-34
3.1. an intermediate station functional block diagram 29-30
3.1.2 ATmega128 30-31
3.1.3 ethernet controller ENC28J60 31-33
3.1.4 intermediate station power supply design 33-34
3.2 RS485 hub design 34-38
3.2.1 hub function block diagram 34-35
3.2.2 serial communication module 35-37
3.2.3 keyboard display Module 37-38
3.3 end ( thermostat ) design 38-43
3.3.1 terminus ( thermostat ) functional block diagram 38-39
3.3.2 end LCD module 39-40
3.3.3 power and execution part 40-41
3.3.4 AD sampling module 41-43
3.4 PCB design 43-47
Chapter 4 System software Design 47-73
4.1 ENC28J60 with the ATmega128 -based TCP / IP agreement transplant 47-65
4.1.1 TCP / IP protocol Introduction 47-51
4.1.2 Microchip TCP / IP protocol stack 51-56
4.1.3 network driver for the preparation 56-63
4.1.3.1 ENC28J60 memory 56-57
4.1.3.2 serial Peripheral Interface SPI 57-58
4.1.3.3 SPI instruction set 58-62
4.1.3.4 chip initialization 62-63
4.1.3.5 send and receive data packets 63
4.1.4 main program flowchart 63-65
4.2 intermediate stations and hubs RS485 communication program design 65-66
4.3 keyboard Viewer 66-73
4.3.1 HD7279 driver 66-69
4.3.2 end LCD driver 69-73
Chapter 5 client Programming 73-83
5.1 client communication program design 73-76 <br / > 5.1.1 Winsock technology Overview 73-74
5.1.2 Winsock control their use 74-76
5.2 VB and ACCESS database and application connectivity between 76-79
5.2.1 database selection and design 76-77
5.2.2 using ADO object to access the database 77-79
5.3 client HMI Figure 79-83
Chapter 6 Summary and Outlook 83-85
Appendix 85-89
Appendix A physical map system debugging 85
Appendix B system circuit diagram 85-89
References 89-93
Thanks 93-95 <br / > master's degree papers published during 95-96
thesis reviewers and the respondent Fact Sheet 96
Related dissertations
- Design of Distributed Control System of Central Air-Conditioning Based on Ethernet
- The Design and Implementation on Network-based Remote Control System of XY Table
- Research on Distributed Control System of Batch Dyeing
- Research and Manufacturing of Multi-function Crankshaft Dynamic Balance Test System with Network Communication Function
- TCP/IP Based Video Transmission Protocol’s Design and Implementation
- Design and Implementation of Telecontrol Media Play System
- The Research of Data Communication in Semiconductor Packaging Equipment Based on TCP/IP
- Internet-based remote control and programming implementation
- VOIP technology in the network monitoring system
- Study and Development of the Application Server Subsystem for the Monitor System of Working States of the Large Scientific Instruments
- Developing Remote Wireless Monitor System Based on GSM Net and Internet
- Research and Realization of IC Card computer Room Management System Based on UML
- The Design and Implementation of the Aeromodelling Remote Control System
- Based on PLC Street-lamps Romote Monitoring System Research and Implementation
- Design and Implementation of a Remote Computer Room Monitoring System
- Research and Design of Intelligent Medical Infusion Monitoring System
- The Design of Integrated Circuit Board Remote Maintenance Online Monitoring System
- Smart Home Monitoring System Based on Ni Wireless Sensor Network
- Design of Greenhouse Environment Remote Control System Based on MMS
- Design of Remote Control System Based on Ethernet