The Research of Remote Monitoring and Control System for Water Temperature and Level Based on CAN Bus
- Author
- YuGuoDong
- Advisor
- WangGongTang
- School
- Shandong Normal University
- Major
- Signal and Information Processing
- Classification
- TP273.5 Computer control, computer control system
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 88
- Citations
- 0
Abstract
With the social development and progress, the fieldbus technology is widelyused in various measurement and control field. Temperature and water levelmonitoring and control system has better solved the inherent shortcomings of the solarhot water project. However, the current system is a stand-alone work or using theRS-485 bus. They cannot meet the new requirements for monitoring and control ofsolar hot water. Fieldbus-based distributed measurement and control system hasbecome the development direction of the temperature and water level monitoring andcontrol system. This paper designs a set of monitoring and control system for solarhot water project, to achieve distributed control of solar hot water. The system ismainly composed of the master, slaves, and CAN network.The introduction part of this article first introduces the background of topics andresearch significance, then introduces the two stages of temperature and water levelmonitoring and control system development. Analysis of the shortcomings anddeficiencies of the existing system, and concentrated summarizes the advantages ofthe fieldbus system. We propose that the fieldbus application to temperature andwater level measurement and control system.The next one is the overall structure of the system design, detailed illustrates thefunction of each part and gives the block diagram of the various parts. In the busselection, this paper compares several common fieldbus and details the characteristicsof the CAN bus. In view of the versatility, development costs and openness, thesystem uses CAN bus. This part provides a basis for hardware and software design.The third part is a brief introduction to the CAN bus, including LLC and MACfunctions, signal bit value indicates and data frame structure. Finally, according to the system design requires, we design CAN high-level application protocol andcommunication processes for this system.The fourth part is the design of the hardware. This part designs a microcontrollerperipheral circuit, power circuit, the CAN interface circuit, liquid crystal displaycircuit, the water temperature measuring circuit, the water level measurement circuit,the relay control circuit, as well as real-time clock circuit. And test the temperatureand water level measurement modules then analyze the test results. Finally discuss themaximum distance of the bus, and analyze the four main factors of communicationdistance.The fifth part of this paper is the design of the software. First, paper brieflydescribes the software development environment. Second, paper gives CAN receiveand transmit subroutine. The master and slave software are designed, then paper givesthe work flow chart and the main segment of the program.Finally, solutions and suggestions are proposed towards defects in the design.
Table of contents
Summary 6-8
Abstract 8-10
first chapter 10-14
1.1 subject background 10-11
1.2 Recent developments at home and abroad technical superiority 11-12
1.3 fieldbus 12-13
1.4 the main contents and chapter arrangement 13-14 the overall design
Chapter II system 14-20
2.1 system Overview 14-16
2.1.1 the main function of the host 14-15
2.1.2 from the main function of machine 15-16
2.2 fieldbus system selection 16-17
2.3 overall design of the system architecture 17-20
Introduction and Chapter III CAN bus protocol design 20-28
3.1 CAN communication reference model 20-21 <br bit value /> 3.2 CAN signals said 21-22
3.3 CAN data frame structure 22-24
3.4 CAN communication protocol design 24-28
3.4.1 host command frame format 24-25
3.4.2 slave response frame format 25-26
3.4.3 communication process 26-28
Chapter IV system hardware design 28-44
4.1 host hardware design 28-34
4.1.1 microcontroller and peripheral circuits 29-30 <br / > 4.1.2 CAN bus interface circuit 30-32
4.1.3 LCD circuit 32-34
4.2 from computer hardware design 34-40 <br / > 4.2.1 water temperature measurement circuit 34-37
4.2.2 level measurement circuit 37-38
4.2.3 control circuit 38-39 <br / > 4.2.4 Real-time clock circuit 39-40
4.3 CAN bus maximum communication distance 40-44
Chapter V system software design 44-62
nbsp 5.1 PIC18F chip development environment ; 44-46
5.2 CAN communication software design 46-53
5.2.1 initialization routine 46-49
5.2.2 send subroutine 49-50
5.2.3 receives subroutine 50-53
5.3 host software design 53-55
5.4 slave software design 55-62
Chapter VI summary and Outlook 62-64
References 64-68 <br / > Appendix published 68-71
master's degree during the post 71-72
Thanks 72
Related dissertations
- Design of DeviceNet-CANopen Integrated Slave Node
- The Research of Remote Collecting and Controlling Card for Water Temperature and Water Level Based on GPRS
- Research of Fieldbus Multi-Protocol Conversion Gateway Based on PROFIBUS-DP Slave
- Design and Application of Protocol Converter Based on Fieldbus
- Research and Design on Water Level Automatic Monitoring System in Prototype Observation of Roughness Coefficient for Water Diversion Tunnel
- Research of the Application of Can-based Automation System of Marine Engine Room for T50A Ship
- A Realization of Monitor an Control System for Diesel Testing Station Based on FCS
- The Designation and Research of the IM614 Communication Module of Siemens
- The Research of the Monitor System of Dong Feng 4 Locomotive Diesel Engine Test-bed
- Mechanisms Studies of Co-seismic Responses of Water Level and Temperature to Tele-seismic
- Study and Realization of PCI-CAN Bridge Technology
- Design of Distributed Monitoring Vibration Network System On-line and Its Communication Interface
- Based on CAN bus control system and applied research
- Fieldbus technology in multi - mode cabin simulation system
- Industrial Fieldbus System Design
- The Research of Armored Vehicle Electronic Integration System Based on CAN Bus
- Research of Control Subsystem for Minced Freshwater-Fish Product-Line Based on CAN Fieldbus
- The Design and Realization of Fieldbus Control System for Boiler
- Fieldbus technology and its applications
- The Research of Intelligential Measure & Control Node