CN113722252A - Communication protocol converter for mutual conversion between USB (Universal Serial bus), multi-channel serial port and CAN (controller area network) bus - Google Patents
Communication protocol converter for mutual conversion between USB (Universal Serial bus), multi-channel serial port and CAN (controller area network) bus Download PDFInfo
- Publication number
- CN113722252A CN113722252A CN202110935155.4A CN202110935155A CN113722252A CN 113722252 A CN113722252 A CN 113722252A CN 202110935155 A CN202110935155 A CN 202110935155A CN 113722252 A CN113722252 A CN 113722252A
- Authority
- CN
- China
- Prior art keywords
- pin
- serial port
- usb
- chip
- chip microcomputer
- 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.)
- Pending
Links
- 238000006243 chemical reaction Methods 0.000 title claims abstract description 32
- 230000006854 communication Effects 0.000 title claims abstract description 17
- 238000004891 communication Methods 0.000 title claims abstract description 17
- 101150008604 CAN1 gene Proteins 0.000 claims abstract description 27
- 101150063504 CAN2 gene Proteins 0.000 claims abstract description 25
- 238000011084 recovery Methods 0.000 claims description 9
- 238000010586 diagram Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 238000002955 isolation Methods 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 229910000838 Al alloy Inorganic materials 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007175 bidirectional communication Effects 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- PCHJSUWPFVWCPO-UHFFFAOYSA-N gold Chemical compound [Au] PCHJSUWPFVWCPO-UHFFFAOYSA-N 0.000 description 1
- 239000010931 gold Substances 0.000 description 1
- 229910052737 gold Inorganic materials 0.000 description 1
- 238000007654 immersion Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000002035 prolonged effect Effects 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/382—Information transfer, e.g. on bus using universal interface adapter
- G06F13/385—Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4004—Coupling between buses
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0002—Serial port, e.g. RS232C
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0042—Universal serial bus [USB]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Information Transfer Systems (AREA)
- Power Sources (AREA)
Abstract
The invention discloses a communication protocol converter for mutual conversion between a USB (universal serial bus), a multi-channel serial port and a CAN (controller area network) bus, which comprises a power chip, a single chip microcomputer, a CAN1 bus driver, a CAN2 bus driver, a USB-to-serial port chip and a USB-TYPE-A interface, wherein the USB-TYPE-A interface is electrically connected with the power chip, the power chip is respectively and electrically connected with the single chip microcomputer, the CAN1 bus driver, the CAN2 bus driver and the USB to-serial port chip, and the single chip microcomputer is respectively and communicatively connected with the CAN1 bus driver, the CAN2 bus driver and the USB to-serial port chip; the CAN1 bus driver and the CAN2 bus driver respectively convert the data link layer signals of the single chip microcomputer into physical layer signals. The invention comprises two CAN buses and 4 serial ports, and CAN be switched to communicate with each other at will; the CAN bus CAN be converted into a serial port, CAN also be converted into a USB interface, and CAN output the USB and the serial port simultaneously; any one of the 5 serial ports can be used as a log output port; and the output of one USB to 5 serial ports can be realized.
Description
Technical Field
The invention relates to a communication protocol converter for mutual conversion between a USB (universal serial bus) and a multi-channel serial port and a CAN (controller area network) bus, belonging to the technical field of converter design.
Background
A common serial port-to-CAN bus communication protocol conversion module in the market, namely a CANCOM-100IE + three-in-one industrial intelligent protocol converter CAN quickly connect RS-232/485/422 communication equipment to a CAN-bus field bus to realize bidirectional communication. The converter supports the serial port speed of 600-230400 bps and the CAN-bus communication speed of 5 Kbps-1 Mbps. The converter provides three data conversion modes: transparent conversion, transparent tape identification conversion and format conversion, and meets the requirements of different clients. The interfaces of the CAN interface are all designed in industrial grade, and the CAN interface is provided with a magnetic coupling isolation module, so that the CAN interface is prevented from being damaged by ground circulation, has strong antistatic and surge capacity and CAN be used in severe environment.
The existing USBCAN-IIPro CAN realize bidirectional data transmission of a bus, a special industrial-grade high-speed 32-bit CPU is used, and the receiving and sending speed is higher than 8000 frames/second (when the Baud rate of a CAN card bus reaches 1M, the data frames sent by the bus in full are not lost). The standard frame/extended frame/data frame/remote frame conforms to the ISO11898 standard and supports the CAN2.0A/B format. The four-layer immersion gold process circuit board enhances the overcurrent protection of the USB interface (overcurrent transient protection devices are added at the power interface, and the protection performance of the USB interface is greatly improved). The EMI anti-interference capability of the CAN bus is enhanced, and the product passes the test of a CiA (CAN-in-Automation) electromagnetic interference test to ensure that the module CAN normally communicate under certain interference. The production process is strictly controlled, and all components adopt international famous brands (the service life of products is prolonged). The embedded real-time operating system can remotely upgrade the firmware program, and a user can upgrade the chip firmware program by himself. (can be degraded into the old version kernel at any time, one device never becomes outdated)
The pure aluminum alloy shell is stable and anti-interference, and the terminal interface is convenient to debug. Industrial grade main chip, CAN end interface adopt the magnetic coupling isolation mode, guarantee that the module is not damaged when the CAN end sneaks into high voltage, increase of service life. The module is provided with GND and PE interfaces, and normal communication of the module can be realized in an environment with serious interference when the module is connected.
The product driver passes Microsoft digital signature authentication and can be used in
And a 32/64 bit operating system such as win98/xp/2000/2003/7/8/10 and the like is installed and used. 32/64 bit Linux system based on X86 kernel can be supported. The CAN card CAN be used in a plug-and-play manner, is suitable for field debugging and CAN detect the state of a CAN network.
Disclosure of Invention
The shortcomings of the prior art and the technical problems to be solved by the proposal of the application are as follows: 1. although the existing CAN protocol conversion equipment supports RS485/RS232/TTL, only one serial port and one CAN bus generally CAN not meet the requirement of multiple paths, and the invention comprises two CAN buses and 4 serial ports which CAN be converted and communicated with each other at will; 2. the CAN bus of the invention CAN be converted into a serial port, CAN also be converted into a USB interface, and CAN also be simultaneously output by the USB and the serial port; 3. the existing product can not know the working state in the working process, and has no system log output, and the invention can use any one of 5 paths of serial ports as a log output port; 4. the existing product can not realize the function of converting USB into serial port, and the invention converts one path of USB into 5 paths of serial port for output.
The invention aims to overcome the technical defects in the prior art, solve the technical problems and provide a communication protocol converter for mutual conversion between a USB (universal serial bus) and a multi-channel serial port and CAN (controller area network) bus.
The invention specifically adopts the following technical scheme: a communication protocol converter for mutual conversion between a USB (universal serial bus) and a multi-channel serial port and a CAN (controller area network) bus comprises a power chip, a single chip microcomputer, a CAN1 bus driver, a CAN2 bus driver, a USB-TYPE-A interface and a USB-TYPE-A interface, wherein the USB-TYPE-A interface is electrically connected with the power chip, the power chip is respectively electrically connected with the single chip microcomputer, the CAN1 bus driver, the CAN2 bus driver and the USB-TYPE-A interface, and the single chip microcomputer is respectively in communication connection with the CAN1 bus driver, the CAN2 bus driver and the USB-TYPE-A interface; the CAN1 bus driver and the CAN2 bus driver respectively convert the data link layer signals of the single chip microcomputer into non-physical layer signals.
As a preferred embodiment, the power chip includes a self-recovery fuse F1 and a voltage conversion chip U6, one end of the self-recovery fuse F1 is connected to the USB-TYPE-a interface, the other end of the self-recovery fuse F1 is connected to a system power supply, and the system power supply supplies power to the two CAN bus drivers and an external serial port; the system power supply obtains a voltage division power supply through a VOUT1 end and a VOUT2 end which are connected with the voltage conversion chip U6, and the voltage division power supply is respectively connected with the single chip microcomputer and the USB serial port conversion chip for supplying power.
In a preferred embodiment, the system power supply is 5V.
In a preferred embodiment, the voltage-dividing power supply is 3.3V.
As a preferred embodiment, the single chip microcomputer adopts a 32-bit STM32F105RCT6 type single chip microcomputer.
As a preferred embodiment, the pin 42 and the pin 43 of the STM32F105RCT6 type single chip microcomputer are respectively connected to a USART1_ TX end and a USART1_ RX end of a serial port J4, the pin 16 and the pin 17 of the STM32F105RCT6 type single chip microcomputer are respectively connected to a USART2_ TX end and a USART2_ RX end of a serial port J5, the pin 29 and the pin 30 of the STM32F105RCT6 type single chip microcomputer are respectively connected to a USART3_ TX end and a USART3_ RX end of a serial port J6, the pin 51 and the pin 52 of the STM32F105RCT6 type single chip microcomputer are respectively connected to a USART4_ TX end and a USART4_ RX end of a serial port J7, and the pin 53 and the pin 54 of the STM32 RCT6 type single chip microcomputer are respectively connected to a USART1_ TX end and a USART1_ RX end of a serial port 7J 4; a No. 19 pin of the STM32F105RCT6 type singlechip is electrically connected with the output end of the power supply chip; the No. 45 pin and the No. 44 pin of the STM32F105RCT6 type single chip microcomputer are respectively connected with a CAN1_ TX end and a CAN1_ RX end of a CAN1 bus driver, and the No. 34 pin and the No. 33 pin of the STM32F105RCT6 type single chip microcomputer are respectively connected with a CAN2_ TX end and a CAN2_ RX end of a CAN2 bus driver; no. 62 pin and No. 61 pin of the STM32F105RCT6 type single chip microcomputer are respectively connected with the RE _ CAN1_ TX end and the RE _ CAN1_ RX end of a CAN1 bus driver, and No. 57 pin and No. 58 pin of the STM32F105RCT6 type single chip microcomputer are respectively connected with the CAN2_ TXR end and the CAN2_ RXR end of a CAN2 bus driver.
As a preferred embodiment, the CAN1 driver includes a CAN driver chip U1, pin No. 1 of the CAN driver chip U1 is connected to pin No. 45 and pin No. 62 of the STM32F105RCT6 type single chip microcomputer, and pin No. 4 of the CAN driver chip U1 is connected to pin No. 44 and pin No. 61 of the STM32F105RCT6 type single chip microcomputer; and the No. 6 pin and the No. 7 pin of the CAN driving chip U1 are respectively connected with the No. 2 pin and the No. 1 pin of the serial port J1.
As a preferred embodiment, the CAN2 driver includes a CAN driver chip U2, pin No. 1 of the CAN driver chip U2 is connected to pin No. 34 and pin No. 57 of the STM32F105RCT6 type single chip microcomputer, and pin No. 4 of the CAN driver chip U2 is connected to pin No. 33 and pin No. 58 of the STM32F105RCT6 type single chip microcomputer, respectively; and the No. 6 pin and the No. 7 pin of the CAN driving chip U2 are respectively connected with the No. 4 pin and the No. 3 pin of the serial port J1.
As a better embodiment, the USB-to-serial port chip comprises a serial port chip U3 and a USB-211-BCW chip, wherein a pin No. 2 and a pin No. 3 of the serial port chip U3 are respectively connected with a USART1_ TX end and a USART1_ RX end of a serial port J4; no. 5 pin and No. 6 pin of the serial port conversion chip U3 are respectively connected with No. 3 pin and No. 2 pin of the USB-211-BCW chip, and No. 7 pin and No. 8 pin of the serial port conversion chip U3 are respectively connected with a USB data output interface XI and a USB data output interface XO.
In a preferred embodiment, the model of the serial port conversion chip U3 is CH340 GSOP-16.
The beneficial effects that reach: 1. the invention comprises two CAN buses and 4 serial ports which CAN be switched and communicated with each other at will; 2. the CAN bus CAN be converted into a serial port, CAN also be converted into a USB interface, and CAN also be simultaneously output by the USB and the serial port; 3. any one of the 5 paths of serial ports can be used as a log output port; 4. the invention can realize the conversion of one path of USB to 5 paths of serial output.
Drawings
FIG. 1 is a schematic circuit diagram of a power chip of the present invention;
FIG. 2 is a schematic circuit connection diagram of the single-chip microcomputer of the present invention;
FIG. 3 is a schematic diagram of the electrical connection of the CAN1 bus driver of the present invention to the CAN1 bus driver;
FIG. 4 is a schematic diagram of the circuit connection of the USB-to-serial port chip according to the present invention.
Detailed Description
The invention is further described below with reference to the accompanying drawings. The following examples are only for illustrating the technical solutions of the present invention more clearly, and the protection scope of the present invention is not limited thereby.
Example 1: the invention provides a communication protocol converter for mutual conversion between a USB (universal serial bus), a multi-channel serial port and a CAN (controller area network) bus, which comprises a power chip, a single chip microcomputer, a CAN1 bus driver, a CAN2 bus driver, a USB-to-serial port chip and a USB-TYPE-A interface, wherein the USB-TYPE-A interface is electrically connected with the power chip, the power chip is respectively and electrically connected with the single chip microcomputer, the CAN1 bus driver, the CAN2 bus driver and the USB to-serial port chip, and the single chip microcomputer is respectively and communicatively connected with the CAN1 bus driver, the CAN2 bus driver and the USB to-serial port chip; the CAN1 bus driver and the CAN2 bus driver respectively convert the data link layer signals of the single chip microcomputer into non-physical layer signals.
Example 2: as shown in fig. 1, the power chip includes a self-recovery fuse F1 and a voltage conversion chip U6, one end of the self-recovery fuse F1 is connected to the USB-TYPE-a interface, the other end of the self-recovery fuse F1 is connected to a system power supply, and the system power supply supplies power to the two CAN bus drivers and an external serial port; the system power supply obtains a voltage division power supply through a VOUT1 end and a VOUT2 end which are connected with the voltage conversion chip U6, and the voltage division power supply is respectively connected with the single chip microcomputer and the USB serial port conversion chip for supplying power.
In a preferred embodiment, the system power supply is 5V.
As a preferred embodiment, the voltage-dividing power supply is 3.3V, as in embodiment 1.
Example 3: as shown in fig. 2, the single chip microcomputer is a 32-bit STM32F105RCT6 single chip microcomputer, pins 42 and 43 of the STM32F105RCT6 single chip microcomputer are respectively connected to a USART1_ TX end and a USART1_ RX end of a serial port J4, pins 16 and 17 of the STM32F105RCT6 single chip microcomputer are respectively connected to a USART2_ TX end and a USART2_ RX end of a serial port J5, pins 29 and 30 of the STM32F105RCT6 single chip microcomputer are respectively connected to a USART3_ TX end and a USART3_ RX end of a serial port J6, pins 51 and 52 of the STM32F105RCT6 single chip microcomputer are respectively connected to a USART4_ TX end and a USART4_ RX end of a serial port 7, and pins 53 and 54 of the STM32F105RCT6 single chip microcomputer are respectively connected to a USART 3927 _ TX end and a USART1 end of a serial port J35j 4642; a No. 19 pin of the STM32F105RCT6 type singlechip is electrically connected with the output end of the power supply chip; the No. 45 pin and the No. 44 pin of the STM32F105RCT6 type single chip microcomputer are respectively connected with a CAN1_ TX end and a CAN1_ RX end of a CAN1 bus driver, and the No. 34 pin and the No. 33 pin of the STM32F105RCT6 type single chip microcomputer are respectively connected with a CAN2_ TX end and a CAN2_ RX end of a CAN2 bus driver; pin 62 and pin 61 of the STM32F105RCT6 type single chip microcomputer are respectively connected to the RE _ CAN1_ TX end and the RE _ CAN1_ RX end of the CAN1 bus driver, and pin 57 and pin 58 of the STM32F105RCT6 type single chip microcomputer are respectively connected to the CAN2_ TXR end and the CAN2_ RXR end of the CAN2 bus driver, as in embodiment 1.
Example 4: as shown in fig. 3, the CAN1 driver includes a CAN driver chip U1, a pin 1 of the CAN driver chip U1 is connected to a pin 45 and a pin 62 of the STM32F105RCT6 type single chip microcomputer, and a pin 4 of the CAN driver chip U1 is connected to a pin 44 and a pin 61 of the STM32F105RCT6 type single chip microcomputer, respectively; and the No. 6 pin and the No. 7 pin of the CAN driving chip U1 are respectively connected with the No. 2 pin and the No. 1 pin of the serial port J1.
The CAN2 driver comprises a CAN driving chip U2, a pin No. 1 of the CAN driving chip U2 is respectively connected with a pin No. 34 and a pin No. 57 of the STM32F105RCT6 type single chip microcomputer, and a pin No. 4 of the CAN driving chip U2 is respectively connected with a pin No. 33 and a pin No. 58 of the STM32F105RCT6 type single chip microcomputer; and the No. 6 pin and the No. 7 pin of the CAN driving chip U2 are respectively connected with the No. 4 pin and the No. 3 pin of the serial port J1.
Example 5: as shown in fig. 4, the USB serial-to-serial port chip includes a serial-to-serial port chip U3 and a USB-211-BCW chip, and pin No. 2 and pin No. 3 of the serial-to-serial port chip U3 are respectively connected to USART1_ TX end and USART1_ RX end of the serial port J4; no. 5 pin and No. 6 pin of the serial port conversion chip U3 are respectively connected with No. 3 pin and No. 2 pin of the USB-211-BCW chip, and No. 7 pin and No. 8 pin of the serial port conversion chip U3 are respectively connected with a USB data output interface XI and a USB data output interface XO.
In a preferred embodiment, the model of the serial port conversion chip U3 is CH340 GSOP-16.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.
Claims (10)
1. A communication protocol converter for mutual conversion between a USB (universal serial bus) and a multi-channel serial port and a CAN (controller area network) bus is characterized by comprising a power chip, a single chip microcomputer, a CAN1 bus driver, a CAN2 bus driver, a USB-to-serial port chip and a USB-TYPE-A interface, wherein the USB-TYPE-A interface is electrically connected with the power chip, the power chip is respectively and electrically connected with the single chip microcomputer, the CAN1 bus driver, the CAN2 bus driver and the USB to-serial port chip, and the single chip microcomputer is respectively and communicatively connected with the CAN1 bus driver, the CAN2 bus driver and the USB to-serial port chip; the CAN1 bus driver and the CAN2 bus driver respectively convert the data link layer signals of the single chip microcomputer into non-physical layer signals.
2. The communication protocol converter of claim 1, wherein the power chip comprises a self-recovery fuse F1 and a voltage conversion chip U6, one end of the self-recovery fuse F1 is connected to the USB-TYPE-A interface, the other end of the self-recovery fuse F1 is connected to a system power supply, and the system power supply supplies power to the two CAN bus drivers and the external serial port; the system power supply obtains a voltage division power supply through a VOUT1 end and a VOUT2 end which are connected with the voltage conversion chip U6, and the voltage division power supply is respectively connected with the single chip microcomputer and the USB serial port conversion chip for supplying power.
3. The converter according to claim 2, wherein the system power supply is 5V.
4. The converter according to claim 2, wherein the divided power supply is 3.3V.
5. The communication protocol converter of claim 1, wherein the single chip microcomputer is a 32-bit STM32F105RCT6 type single chip microcomputer.
6. The communication protocol converter for interconversion between a USB and a multi-serial port and a CAN bus according to claim 5, wherein a pin 42 and a pin 43 of the STM32F105RCT6 type single chip microcomputer are respectively connected to a USART1_ TX end and a USART1_ RX end of a serial port J4, a pin 16 and a pin 17 of the STM32F105RCT6 type single chip microcomputer are respectively connected to a USART2_ TX end and a USART2_ RX end of a serial port J5, a pin 29 and a pin 30 of the STM32F105RCT6 type single chip microcomputer are respectively connected to a USART3_ TX end and a USART3_ RX end of a serial port J6, a pin 51 and a pin 52 of the STM32 RCT6 type single chip microcomputer are respectively connected to a USART4_ TX end and a USART4_ RX end of a serial port J7, and a pin 3553 and a serial port 3527 of the STM32 RCT6 single chip microcomputer are respectively connected to a USART1_ TX end and a serial port RX end; a No. 19 pin of the STM32F105RCT6 type singlechip is electrically connected with the output end of the power supply chip; the No. 45 pin and the No. 44 pin of the STM32F105RCT6 type single chip microcomputer are respectively connected with a CAN1_ TX end and a CAN1_ RX end of a CAN1 bus driver, and the No. 34 pin and the No. 33 pin of the STM32F105RCT6 type single chip microcomputer are respectively connected with a CAN2_ TX end and a CAN2_ RX end of a CAN2 bus driver; no. 62 pin and No. 61 pin of the STM32F105RCT6 type single chip microcomputer are respectively connected with the RE _ CAN1_ TX end and the RE _ CAN1_ RX end of a CAN1 bus driver, and No. 57 pin and No. 58 pin of the STM32F105RCT6 type single chip microcomputer are respectively connected with the CAN2_ TXR end and the CAN2_ RXR end of a CAN2 bus driver.
7. The converter according to claim 6, wherein the CAN1 driver comprises a CAN driver chip U1, pin 1 of the CAN driver chip U1 is connected to pin 45 and pin 62 of the STM32F105RCT6 type single chip microcomputer, and pin 4 of the CAN driver chip U1 is connected to pin 44 and pin 61 of the STM32F105RCT6 type single chip microcomputer; and the No. 6 pin and the No. 7 pin of the CAN driving chip U1 are respectively connected with the No. 2 pin and the No. 1 pin of the serial port J1.
8. The converter according to claim 6, wherein the CAN2 driver comprises a CAN driver chip U2, pin 1 of the CAN driver chip U2 is connected to pin 34 and pin 57 of the STM32F105RCT6 type single chip microcomputer, and pin 4 of the CAN driver chip U2 is connected to pin 33 and pin 58 of the STM32F105RCT6 type single chip microcomputer; and the No. 6 pin and the No. 7 pin of the CAN driving chip U2 are respectively connected with the No. 4 pin and the No. 3 pin of the serial port J1.
9. The communication protocol converter for converting the USB and the multi-channel serial port and the CAN bus into each other according to claim 1, wherein the USB to serial port chip comprises a serial port chip U3 and a USB-211-BCW chip, and the No. 2 pin and the No. 3 pin of the serial port chip U3 are respectively connected with a USART1_ TX terminal and a USART1_ RX terminal of a serial port J4; no. 5 pin and No. 6 pin of the serial port conversion chip U3 are respectively connected with No. 3 pin and No. 2 pin of the USB-211-BCW chip, and No. 7 pin and No. 8 pin of the serial port conversion chip U3 are respectively connected with a USB data output interface XI and a USB data output interface XO.
10. The converter of claim 1, wherein the USB chip is U3 with model CH340G SOP-16.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110935155.4A CN113722252A (en) | 2021-08-16 | 2021-08-16 | Communication protocol converter for mutual conversion between USB (Universal Serial bus), multi-channel serial port and CAN (controller area network) bus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110935155.4A CN113722252A (en) | 2021-08-16 | 2021-08-16 | Communication protocol converter for mutual conversion between USB (Universal Serial bus), multi-channel serial port and CAN (controller area network) bus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113722252A true CN113722252A (en) | 2021-11-30 |
Family
ID=78675877
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110935155.4A Pending CN113722252A (en) | 2021-08-16 | 2021-08-16 | Communication protocol converter for mutual conversion between USB (Universal Serial bus), multi-channel serial port and CAN (controller area network) bus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113722252A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117591461A (en) * | 2024-01-18 | 2024-02-23 | 杭州罗莱迪思科技股份有限公司 | Method for realizing RDM protocol by USB (universal serial bus) to serial port |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201571081U (en) * | 2009-10-19 | 2010-09-01 | 中国农业大学 | CAN bus and serial port bus protocol converter |
US20120246366A1 (en) * | 2011-03-21 | 2012-09-27 | Hon Hai Precision Industry Co., Ltd. | Serial port remote control circuit |
CN103516669A (en) * | 2012-06-21 | 2014-01-15 | 苏州工业园区新宏博通讯科技有限公司 | Adaptive multi-protocol converter |
CN103942173A (en) * | 2014-04-25 | 2014-07-23 | 哈尔滨工业大学 | Circuit and switching method of serial interface receiving states on basis of switching from USB to high-speed CAN and UART serial interface |
CN204155273U (en) * | 2014-10-24 | 2015-02-11 | 广州广日电梯工业有限公司 | A kind of multi-functional data switch based on elevator communication |
CN204331719U (en) * | 2014-12-30 | 2015-05-13 | 深圳市科曼医疗设备有限公司 | Heat preserving table |
WO2018036232A1 (en) * | 2016-08-26 | 2018-03-01 | 广州路派电子科技有限公司 | Vehicle-mounted front and rear image driving recorder system |
CN209803792U (en) * | 2019-07-15 | 2019-12-17 | 武汉朕泰智能科技有限公司 | Device for converting single USB port into multi-type multi-channel multi-level serial port |
-
2021
- 2021-08-16 CN CN202110935155.4A patent/CN113722252A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201571081U (en) * | 2009-10-19 | 2010-09-01 | 中国农业大学 | CAN bus and serial port bus protocol converter |
US20120246366A1 (en) * | 2011-03-21 | 2012-09-27 | Hon Hai Precision Industry Co., Ltd. | Serial port remote control circuit |
CN103516669A (en) * | 2012-06-21 | 2014-01-15 | 苏州工业园区新宏博通讯科技有限公司 | Adaptive multi-protocol converter |
CN103942173A (en) * | 2014-04-25 | 2014-07-23 | 哈尔滨工业大学 | Circuit and switching method of serial interface receiving states on basis of switching from USB to high-speed CAN and UART serial interface |
CN204155273U (en) * | 2014-10-24 | 2015-02-11 | 广州广日电梯工业有限公司 | A kind of multi-functional data switch based on elevator communication |
CN204331719U (en) * | 2014-12-30 | 2015-05-13 | 深圳市科曼医疗设备有限公司 | Heat preserving table |
WO2018036232A1 (en) * | 2016-08-26 | 2018-03-01 | 广州路派电子科技有限公司 | Vehicle-mounted front and rear image driving recorder system |
CN209803792U (en) * | 2019-07-15 | 2019-12-17 | 武汉朕泰智能科技有限公司 | Device for converting single USB port into multi-type multi-channel multi-level serial port |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117591461A (en) * | 2024-01-18 | 2024-02-23 | 杭州罗莱迪思科技股份有限公司 | Method for realizing RDM protocol by USB (universal serial bus) to serial port |
CN117591461B (en) * | 2024-01-18 | 2024-04-09 | 杭州罗莱迪思科技股份有限公司 | Method for realizing RDM protocol by USB (universal serial bus) to serial port |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2912831B1 (en) | Ethernet over usb interfaces with full-duplex differential pairs | |
CN101309193B (en) | USB-Flexray bus adapter based on micro-processor | |
CN111162815B (en) | Full-duplex communication circuit and full-duplex communication device | |
CN113722252A (en) | Communication protocol converter for mutual conversion between USB (Universal Serial bus), multi-channel serial port and CAN (controller area network) bus | |
CN206460454U (en) | The serial ports instrument that a kind of achievable different types of data is mutually changed simultaneously | |
CN114228638A (en) | System and method for transmitting super data of vehicle end of L4-grade automatic driving vehicle | |
CN209570926U (en) | A kind of signal converting module and multi-channel interface switching device | |
CN102023959A (en) | Communication conversion bridge set based on USB-HID (universal serial bus-human input device) protocol | |
CN213934869U (en) | Isolation module based on RS485 communication | |
CN201698418U (en) | Can bus conversion card | |
CN212649472U (en) | Optical module auxiliary circuit and optical module auxiliary device | |
CN108874705B (en) | Serial port-to-single line communication circuit | |
CN208796096U (en) | A kind of compatible multichannel industry number of asynchronous distributed adopts expansion module | |
CN216566871U (en) | Novel ethercat slave station changes modbus master and slave station equipment | |
CN106707946A (en) | Data line for communication between S7-200PLC and ACE3600RTU | |
CN221283215U (en) | Gigabit data exchange device for TYPE-C interface transmission | |
CN216286654U (en) | Hardware module for converting single-path USB into multi-path UART | |
CN207399227U (en) | A kind of protocol converter suitable for power system communication | |
CN211166859U (en) | OBD diagnosis box circuit | |
CN220292038U (en) | USB changes on-vehicle ethernet equipment | |
CN217956289U (en) | Communication interface converter | |
CN221575410U (en) | Force sensor communication protocol converter | |
CN216290996U (en) | STM 32-based RS485/RS232/CAN communication protocol conversion device | |
CN212809200U (en) | Converter capable of realizing interconversion between I2C bus protocol and TCP/IP protocol | |
CN201538336U (en) | Driving unit of multiplex communication interface |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20220823 Address after: Unit G4-202-009, Artificial Intelligence Industrial Park, No. 88 Jinji Lake Avenue, Suzhou Industrial Park, Suzhou Area, China (Jiangsu) Pilot Free Trade Zone, Suzhou City, Jiangsu Province, 215124 Applicant after: Suzhou super planet Venture Capital Co.,Ltd. Address before: Unit 12, 701, floor 7, building 3, yard 8, Xinyuan South Road, Chaoyang District, Beijing 100027 Applicant before: Beijing Tuling Video Technology Co.,Ltd. |