Design of Intelligent Controller Based on CAN Bus

Author
ZhangChunXiao
Advisor
HuDunLi
School
North China University of Technology
Major
Detection Technology and Automation
Classification
TP273.5 Computer control, computer control system
Degree
Master's thesis
Year
2009
Downloads
273
Citations
0

Request the full text

Abstract

With the continuous development of computer technology, microprocessor technology, as well as communication technology, traditional instruments have been unable to adapt to the requirements of the industrial control. The emergence of fieldbus provides a tremendous motivation and development space for renewal and renovation of instrument, upgrade of product, as well as realizing the industrial control systems to the decentralized, networked, intellectualized development. The CAN bus has characteristics such as fine stability, high reliability, quicker communication rate and low cost, and it can effectively support real-time, distributed control, thus it has been applied in many fields, and has a broad prospect for development. The research and development of fieldbus instrumentation based on CAN protocol has a very practical significance.The implementation of CAN bus communication in instrumentation was described in this paper in detail, the exploration of C8051F040 singlechip which embedded CAN controller was also carried out, and it was used as the core component in the design of the hardware and software of the controller. At the first of the paper the characteristic of CAN bus protocol was introduced, then the design content of hardware and software modules were described, focusing on data acquisition, signal processing and the realization of CAN protocol in the controller, in the module of control arithmetic, the simulink which used level of water tanks as the controlled quantity was carried out and flow chart of programme was drawn, at the end of the paper relative experiments were designed to test the performanceof the controllor. The controller can realize not only the collection, processing and display of the signal, but also the transmission of signals between different nodes through CAN bus. This controller can communicate directly with the PC computer through the serial port, or through the CAN interface helped with the CAN-USB conversion devices. The controller can be together with other CAN bus nodes and the PC computer to compose CAN-bus remote monitoring and control systems, in order to realize the network-rization and intellectualized of instrument.The intelligent controller based on CAN bus which are designed in this paper has many merits such as compact structure, small size, low cost, high flexibility, and it can effectively overcome the defects of low efficiency of data transmission and poor ability of real-time and error-handling of the traditional instruments, thus it adapts to the development trend of network-rization and intellectualized of instrument.

Table of contents

Abstract 4-5 Abstract 5-8 1 Introduction 8-11 1.1 topics and significance of 8 1.2 subject background and needs analysis 8-9 1.3 topics of research and programs 9-11 CAN bus technology 11-17 2.1 CAN bus Profile 11-12 2.2 CAN bus protocol 12-15 2.2.1 network hierarchy 12-13 2.2.2 packet transmission 13-15 2.2.3 packet filtering 15 2.3 CAN bus system 15-17 3 intelligent controller hardware design 17-30 3.1 hardware systems constitute 17 3.2 micro- controller module 17-22 3.2.1 microcontroller features 17-19 3.2.2 internal integration of the major peripheral 19-22 3.2.3 C8051F MCU development environment 22 3.3 keyboard module design 22-23 3.4 LCD module is designed 23-24 3.5 signal conditioning modules designed 24-26 3.6 CAN communication module design 26-27 3.7 power supply module design 27-28 3.8 system anti-jamming measures 28-30 4 intelligent controller software design 30-40 4.1 software design 30 4.2 initialization module 30-33 4.3 keyboard scan module 33 4.4 LCD module 33-34 4.5 data acquisition and processing module 34-35 4.6 control algorithm module 35-38 4.7 D, / A module 38 4.8 CAN communication module 38-40 5 experimental debugging 40-42 conclusions 42-43 References 43-45 Appendix A subject of hardware schematic 45-46 study results 46-47 Acknowledgements 47

Related dissertations

  1. The Design of Small Coal Mine Remote Monitoring System Based on ARM
    XuJin ·Northeastern University ·2011 ·Master's thesis
  2. The Design and Realization of Extended System in Distributed Firealarm System Based on Microcontroller
  3. The Design of Monitoring System for the Photovoltaic Plant Based on DSP
  4. Design and Application of the Distributed Monitoring System Based on Embedded Web
  5. The Design of Hybrid Electric Bus Data Acquisition and Test System
    LiHuiXian ·Hunan University ·2012 ·Master's thesis
  6. Industrial Field Data Acquisition System Design Based on CAN Bus
  7. Design of the Hazard Source Monitoring System Based on CAN Bus
  8. The Design of Displacement Detection System Based on CPLD Grating Subdividing Technology
  9. Research on Data Acquisition System of Can Bus
  10. The Design and Implementation of Vehicle Data Acquisition and Communication Device Based on CAN Bus
    QianYiWei ·Hunan University ·2013 ·Master's thesis
  11. Design of Remote Monitoring System of Agricultural Field Information Based on GPRS Network
    FeiYongYun ·Nanjing Agricultural College ·2013 ·Master's thesis
  12. Design and Implementation of Intelligent Wiring Hardness Detection System
  13. Research on Indoor Localization System for Intelligent Wheelchair
  14. Research on CAN Bus Communication and Application Experiments
    WangHuaWei ·Harbin Institute of Technology ·2012 ·Master's thesis
  15. Based on Can Field-bus Technology and Web Service Home Intelligent Control System Design and Realization
  16. Research of Fieldbus Relay Basing on CAN Bus
  17. Research and Realization of Fieldbus Conversion and Monitoring System Based on ARM
    ZhaoBo ·Dalian Polytechnic University ·2012 ·Master's thesis
  18. CAN Network Development of Commercial Vehicle
    MaJiZhou ·Xi'an University of Petroleum ·2012 ·Master's thesis
  19. Based on Smith Fuzzy-PID of Hot Drawing Roller Temperature Control System
    FangHaiPing ·Tianjin University of Technology ·2013 ·Master's thesis
  20. Research on the Scheduling Algorithm of Networked Control System Based on CAN Bus
    YangFangFang ·Tianjin University of Technology ·2013 ·Master's thesis