Font Size: a A A

Design And Implementation Of USB-CAN、1553B Converter Based On FPGA

Posted on:2017-01-18Degree:MasterType:Thesis
Country:ChinaCandidate:M Z ZhangFull Text:PDF
GTID:2308330482494731Subject:Software engineering
Abstract/Summary:PDF Full Text Request
1553B bus, full name is MIL-STD-1553 B, it’s a kind of distributed processing, centralized control of master-slave bus, has some characteristics such as response of real-time, fault tolerance, and stable performance. Early airborne equipment is relatively independent, this can make complicated equipment connecting wiring harness, and produce a series of malpractices. 1553 B bus improves the wiring harness complex problems, with the development of the bus, has been widely used in aviation, space exploration, fire control system, as well as various high scenario to stability requirement.CAN bus is an outstanding representative of the bus in industrial field, has developed rapidly since it birth, with the outbreak development of the auto industry, the application of CAN bus is more popular. As the CAN bus has a good stability, high data transfer rate etc, its application scenario is not limited to, automotive electronics, and gradually be promotion at the scene of the industry, and aerospace and other fields.USB bus is a standard interface between a computer and operipheral equipment, it has an extremely high transmission rate(in the latest USB3.1 standard, the rate up to 10 Gbps). USB bus has such characteristics as compact design, support hot plug, plug and play, good compatibility, saving system resources, now, in all computer devices using the USB interface.With the rapidly development of industrial control, data interaction and sharing is more and more demand between devices, but under normal circumstances, the interface between equipment is different. Some in order to reduce costs, and some for specific purposes, some for the upgrading of equipment itself, in these cases the interface is out of date now. Because of the difference of the network structure and relative independence, the underlying protocol makes it hard for network and information exchange between operation. At the same time, most of the underlying network is closed, the extension ability is limited, this situation to a certain extent, restrict the development and application of industrial bus. Industrial bus service for the embedded system, the system often need to upload the data to the PC for monitoring, save the data or real-time interaction, to solve the above problems, this paper proposes a(XC6SLX75) as the main controller based on FPGA and ARM(STM32F105VCT6) as CAN bus controller, the controller CY7C68013 as USB bus and BU61580 as 1553 B bus controller protocol conversion equipment. The protocol conversion module, obtained the data on the 1553 B bus and CAN bus, and interpreted by the FPGA, and reseal packet, the final summary on the USB interface is uploaded to the computer, at the same time CAN also be sent to PC through USB interface data parsed into corresponding CAN bus messages or 1553 B bus message is sent to the corresponding bus. Completed the traditional USB- CAN and USB-1553 B protocol conversion function, and through the PC software for data analysis and heavy encapsulation, indirect achieved 1553B- CAN bus data transfer function. Can be realized through the computer remote control, remote monitoring, and other functions, provided the underlying basis for the further access to the Internet.In this paper, the CAN bus, MIL- STD- 1553 B bus and USB bus in-depth study, through summarizing different protocol data, cache, and increasing order code, realize different bus message of decoding and encoding way, make the computer through the USB interface CAN easily identify various bus message, and CAN be issued by the corresponding bus packet to the bus. Considering the characteristics of 1553 B bus and CAN bus are relatively independent, the system USES the FPGA parallel computing, the characteristics of 1553 B bus and CAN bus transceiver split into two relatively independent modules, noninterference, formally based on this design, two data bus broke out when a large amount of data at the same time will not cause data packet loss because of the data block, to ensure the feasibility of acquisition system on principle.Finally, in view of the objective function, fully tested, not only for the FPGA module function simulation step by step, and using the mature simulation equipment set up test environment, through the actual test data for the functional test and stress test, the design is verified by the correctness of the module function and the stability of the module performance.
Keywords/Search Tags:CAN, 1553B, USB, Protocol conversion
PDF Full Text Request
Related items