Font Size: a A A

Design And Implement Of CAN Bus Data Recorder

Posted on:2019-04-12Degree:MasterType:Thesis
Country:ChinaCandidate:L Y JianFull Text:PDF
GTID:2348330569995596Subject:Engineering
Abstract/Summary:PDF Full Text Request
The CAN bus is one of the most widely used field buses in the world.It is not only used in automotive control systems,but also used in many control systems such as industry,agriculture,medical care,navigation,and aerospace.In various control systems,the CAN bus connects the detection module,the execution module,and the control module for efficient data transmission and control command transmission.In the early stage of system development,medium-term system monitoring and later system maintenance,the accuracy and reliability of the communication data between modules and the operation of each component are determined by recording and analyzing the CAN bus data.The CAN bus data recorder designed in this paper can record CAN bus data according to the user's requirements(configured baud rate,filter conditions,record file size,recording mode,trigger conditions,timing record,etc.).The user can perform playback viewing,data editing,and data deletion on the recorded CAN bus data files on the PC.The main research contents of this paper are as follows:a)Analyze the software design requirements of the CAN bus data logger and design the software system structure of the CAN bus data logger.b)Study the SD card communication protocol,I2 C bus communication protocol,USB bus communication protocol and CAN bus communication protocol,check the relevant chip manuals,and write the functions that drive the hardware to implement the corresponding functions.c)Research and port the operating system ?C/OS-III to achieve task management,resource management,time management,task synchronization and message delivery.d)Study and transplant the file system FATFS to implement management of recorded CAN bus data in the form of files.e)Design and implementation of acquisition/storage tasks,configuration/playback tasks,power tasks,and time tasks based on software design requirements.f)Build a test platform to complete the functional test,versatility test,and record data integrity test of the CAN bus data logger.The CAN bus data logger has the advantages of low cost,small size,large storage capacity,simple operation,complete functions,strong versatility,complete records,etc.It can meet the requirements of various control systems and reduce the burden of test record personnel.The application prospect and use value.
Keywords/Search Tags:CAN bus data recorder, operating system ?C/OS-?, file system FATFS
PDF Full Text Request
Related items