Font Size: a A A

The Design Of CAN Analyzer

Posted on:2013-02-23Degree:MasterType:Thesis
Country:ChinaCandidate:J DongFull Text:PDF
GTID:2248330395475413Subject:Control Engineering
Abstract/Summary:PDF Full Text Request
As a general bus analysis equipment, CAN bus analyzer has the important position in theresearch and application fields of CAN bus. Thus, a portable CAN bus analyzer based onUSB interface, with a variety of analysis function, two CAN channels, strong real-timeperformance, and high precision is developed in this thesis.Firstly, the design goal of our analyzer is proposed. It is that CAN bus analyzer must havethe basic function, easy to use and be commonality, portability, and expansibility. Accordingto the design goal, the analyzer is mainly composed of master controller module, CANinterface module and USB interface module. We choose STM32F105RTC processor as themaster controller.Secondly, CAN bus analyzer hardware circuit is divided into USB interface circuitdesign, controller processing hardware circuit design and CAN interface circuit designaccording to the plan. As the main controller STM32F105RTC has included the CANcontroller and USB controller internally, the design of analyzer hardware circuit requires onlya small number of chip selection and peripheral circuit.Next, it is firmware design. This part is the core of the design. It is divided into twoparts, one is the CAN communication interface of software design, and the other is the USBcommunication interface of the software design. For CAN communication interface ofsoftware design, this paper gives its description on three aspects, which is CAN initialize,CAN data transceiver procedures and design of time stamp.Thirdly, the design of CAN bus analyzer of PC software design is introduced in detailed.PC software design includes the device driver and application program development. Devicedriver development is refers to the custom USB device and its driver development.Application includes data processing, database development and PC machine interface designthree parts.Finally, it is the system simulation test, which includes system function test, the wholesystem of real-time test and protocol analysis test.
Keywords/Search Tags:CAN analyzer, USB, The design of PC software, SAE J1939
PDF Full Text Request
Related items