Font Size: a A A

USB-CAN Data Conversion Research And The Application In The Explosive-handling Robot

Posted on:2013-02-05Degree:MasterType:Thesis
Country:ChinaCandidate:S Y LiFull Text:PDF
GTID:2218330374451750Subject:Communication and Information System
Abstract/Summary:PDF Full Text Request
For the use of CAN and PC connectivity,CAN to serial is more in the current market, but compared to the versatility of USB, serial port is not enough. About communication port, USB to serial is more than others. CAN interface adapter complex, in practical applications build the CAN bus network and a PC connection cumbersome, poor compatibility, and not easy to carry. USB has hot-swappable, easy to carry, standardization, and can connect multiple devices, etc., to make up for the inadequacies of the CAN, a combination of both, CAN compensate for the restrictions on the USB transmission distance. If we can achieve the conversion of USB to CAN, it has great significance. The combination is very favorable for the development of the field of automatic control, easy to establish efficiency,larger, more practical control bus network in the future.About hardware, use CP2101connection to the STM32for protocol conversion in this article, it easily implement a UART to USB conversion, and then use CAN controller in the STM32to build CAN related functions. With USB2.0interface and CAN interface, can implement two-way transmission. In this paper, I use multi-threaded implementation to design the lower machine part, the lower machine to be able to freely send and receive CAN data, and can be used as a standard CAN nodes, to used in the CAN bus device testing, product development and data analysis of the CAN bus. Used it, the PC via a USB interface to connect a standard CAN bus network, to be used to build fieldbus test laboratory, industrial control, intelligent buildings, automotive electronics and other fields in these areas, data communication, data acquisition and data processing and so on. At the same time, it is a powerful tool for CAN data analysis and product development of the CAN bus. This machine, small size, plug and play, is the best choice for users of portable systems. This article uses C++Builder to design appropriate host computer. The host computer can send and receive CAN data, it can also send a custom CAN data, in the form of text or graphics to display receive data, but also can view multiple interface the receive, accordingly, users can easily compare a variety of data. It automatically saved user's configuration and operation information each time. Directly through the PC to configure the CAN bus, send and receive. When configuration is complete, even if the users do not understand the complexities of USB protocol, users can also use the software to easily develop application software products CAN system, greatly reduces the difficulty of USB development. Finally, use the protocol conversion system to control EOD robots, EOD robots and PC connection through this machine, using the PC side of the host computer to send commands to control EOD robots.
Keywords/Search Tags:data conversion, USB2.0protocol, CAN2.0standards, PC, EOD robot
PDF Full Text Request
Related items