Based on CAN Bus and King 's granary Monitoring System

Author
LiZhaoKun
Advisor
ZuoHaiYun
School
Southwest Petroleum University
Major
Measuring Technology and Instruments
Classification
TP277 Monitoring, alarm,fault diagnosis system
Degree
Master's thesis
Year
2007
Downloads
437
Citations
5

Request the full text

Abstract

The food problem is of vital importance to the nation’s economy and the people’s livelihood, the grain depots plays the most important role in the grain storage, especially in our country that produced the most grain in the world. The grain’s safety and deeply shortage of the grain depots decide that our country grain depots’ construction is a long time task. The grain depots monitoring problem is one of the grain depots construction and grain storage problems. The paper comes up with grain depots monitoring system based on the CAN bus and the Kingview according to the present grain depots monitoring system status and the tendency, which can monitor the grain depots’ inner and outside temperature, moisture and the pests hazard, so as to improve the grain depots monitoring system reliability and expand the monitoring function.The system adopts the distributed network architecture; it is composed of in-situ computer and the indoor computer. The in-situ machine plays the design of the CAN adapter on EPP parallel protocol and the man-machine interface software. The indoor computer completes the transducer choice of the CAN node and the temperature, also including the design of the temperature controller. The CAN adapter is completed by the VB language and WINIO parallel port driver unit. The grain depots man-machine interface is finished by the Kingview made in china, which is convenient for the operation and simulates the in-situ situation, in this way; we can realize the whole monitoring and remote control. The CAN node adopts the AT89S52 and the SJA1000, the software is finished by the assembly language. The DS18B20 digital transducer and the HS1101 capacitive type transducer are chosen for the temperature and moisture measurement and the photoelectric transducer can realize the counter of the pulse for the pests. All of the signals are digital, it doesn’t exist the convert ion from the analog to the digital, so the system is reliable, high accuracy, good identity and doesn’t need adjusting; especially the length of the signal line can not effect the property of system.At the same time the system adopts the CAN bus as the communication net, which improves the system efficiency and the real time characteristic, it has the good prospect of application.

Table of contents

Abstract 2-3 Abstract 3-7 1 Introduction 7-12 1.1 research background and significance 7 1.2 domestic grain monitoring system status 7-9 1.3 granary monitoring problems in the development 9 1.4 granary monitor trends 9-10 1.5 of this topic to complete the work program and major 10-12 1.5.1 scheme proposed 10 1.5.2 The main subject of the work done 10-12 2 CAN bus Introduction 12-20 2.1 CAN bus main characteristics 12 2.2 CAN message frame structure 12-15 2.2.1 Data Frame 12-14 2.2.2 Remote Frame 14 2.2.3 error frame 14-15 2.2.4 overload frame 15 2.3 CAN bus protocol specification 15-17 2.4 CAN bus packet filtering technology 17-20 2.4.1 Single- filtering technology 17 2.4.2 dual filter technology 17-20 3 grain monitoring system master plan 20-22 3.1 System Architecture Planning 20 3.2 system function of each part 20-21 3.2.1 PC functions 20 3.2.2 lower machine functions 20-21 3.3 system works 21-22 4 lower computer system design 22-45 4.1 CAN nodes consisting 22 4.2 CAN node main device 22-30 4.2.1 AT89S52 microcontroller 22-23 4.2.2 CAN controller SJA1000 devices 23-29 4.2.3 PCA82C250 devices 29-30 4.3 CAN node software design 30-37 4.4 temperature detecting portion 37-41 4.4.1 Sensor introduction 37 4.4.2 DS18B20 internal structure 37 4.4.3 DS18B20 temperature measurement principle 37-39 4.4.4 temperature detection hardware design 39 4.4.5 software design analysis 39-40 4.4.6 The use of DS18B20 precautions 40-41 4.5 humidity detection portion 41-43 4.5.1 Sensor introduction 41 4.5.2 humidity measurement hardware design 41 4.5.3 HS1101 humidity measurement principle analysis 41-43 4.5.4 Precautions when using the HS1101 43 4.6 pest detection portion 43 4.7 temperature , humidity, and pest control part 43-45 5 PC system design 45-60 5.1 CAN communication adapter design 45-49 5.1.1 EPP Profile 45-46 5.1.2 CAN adapter hardware design 46-48 5.1.3 CAN adapter software design 48-49 5.2 PC configuration design 49-60 5.2.1 Configuration Introduction 50 5.2.2 KingView main features 50-51 5.2.3 KingView main function implementation 51-54 5.2.4 The specific design of man-machine interface configuration 54-56 5.2.5 Remote management control part of the design 56-60 6 system reliability design and precautions 60-62 6.1 system reliability design 60-61 6.2 System Considerations 61-62 6.2.1 System Installation Precautions 61 6.2.2 System Operation Precautions 61-62 7 Summary and Outlook 62-63 7.1 Summary 62 7.2 vision and recommendations 62-63 References 63-66 Thanks 66-67 papers 67-68 Appendix 68-89 Appendix A 68-70 A1 CAN node schematic 68-69 A2 CAN node PCB board 69-70 Appendix B 70-86 CAN node part of the program 70-86 Appendix C 86-88 C1 VB in humidity calculation 86-87 C2 temperature, humidity and pest control 87-88 Appendix D 88-89 CAN communication adapter PCB board 88-89 Appendix E 89 WINIO module affirms 89

