Research of Temperature Measure & Control System Based on CAN-bus

Author
YangXiuBo
Advisor
WangMin
School
Northwest University of Science and Technology
Major
Agricultural Electrification and Automation
Classification
S379.3 Warehouse equipment and management
Degree
Master's thesis
Year
2007
Downloads
285
Citations
0

Request the full text

Abstract

CAN-bus is the most popular field bus at the present time. It is widely used in the autocontrol field because of its advangtages of high reliability,low cost and strong real-time property. The application of CAN bus in the agricultural engineering is not much yet,but it will certainly develop quickly according to its own advantages. Based on the CANstarter-Ⅰdevelopment group which was produced by Guangzhou Zhouligong company, this paper designed a system that could measure and monitor temperature ,and applied it to the cold storage monitor system.The RS-485 bus was mostly used in the traditional cold storage temperature control system,but it was poor in reliability,maintenance cost and transmission distance. And temperature sensor collected analog signals,as a result, the circuit design was complex, the measure precision was low. Therefor, to study and design a kind of intellegent cold storage temperature monitor system based on CAN-bus has practical significance.Firstly,this paper introduced the features of CAN-bus and its development actuality,analysed the configurations and functions of its phsical layer and data link layer,and discussed its technique criterions.Secondly, based on CANstarter-Ⅰ,digital temperature measure and control system was designed. The design was divided into two parts according to the whole structure of system. One part is cold storage house CAN intelligent node,its mainly parts include MCU P87C52X2 and CAN controller called SJA1000.,and its functions are temperature data collection and display,temperature control and CAN data communication. Using DS18B20 as temperature sensor to connect to development group and carried out the collection of temperature data and display of temperature value on LED.The temperature control could be achieved by regulating the slide valve of refrigeration compressor. And the slide valve was controled by stepper motor through fuzzy control arithmetic. CAN-bus communication protocol adapted to this measure and control system was established,and data reception and transmission was carried out through the protocol. The other part is upper-terminal node and mainly include PC machine and CANmini adapter. The CAN-bus control network can communicate with PC through CANmini adapter. The monitor management software operated on PC. The software was developed under the environment of VB6.0,carried out the functin of parameter setting and real-time monitoring and so on .Besides,this paper researched the control model of cold storage temperature control system, and brought forward to fuzzy control arithmetic to realise cold storage house temperature control. The experiment indicated the control effect was satisfying and could basicly fulfil the temperature control demands.

Table of contents

Abstract 4-5 ABSTRACT 5-10 first chapter 10-13 1.1 Development and application of the fieldbus CAN 10 the background and significance of the 1.2 Dissertation Topics 10-11 the the 1.3 current research status quo 11-12 1.3.1 domestic and international cold storage development of automatic control 11 the traditional method of automatic monitoring and control system 1.3.2 cold storage 11-12 1.4 thesis 12-13 CAN bus technology 13-20 2.1 CAN bus sources 13 2.2 CAN bus features 13-14 2.3 CAN bus bit value expressed with the communication distance 14 2.4 CAN bus technical specifications 14-19 2.4.1 CAN bus hierarchy 14-15 2.4.2 packet transmission frame structure 15-19 2.5 This chapter Summary 19-20 Chapter measurement and control system overall program design 20-23 3.1 experimental platform to establish 20 3.2 thermostat system overall structure 20-21 3.3 system part description 21-23 The monitoring and control system to control the model and the control algorithm to choose 23-29 4.1 refrigeration system overview 23 4.2 cold storage refrigeration system temperature control method and model 23-24 4.3 refrigerator temperature control features and control method to select 24-25 4.4 fuzzy control system and the principle 25-26 4.5 fuzzy controller design 26-27 4.5.1 Fuzzy 26 4.5.2 establish the fuzzy rules of the fuzzy controller 26-27 4.5.3 to blur 27 4.6 This chapter Summary 27-29 Chapter temperature measurement and control node of CAN bus design 29-49 5.1 microcontroller and its peripheral circuits 29 5.2 coffers temperature sensor 29-31 5.2.1 Cold Storage temperature measurement characteristics 29 5.2.2 Temperature sensor selection and use 29-31 5.3 temperature acquisition and processing and display 31-33 5.3.1 hardware circuit 31-32 5.3.2 flowchart and software to achieve 32-33 5.4 temperature control to achieve 33-39 5.4.1 hardware block diagram 33-34 5.4.2 temperature fuzzy control to achieve 34-38 5.4.3 temperature control algorithm flowchart 38-39 5.5 CAN node communication realization 39-48 5.5.1 Profile of the CAN controller SJA1000 39-41 5.5.2 Measurement and Control System CAN communication protocol to develop 41-43 5.5.3 CAN intelligent node initialization 43-45 5.5.4 CAN data sent 45-47 5.5.5 CAN data received 47-48 5.6 This chapter subsections 48-49 Chapter VI PC monitoring program designed 49-56 the interface card 6.1 CANmin its control function 50-52 6.1.1 device parameters 50 6.1.2 interface functions 50-52 6.2 Measurement and Control management software designed 52-55 6.2.1 monitoring and control management software to achieve the function 52-53 6.2.2 monitoring and control management software implementation 53-55 6.3 This chapter Summary 55-56 Chapter VII Conclusions and Prospects 56-57 7.1 Conclusion 56 7.2 Looking 56-57 the References 57-60 attachments 60-75 Acknowledgements 75-76 Author 76

Related dissertations

  1. Research on the Intelligent Controller of Soft Starter for Motor
    PengWanQuan ·Wuhan University of Technology ·2008 ·Master's thesis
  2. Research on the Speed Control of the Egg Quality’s Automatic Detection System
    WangBin ·Huazhong Agricultural University ·2005 ·Master's thesis
  3. Research on the Intelligent Controller of Soft Starter for Motor Based on MCU
    ChaBin ·Wuhan University of Technology ·2009 ·Master's thesis