CN203930816U - USBYu eight road CAN converters - Google Patents

USBYu eight road CAN converters Download PDF

Info

Publication number
CN203930816U
CN203930816U CN201420338819.4U CN201420338819U CN203930816U CN 203930816 U CN203930816 U CN 203930816U CN 201420338819 U CN201420338819 U CN 201420338819U CN 203930816 U CN203930816 U CN 203930816U
Authority
CN
China
Prior art keywords
road
module
usb
controller
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201420338819.4U
Other languages
Chinese (zh)
Inventor
曲波
范道威
张同祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou University
Original Assignee
Suzhou University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou University filed Critical Suzhou University
Priority to CN201420338819.4U priority Critical patent/CN203930816U/en
Application granted granted Critical
Publication of CN203930816U publication Critical patent/CN203930816U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

The utility model discloses a kind of USBYu eight road CAN converters, comprise power module and the usb communication module, control module, interface modular converter and the CAN communication module that along data transfer direction, are connected successively setting; Described usb communication module is comprised of USB controller and the transceiver of USB interface and control module inside; Described CAN communication module You Ba road CAN controller, eight CAN transceiver He Ba road, road CAN bus interface form; Described interface modular converter is comprised of CPLD logical transition module and tristate bus line transceiver; The output of described power module+3.3V power end is connected with the power input mouth of control module and interface modular converter, described power module outlet+the power input mouth connection of 5.0 CAN controller He Ba road, V power end Yu Ba road CAN transceivers.The utility model can be realized PC and carry out two-way exchanges data by any Yi Luhuoji road CAN passage in the CAN passage on usb bus Yu Ba road.

Description

