Unlock instant, AI-driven research and patent intelligence for your innovation.

Communication protocol converter for mutual conversion between USB and multi-path serial port and CAN bus

A CAN bus, mutual conversion technology, applied in the field of communication protocol converters, can solve the problems of no system log output, inability to know the working status, inability to meet multi-channel requirements, etc.

Pending Publication Date: 2021-11-30
苏州超行星创业投资有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] Shortcomings of the prior art and technical problems to be solved in this application proposal: 1. Although the existing CAN protocol conversion equipment supports RS485 / RS232 / TTL, it generally only has one serial port and one CAN bus, which cannot meet the multi-channel requirements. The present invention includes Two-way CAN bus and four-way serial ports can freely convert each other for communication; 2. The existing CAN protocol conversion equipment can only be converted to USB or can only be converted to serial ports. The CAN bus can be converted to a serial port or a USB interface, and the USB and serial ports can be output at the same time; 3. The working status cannot be known during the work of the existing products, and there is no system log output. The present invention can use any one of the 5 serial ports As a log output port; 4. The existing products cannot realize the USB to serial port function, and the present invention outputs through one USB to five serial ports

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Communication protocol converter for mutual conversion between USB and multi-path serial port and CAN bus
  • Communication protocol converter for mutual conversion between USB and multi-path serial port and CAN bus
  • Communication protocol converter for mutual conversion between USB and multi-path serial port and CAN bus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] Embodiment 1: The present invention proposes a communication protocol converter for mutual conversion between USB, multi-channel serial port and CAN bus, including 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 , the USB-TYPE-A interface is electrically connected to the power chip, and the power chip is electrically connected to the single-chip microcomputer, the CAN1 bus driver, the CAN2 bus driver, and the USB-to-serial port chip, and the The single-chip microcomputer is respectively connected with the communication of the CAN1 bus driver, the CAN2 bus driver, and the USB-to-serial port chip; Signal.

Embodiment 2

[0026] Embodiment 2: as figure 1 As shown, the power chip includes a self-recovery insurance F1 and a voltage conversion chip U6, one end of the self-recovery insurance F1 is connected to the USB-TYPE-A interface, and the other end of the self-recovery insurance F1 is connected to the system power supply. The system power supply is the power supply for the two CAN bus drivers and the external serial port; the system power supply obtains a voltage dividing power supply by connecting the VOUT1 end and the VOUT2 end of the voltage conversion chip U6, and the voltage dividing power supply is respectively connected to the single-chip microcomputer, The USB-to-serial port chip provides power supply.

[0027]As a preferred embodiment, the system power supply is 5V.

[0028] As a preferred embodiment, the voltage dividing power supply is 3.3V, and the rest are the same as Embodiment 1.

Embodiment 3

[0029] Embodiment 3: as figure 2 As shown, the single-chip microcomputer adopts a 32-bit STM32F105RCT6 type single-chip microcomputer, and No. 42 pins and No. 43 pins of the STM32F105RCT6 type single-chip microcomputer are respectively connected to the USART1_TX end and the USART1_RX end of the serial port J4, and No. 16 pins, Pin No. 17 is respectively connected to the USART2_TX end and USART2_RX end of the serial port J5, pin No. 29 and pin No. 30 of the STM32F105RCT6 type single-chip microcomputer are respectively connected to the USART3_TX end and USART3_RX end of the serial port J6, and pin No. 51 of the STM32F105RCT6 type single-chip microcomputer is connected to Pins and No. 52 pins are respectively connected to the USART4_TX end and USART4_RX end of the serial port J7, and No. 53 pins and No. 54 pins of the STM32F105RCT6 type single-chip microcomputer are respectively connected to the USART1_TX end and the USART1_RX end of the serial port J7; The No. pin is electrical...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a communication protocol converter for mutual conversion between a USB and a multi-path serial port and a CAN bus. The communication protocol converter comprises a power supply 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. The USB-TYPE-A interface is electrically connected with the power supply chip, the power supply chip is electrically connected with the single chip microcomputer, the CAN1 bus driver, the CAN2 bus driver and the USB to serial port chip respectively, and the single chip microcomputer is in communication connection with the CAN1 bus driver, the CAN2 bus driver and the USB to serial port chip respectively; and the CAN1 bus driver and the CAN2 bus driver respectively convert a data link layer signal of the single chip microcomputer into a physical layer signal. The system comprises two paths of CAN buses and four paths of serial ports which can be mutually converted and communicated at will; the CAN bus can be converted into a serial port and can also be converted into a USB interface, and the USB and the serial port can be output at the same time; any one of the five serial ports can be used as a log output port; and one-path USB to five-path serial port output can be realized.

Description

technical field [0001] The invention relates to a communication protocol converter for mutual conversion between USB, multiple serial ports and CAN bus, and belongs to the technical field of converter design. Background technique [0002] The common serial port to CAN bus communication protocol conversion module on the market, CANCOM-100IE+ three-in-one industrial-grade intelligent protocol converter can quickly connect RS-232 / 485 / 422 communication equipment to CAN-bus field bus to realize two-way communication. The converter supports serial port rate of 600~230400bps, CAN-bus communication rate of 5Kbps~1Mbps. The converter provides three data conversion modes: transparent conversion, transparent conversion with logo, and format conversion to meet the needs of different customers. Its interfaces are all industrial-grade design, the CAN interface comes with a magnetic coupling isolation module to avoid damage due to ground circulation, strong anti-static and surge capabilit...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F13/38G06F13/40G06F13/42
CPCG06F13/385G06F13/4004G06F13/4282G06F2213/0002G06F2213/0042
Inventor 马平曹颂钟星
Owner 苏州超行星创业投资有限公司