Font Size: a A A

Based On The Can Bus Line Programming Techniques

Posted on:2012-11-24Degree:MasterType:Thesis
Country:ChinaCandidate:Z L DaiFull Text:PDF
GTID:2208330335479980Subject:Detection Technology and Automation
Abstract/Summary:PDF Full Text Request
With the rapid development of science and technology, advanced intelligent control technology has been widely used in construction vehicles and construction machinery. Because CAN-bus technology has been used in the field of vehicle and machine control, the electrical control problems which large-scale use of electronic control units brought has been solved. A revolutionary change has been brought in construction vehicles and construction machinery.In the new product development process of construction vehicles and machinery, Because the parameters of the controller and other equipment changes more often and the controller is not easy to disassemble and other reasons, the traditional method of removing the controller has been unable to meet the update control program needs of construction vehicle and engineering at present. Online programming has been introduced and the controller-line programming has been achieved by using control system CAN bus network. It can greatly improve product development efficiency and save development costs. Therefore, It has great significance, which the research and development of controller-line programming technology has been achieved.After on-line programming and CAN bus communication technology have been studied in this article, on-line programming system design plan is proposed. CAN bus network master and slave nodes which communicate by using CAN bus have been designed The CAN communication protocol standard frame type data frame format has been studied and the CAN bus application layer protocol has been customized.Software and hardware design of the on-line programming system has been finished in this thesis.On hardware, the function which the master and slave achieved nodes has been defined, the circuit and working principle design have been described and a hardware device which the system needs has been selected. The CAN network slave nodes have been built by using C8051F040 and SN65HVD230. The master node has been constructed with the PC machine and USBCAN-I protocol converter.On software, online programming system guide programs and user applications have been designed. The system compiled, HEX file decoding process, CAN network communication baud rate calculations and data validation code generation have been completed on the master nodes. CAN communication module, Flash memory module design and code verification module design have been completed on slave node. The CAN communication module subroutine include: handshake procedures, ID setup program, the interrupt service routine, send program, the receiving program and code validation. Flash memory modules include: Flash erase procedure, Flash Write program and jump program while the download is complete.Finally, on-line programming system debugged by building test circuits and using CANTest and other software tools. The result shows that: the system design is reasonable. The thesis has been summarized, the main works have been introduced and the characteristics and significance have been described. Meanwhile, for the shortcomings of the system design, the improved method which made preparations for the further study of the subject has been proposed.
Keywords/Search Tags:Online Programming, C8051F040, CAN Bus, Flash Memory
PDF Full Text Request
Related items