Design of CAN Control System Based on USB Interface

Author
ChengZuo
Advisor
CaiHuai
School
Southwest Jiaotong University
Major
Traffic Information Engineering \u0026 Control
Classification
TP273.5 Computer control, computer control system
Degree
Master's thesis
Year
2005
Downloads
460
Citations
5

Request the full text

Abstract

Currently , automatic control technology continues to develop, to penetrate deep into the various fields of production and life . Practical applications, not only for the high-speed monitoring equipment , noise immunity and cost control have higher requirements , further requirements in terms of versatility and convenience . As mainstream fieldbus , industrial control LAN CAN (Controller Area Network) bus with a very broad application prospects , but traditional RS-232, RS-485, ISA interface technology commonly used in the CAN bus connection to the host , has been lacking , and host high speed and convenient interface . A new good solution , with plug-and-play features of USB ( Universal Serial Bus Universal Serial Bus ) technology with its characteristics of high-speed , flexible and easy to use , can be a design CAN monitor network interface will greatly convenience CAN application environment . This article briefly describes the CAN bus technology and USB bus their own characteristics , and then a combination of both characteristics , a reasonable selection micro controller A789C52 of USB controller chip PDIUSBD12 and independent CAN controller chip SJA1000 complete CAN bus USB interface design , USB-CAN achieve a data transfer system solutions , and implementation details were described from the point of view of the hardware and software development . Finally, the actual debugging environment and debugging process , and system operation are summarized . The system can achieve the CAN bus and the USB bus between the data conversion and transfer process, and, in the case with the two hosts , it is possible to complete the transparent transfer of data between two nodes . Compared to the traditional interface design , has a large advantage of the ease of use , transfer rate than decision . USB technology and fieldbus technology combined with application development is still in its infancy . CAN bus in the rapid development of the ever-increasing demands of the interface speed and versatility , as well as the USB interface will be a comprehensive alternative to the traditional interface of this inevitable trend , this research has broad prospects .

Table of contents

Chapter 1 Introduction 8-10 Chapter 2 USB bus protocol 10-18 2.1 bus topology 10-11 2.2 USB host 11 2.3 USB device 11-13 2.3.1 Hub 11 2.3.2 endpoint and pipeline 11-12 < br /> 2.3.3 device enumeration and load the driver 12 the 2.3.4 device power and hang the 12-13 2.4 USB bus protocol 13 -15 the 2.4.1 domain's type 13 2.4.2 package type 13-15 2.5 USB data transmission 15-18 2.5.1 Control Transfer (Control Transfer) 15-16 2.5.2 synchronous transmission (Isochronous Transfer) 16 2.5.3 Interrupt transfers (Interrupt Transfer ) 16 2.5.4 batch transmission (Bulk Transfer) 16-18 Chapter 3 CAN bus protocol 18-23 3.1 CAN hierarchy 18-19 3.2 CAN bus protocol 19-23 3.2.1 the type and format of the data frame 19-21 3.2. 2 encoding and sending / receiving 21 3.2.3 Media Access and arbitration the 21-22 the 3.2.4 error detection 22-23 first Chapter 4 hardware design 23-34 4.1 overall hardware description 4.2 device selection and introduction 23-27 4.3 Description of each part of the core hardware 27-32 4.3.1 address assignment are found; 27-28 4.3.2 USB interface circuit 28-29 4.3.3 CAN interface circuit 29-30 4.3.4 reset circuit 30-31 4.3.5 crystal oscillator circuit 31-32 4.4 overall circuit schematic diagram 32 4.5 printed circuit board (PCB) design and implementation 32-34 Chapter 5 software design 34-62 5.1 microcontroller firmware design 34-56 5.1.1 firmware programming ideas 34-35 the 5.1.2 data transmission process 35-36 5.1.3 system firmware structure 36 5.1.4 data structure definitions the 36-39 5.1.5 firmware specific achieve 39-49 the 5.1.6 standard equipment request processing 49-55 5.1.7 firmware preparation Note 55-56 5.2 USB driver and user control program design 56-62 5.2. USB drivers overview 56-57 5.2.2 USB drivers workflow 57 5.2.3 USB Driver Design 57-58 <br / > 5.2.4 User control procedures designed 58-62 debug the running and conclusions 62-65 Acknowledgements to References 65-66 66-70 Appendix 1 70-71 studying for a master's degree during the published papers and scientific research 71

Related dissertations

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