USBYu eight road CAN converters
Technical field
The utility model relates to a kind of usb bus and CAN bus switch technology, and the USB interface that is specifically related to an a kind of road can be carried out with the CAN passage on maximum eight tunnels the converter of two-way exchanges data.
Background technology
Nowadays, usb bus has become the universal interface standard of PC, for being connected and communication of standard computer and external unit, and become one of standard agreement that all PC external units are connected with PC as keyboard, mouse, display, printer, digital camera, scanner and game paddle etc., captured rapidly the market of low-speed peripheral in computing machine.Equally, CAN bus has also become ISO international standard, it is one of most widely used fieldbus in the world, be widely used in the fields such as auto industry, process control, textile machine, farm machinery, robot, medicine equipment, become the STD bus of Computer Controlled System for Vehicle and built-in industrial control area net(CAN).But the bus structure of these two kinds of networks, communication protocol and transmission feature are different, bring a lot of troubles to the connection between distinct device, thereby are badly in need of the conversion equipment between these two kinds of buses.Extensively exist in the market Shi mono-road USB to turn two-way CAN converter, do not have road USBZhuan eight road CAN converters.
Summary of the invention
Goal of the invention of the present utility model is to provide a kind of USBYu eight road CAN converters, can realize PC and carry out two-way exchanges data by any Yi Luhuoji road CAN passage in the CAN passage of usb bus Yu Ba road.
To achieve the above object of the invention, the technical solution adopted in the utility model is: a kind of USBYu eight road CAN converters, comprise power module and the usb communication module, control module, interface modular converter and the CAN communication module that along data transfer direction, are connected successively setting;
Described usb communication module is comprised of USB controller and the transceiver of USB interface and control module inside;
Described CAN communication module You Ba road CAN controller, eight CAN transceiver He Ba road, road CAN bus interface form;
Described interface modular converter is comprised of CPLD logical transition module and tristate bus line transceiver;
The output of described power module+3.3V power end is connected with the power input mouth of control module and interface modular converter, described power module outlet+the power input mouth connection of 5.0 CAN controller He Ba road, V power end Yu Ba road CAN transceivers.
In technique scheme, described eight road CAN controllers comprise eight SJA1000 chips.
In technique scheme, described eight road CAN transceivers comprise TJA1050 chip.
In technique scheme, described control module comprises micro controller module, and described micro controller module is comprised of microprocessor S3C2440, SDRAM and NandFlash.
In technique scheme, the function that described interface modular converter mainly completes is: by the address wire of microprocessor is carried out to decoding, carry out the expansion of multi-channel-CAN; Complete the non-multiplex bus of address date of microprocessor to the bi-directional conversion of the address date multiplex bus of CAN controller; Carry out level conversion, the logic level of microprocessor 3.3V and CAN controller 5V logic level are changed.
The principle of work of technique scheme is: after one or more CAN passage that user selects to read and write on PC, PC is sent to usb communication module by usb bus by the usb data bag of the channel information that contains CAN, then usb communication module sends to control module by the channel information obtaining after this usb data bag decompress(ion), then control module is sent to interface modular converter by this channel information, interface modular converter is according to the selected CAN communication module that will read and write of the content of channel information, and last CAN communication module is opened corresponding CAN bus.User just can send user data to corresponding CAN passage, and it is read and write data.Thereby the selection of interface modular converter Dui Ba road CAN passage and the read-write of data have been realized.Meanwhile, a certain road or a few Lu Yaoxiang PC in the detection eight road CAN passages that PC can be real-time transmit data.
Because technique scheme is used, the utility model compared with prior art has following advantages:
The utility model adopts interface modular converter to carry out the sheet choosing of eight road CAN passages and the read-write of data, can overcome the less deficiency of CAN passage that existing USB-CAN converter provides, realize PC and carry out two-way exchanges data by any Yi Luhuoji road CAN passage in the CAN passage on usb bus Yu Ba road.
Accompanying drawing explanation
Fig. 1 is hardware block diagram of the present utility model in embodiment mono-.
Fig. 2 is the hardware block diagram of interface modular converter of the present utility model in embodiment mono-.
Fig. 3 is CAN channel interface drawing in side sectional elevation of the present utility model in embodiment mono-.
Embodiment
Below in conjunction with drawings and Examples, the utility model is further described:
Embodiment mono-: shown in Figure 1, a kind of USBYu eight road CAN converters, comprise power module and the usb communication module, control module, interface modular converter and the CAN communication module that along data transfer direction, are connected successively setting; Described usb communication module is comprised of USB controller and the transceiver of USB interface and control module inside; Described CAN communication module You Ba road CAN controller, eight CAN transceiver He Ba road, road CAN bus interface form, chip SJA1000 and peripheral circuit thereof that described eight road CAN controller You Bage Philips companies produce form, and chip TJA1050 and peripheral circuit thereof that described eight road CAN transceivers are produced by Philips company form; Described control module comprises micro controller module, and described micro controller module is comprised of microprocessor S3C2440, SDRAM and NandFlash; Described interface modular converter is comprised of CPLD logical transition module and tristate bus line transceiver.
Described power module is by the Power supply between outside 8V~12V, by be converted to+3.3V of voltage stabilizing chip and+two kinds of voltages of 5.0V, described+3.3V voltage is supplied with micro controller module and interface modular converter, and described+5.0V voltage is supplied with eight CAN controller He Ba road, road CAN transceivers.
Described interface modular converter mainly completes the non-multiplex bus of address date of microprocessor to the bi-directional conversion of the address date multiplex bus of CAN controller.Described bi-directional conversion be mainly the place, certain address to microprocessor memory address space the register mappings of each CAN controller, by internal storage access instruction, the internal register of access CAN controller.
Described USB interface is for being connected PC with the utility model.
Described eight road CAN bus interface are used for outside CAN equipment connection to the utility model.
Shown in Figure 2, microprocessor is by the internal register of internal storage access instruction access CAN controller.During microprocessor access internal memory, read enable signal line RE, write enable signal line WE, chip selection signal line nGCS2, address wire A[0 ... 5] will be after CPLD logical transition module could with the address latch signal line ALE of CAN controller, chip selection signal line CS[0 ... 7], reading signal lines RD, write signal line WR is connected, data line D[0 during microprocessor access internal memory ... 7] to after tri-state data collector, could be connected with CAN controller data address bus.Microprocessor completes the once read-write of CAN controller by twice read-write operation, by the low 6 bit address line A0-A5 of microprocessor, controlled and selected the read-write control signal RD of CAN controller and the chip selection signal CS of WRJi eight road CAN.Use odd address to select port, with even address, transmit data.Take read-write cycle of SJA1000 is example, first by microprocessor output function address, described operation address arrives the AD[0 of CAN controller through tri-state data collector ... 7], in bus, ALE latch signal is effective simultaneously, and operation address is write in CAN controller when negative edge; Microprocessor sends read-write and carries out data transmission afterwards, and described data arrive the AD[0 of CAN controller through tri-state data collector ... 7] in bus, and when ALE negative edge, data are write in CAN controller.
Shown in Figure 3, first user is connected to PC by USB interface by usb bus, then Jiang Yi road Huo Ji road CAN equipment connection is on CAN bus interface, wherein the CANH on CAN equipment to be connected to CANHn(n corresponding to the present invention be in 1 to 8) on, it is in 1 to 8 that CANL on CAN equipment is connected to CANLn(n corresponding to the present invention) upper, finally power module is connected to the external power source between outside 8~12V.Like this, just can realize PC and CAN equipment carries out exchanges data by the utility model.
When user will be to some or several (maximum eight) CAN equipment sending data, first PC will select CAN equipment, its process is: PC sends to USB interface by usb bus by the usb data bag of the channel information that comprises CAN, microprocessor reads usb data bag from USB interface, and the channel information of CAN will be extracted after usb data bag decompress(ion), then microprocessor sends to interface modular converter by described CAN channel information, and interface modular converter is according to the selected CAN controller that will read and write of the content of channel information.Then, PC just can be to appointment CAN equipment sending data, its process is: PC sends to USB interface by usb data bag, then microprocessor reads described usb data bag from USB interface, and the data that will be written to CAN equipment will be extracted after usb data bag decompress(ion), then microprocessor sends to interface modular converter by described data, interface modular converter sends to CAN controller by described data, CAN controller is packaged into CAN Packet Generation to CAN transceiver by described data, and CAN transceiver will send to CAN equipment after processing data packets.
When a certain road CAN equipment will send data to PC, described a certain road CAN equipment arrives corresponding CAN transceiver by CAN Packet Generation; Then CAN transceiver by described CAN Packet Generation to CAN controller; CAN controller sends an interrupting information to interface modular converter after receiving packet, and while CAN controller carries out decompress(ion) by described CAN packet and obtains CAN data; Interface modular converter will send a channel information to microprocessor after receiving described interrupting information on the one hand, and interface modular converter reads described CAN data from corresponding CAN controller on the other hand; Microprocessor receives that described channel information being packaged into usb data bag after described channel information sends to USB interface, and the CAN data in fetch interface modular converter; Finally, microprocessor is packaged into usb data bag by described CAN data and sends to USB interface.