Related dissertations

  1. Design of the Hazard Source Monitoring System Based on CAN Bus
  2. Remote Crop Growth Environment Factors Monitoring System Research Based on ZigBee/GPRS
    XiaoQianHu ·Hainan University ·2014 ·Master's thesis
  3. Research on the Key Technologies of Mechanical Stereo Garage
    SunGuanLong ·Chang'an University ·2013 ·Master's thesis
  4. The Research of Intelligent Ship Engine Room Monitoring System Based on CAN Bus
  5. Design of Monitoring System for In-Vehicle Body Network Based on CAN Bus
    SongLi ·Shanghai Jiaotong University ·2008 ·Master's thesis
  6. Study on Automatic Monitoring System for Combine Harvester
  7. The System of Intelligent Control Charging for Wind/photovoltaic Hybrid Electric Vehicle
    YangJinXiang ·Hebei Union University ·2013 ·Master's thesis
  8. Design of Monitoring System of High Frequency Power for Electrostatic Precipitator
    WuWei ·Yanshan University ·2013 ·Master's thesis
  9. Design and Research of the Monitoring System in Pump Truck
    ShiWenZe ·Central South University ·2011 ·Master's thesis
  10. The Design of Small Coal Mine Remote Monitoring System Based on ARM
    XuJin ·Northeastern University ·2011 ·Master's thesis
  11. Monitoring System of Motion Position Platform Design Based on Wincc
  12. Application Study of Comprehensive Video Monitoring System of Railways
    MengZiZuo ·Yanshan University ·2012 ·Master's thesis
  13. Design and Research on Monitoring and Diagnosis System of Superconducting Medium Radiator Automatic Filling Production Line
    LiuYang ·Harbin Engineering University ·2013 ·Master's thesis
  14. Design and implementation of computer monitoring and control system of pumping station based on PLC
    XieZhengHua ·Jiangxi University of Technology ·2013 ·Master's thesis
  15. Research and Application on the Remote Intelligent Monitoring System of Grain Depot
  16. The Research of Facility Agriculture Based on the Wireless Network
    WangYueLi ·Tianjin University of Technology ·2013 ·Master's thesis
  17. The Design and Realization of Extended System in Distributed Firealarm System Based on Microcontroller
  18. Research on Tunnel Monitoring System Key Technology
    ChenGuangJing ·Xi'an University of Petroleum ·2013 ·Master's thesis
  19. The Design of Monitoring System for the Photovoltaic Plant Based on DSP
  20. The Research and Apply on Monitoring System of Hydrologic Stations