Claims (4)

1. USBYu eight road CAN converters, is characterized in that: comprise power module and the usb communication module, control module, interface modular converter and the CAN communication module that along data transfer direction, are connected successively setting;
Described usb communication module is comprised of USB controller and the transceiver of USB interface and control module inside;
Described CAN communication module You Ba road CAN controller, eight CAN transceiver He Ba road, road CAN bus interface form;
Described interface modular converter is comprised of CPLD logical transition module and tristate bus line transceiver;
The output of described power module+3.3V power end is connected with the power input mouth of control module and interface modular converter, described power module outlet+the power input mouth connection of 5.0 CAN controller He Ba road, V power end Yu Ba road CAN transceivers.
2. a kind of USBYu eight road CAN converters according to claim 1, is characterized in that: described eight road CAN controllers comprise eight SJA1000 chips.
3. a kind of USBYu eight road CAN converters according to claim 1, is characterized in that: described eight road CAN transceivers comprise TJA1050 chip.
4. a kind of USBYu eight road CAN converters according to claim 1, is characterized in that: described control module comprises micro controller module, and described micro controller module is comprised of microprocessor S3C2440, SDRAM and NandFlash.
CN201420338819.4U 2014-06-24 2014-06-24 USBYu eight road CAN converters Expired - Fee Related CN203930816U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201420338819.4U CN203930816U (en) 2014-06-24 2014-06-24 USBYu eight road CAN converters

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201420338819.4U CN203930816U (en) 2014-06-24 2014-06-24 USBYu eight road CAN converters

Publications (1)

Publication Number Publication Date
CN203930816U true CN203930816U (en) 2014-11-05

Family

ID=51826594

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201420338819.4U Expired - Fee Related CN203930816U (en) 2014-06-24 2014-06-24 USBYu eight road CAN converters

Country Status (1)

Country Link
CN (1) CN203930816U (en)

Similar Documents

Publication Publication Date Title
CN103095538B (en) Multi-class industrial Ethernet bus integrated master station
CN110471872B (en) System and method for realizing M-LVDS bus data interaction based on ZYNQ chip
CN203812236U (en) Data exchange system based on processor and field programmable gate array
CN102841869B (en) Multi-channel I2C controller based on FPGA
CN101087235A (en) A FPGA-based multi-functional communication interface conversion device and method
CN102540982B (en) Motion control card and motion control method
CN103901814B (en) A kind of multiaxial motion digital control system
CN100524269C (en) Method and device to realize data read-write control in burst mechanism
CN109634901A (en) A kind of data transmission system and its control method based on UART
CN102637453A (en) Phase change memory including serial input/output interface
CN210222744U (en) Master-slave equipment switching device and terminal equipment based on USB _ OTG mode
CN203720837U (en) Unibus for master-slave device communication
CN101430739B (en) System and method for parameter collocation of integrated chip
CN101950037B (en) Safety inspection system with embedded Ethernet transmission based on SOPC
CN101778038B (en) Gigabit Ethernet-based high-speed data transmission system of embedded equipment
CN101655825B (en) Device for achieving LPC-USB two-way communication by using FPGA and data conversion method of LPC-US and USB-LPC
CN203930816U (en) USBYu eight road CAN converters
CN201754277U (en) Data exchange processing device based on PCI-E
CN203950307U (en) Based on the SAR parallel processing apparatus of high-performance BW100 chip
CN203251321U (en) Communication conversion device between CAN bus and 1553B bus
CN105550133A (en) AXIS-FIFO bridge circuit based on ZYNQ and data transmission method using same
CN201812284U (en) Memory interface
CN201662798U (en) Port mapping device conversion device and control system
CN210155653U (en) Device for realizing M-LVDS bus data interaction based on ZYNQ chip
CN210402342U (en) Data encryption and decryption structure based on ZYNQ

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20141105

Termination date: 20170624