CN213182359U - General RS232-CAN communication conversion board - Google Patents
General RS232-CAN communication conversion board Download PDFInfo
- Publication number
- CN213182359U CN213182359U CN202022034367.9U CN202022034367U CN213182359U CN 213182359 U CN213182359 U CN 213182359U CN 202022034367 U CN202022034367 U CN 202022034367U CN 213182359 U CN213182359 U CN 213182359U
- Authority
- CN
- China
- Prior art keywords
- interface
- module
- bus
- chip
- single chip
- 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.)
- Active
Links
Images
Landscapes
- Bus Control (AREA)
Abstract
The utility model discloses a general RS232-CAN communication conversion board belongs to communication system technical field. The power supply module is respectively connected with the singlechip module, the RS232 interface module and the CAN bus interface module and supplies power; one end of the RS232 interface module is connected with a UART controller interface of the singlechip module, and the other end of the RS232 interface module is connected to a function control module with an RS232 interface; one end of the CAN bus interface module is connected with a CAN controller interface of the singlechip module, and the other end of the CAN bus interface module is connected to a CAN bus. The RS232-CAN communication conversion is realized by adopting a power module, a singlechip module, an RS232 interface module and a CAN bus module; the rapid establishment of a multi-node CAN bus network is realized, and a rapid and convenient way is provided for upgrading the traditional RS232 point-to-point data information exchange communication mode of equipment with a plurality of function control modules into a multi-point data information exchange communication mode.
Description
Technical Field
The utility model relates to a general RS232-CAN communication conversion board belongs to communication system technical field.
Background
The CAN bus is used as a field control bus, has simple structure, high stability, strong anti-interference performance, good expansibility and development performance and high real-time performance, flexibility and reliability of data information transmission, CAN realize multipoint two-way communication, and is widely applied to a plurality of fields at present. Some large-scale equipment, such as medical equipment, the whole machine is composed of a plurality of function control modules, the existing function control module is configured with a standard RS232 interface, data information can only be read and transmitted point to point, data information exchange cannot be directly carried out among the function control modules of the whole machine, multi-level forwarding is required for data information exchange among a plurality of modules, the structure is complex, the real-time performance of data information transmission is insufficient, and inconvenience is caused to use. Therefore, the universal RS232-CAN communication conversion board is designed, an RS232 interface CAN be converted into a CAN bus interface which CAN be connected with a CAN bus, a plurality of function control modules in the equipment CAN be quickly combined into a CAN bus network, and multipoint data information exchange among the plurality of function control modules of the whole machine is realized.
SUMMERY OF THE UTILITY MODEL
The utility model discloses the technical problem that will solve lies in: the utility model provides a general RS232-CAN communication conversion board, it has solved the data information exchange between a plurality of function control module in the equipment at present needs to carry out multi-level retransmission, and the structure is complicated, and data information transmission real-time is not enough, causes inconvenient problem for the use.
The utility model discloses the technical problem that will solve takes following technical scheme to realize:
a general RS232-CAN communication conversion board comprises a power module, a singlechip module, an RS232 interface module and a CAN bus interface module, wherein the power module is respectively connected with the singlechip module, the RS232 interface module and the CAN bus interface module and supplies power;
one end of the RS232 interface module is connected with a UART controller interface of the singlechip module, and the other end of the RS232 interface module is connected to a function control module with an RS232 interface;
one end of the CAN bus interface module is connected with a CAN controller interface of the singlechip module, and the other end of the CAN bus interface module is connected to a CAN bus;
the power supply module comprises a DC12V power supply input interface, a DC12-DC5V voltage stabilizing circuit, a decoupling circuit and a DC5V-DC5V isolation power supply module which are sequentially connected.
As a preferable example, the DC12V power input interface adopts a 4P single-row connector with 2.54-pitch, the DC12V-DC5 voltage-stabilizing circuit adopts a three-terminal voltage-stabilizing chip L7805, the decoupling circuit is composed of 104 capacitors, and the DC5V-DC5V isolation power module adopts a DC-DC power module B0505 LS.
As a preferred example, the single chip microcomputer module comprises a single chip microcomputer and a dial switch, wherein the single chip microcomputer comprises an IO interface, a UART controller interface and a CAN controller interface, the dial switch is connected with the IO interface of the single chip microcomputer, the CAN controller interface of the single chip microcomputer is connected with a CAN bus interface module, and the UART controller interface of the single chip microcomputer is connected with an RS232 interface module.
As a preferable example, the single chip microcomputer is a T89C51CC01 single chip microcomputer.
As a preferred example, the RS232 interface module includes an RS232 level conversion circuit and an RS232 interface, wherein one end of the RS232 level conversion circuit is connected to the interface of the single chip UART controller, and the other end of the RS232 level conversion circuit is connected to one end of the RS232 interface.
As a preferred example, the other end of the RS232 interface is connected to another function control module having an RS232 interface, the RS232 level conversion circuit is implemented by the chip MAX202, and the RS232 interface is implemented by a general IDC10 connector.
As a preferred example, the CAN bus interface module comprises an isolation chip, a CAN bus controller interface chip, an anti-interference lightning protection circuit and a CAN bus interface, wherein one end of the isolation chip is connected with the CAN controller interface of the singlechip, the other end of the isolation chip is connected with one end of the CAN bus controller interface chip, and the other end of the CAN bus controller interface chip is connected with one end of the CAN bus interface through the anti-interference lightning protection circuit.
The utility model has the advantages that: the RS232-CAN communication conversion is realized by adopting the power module, the singlechip module, the RS232 interface module and the CAN bus module, a corresponding singlechip program CAN be compiled according to actual application requirements, online downloading is realized through the RS232 interface, and a user CAN conveniently and quickly carry out secondary development; the singlechip module realizes the configuration of unused CANIDs through the dial switch, CAN simultaneously configure dozens of groups of CANIDs, realizes the rapid construction of a multi-node CAN bus network, and provides a rapid and convenient way for upgrading the traditional RS232 point-to-point data information exchange communication mode of equipment with a plurality of functional control modules.
Drawings
FIG. 1 is a schematic diagram of the principle structure of the present invention;
FIG. 2 is a schematic diagram of a DC12-DC5V voltage stabilizing circuit in the power module of the present invention;
fig. 3 is a schematic diagram of a decoupling circuit structure in the power module of the present invention;
fig. 4 is a schematic structural diagram of a DC5V-DC5V isolated power module in the power module of the present invention;
FIG. 5 is a schematic diagram of the structure of the single chip module of the present invention;
fig. 6 is a schematic structural diagram of an RS232 interface module of the present invention;
FIG. 7 is a schematic structural diagram of a CAN bus interface module of the present invention;
fig. 8 is a schematic structural view of an embodiment of the CAN bus network of the present invention.
Detailed Description
In order to make the technical means, the creation features, the achievement purposes and the functions of the present invention easy to understand and understand, the present invention is further explained by combining the following specific drawings.
Examples
As shown in fig. 1-7, a general RS232-CAN communication conversion board includes a power module, a single chip module, an RS232 interface module, and a CAN bus interface module, wherein the power module is respectively connected with and supplies power to the single chip module, the RS232 interface module, and the CAN bus interface module;
one end of the RS232 interface module is connected with a UART controller interface of the singlechip module, and the other end of the RS232 interface module is connected to a function control module with an RS232 interface;
one end of the CAN bus interface module is connected with a CAN controller interface of the singlechip module, and the other end of the CAN bus interface module is connected to a CAN bus.
The power supply module comprises a DC12V power input interface, a DC12-DC5V voltage stabilizing circuit, a decoupling circuit and a DC5V-DC5V isolation power supply module which are sequentially connected.
The DC12V power input interface adopts 2.54-pitch 4P single-row connectors, the DC12V-DC5 voltage-stabilizing circuit adopts a three-terminal voltage-stabilizing chip L7805, the decoupling circuit is composed of 104 capacitors, and the DC5V-DC5V isolation power module adopts a DC-DC power module B0505 LS.
The single chip microcomputer module comprises a single chip microcomputer and a dial switch, wherein the single chip microcomputer comprises an IO interface, a UART controller interface and a CAN controller interface, the dial switch is connected with the IO interface of the single chip microcomputer, the CAN controller interface of the single chip microcomputer is connected with a CAN bus interface module, and the UART controller interface of the single chip microcomputer is connected with an RS232 interface module.
The singlechip adopts a T89C51CC01 singlechip.
The RS232 interface module comprises an RS232 level conversion circuit and an RS232 interface, wherein one end of the RS232 level conversion circuit is connected with the UART controller interface of the single chip microcomputer, and the other end of the RS232 level conversion circuit is connected with one end of the RS232 interface.
The other end of the RS232 interface is connected with other function control modules with RS232 interfaces, the RS232 level conversion circuit is realized by a chip MAX202, and the RS232 interfaces are realized by universal IDC10 connectors.
The CAN bus interface module comprises an isolation chip, a CAN bus controller interface chip, an anti-interference lightning protection circuit and a CAN bus interface, wherein one end of the isolation chip is connected with the CAN controller interface of the singlechip, the other end of the isolation chip is connected with one end of the CAN bus controller interface chip, and the other end of the CAN bus controller interface chip is connected with one end of the CAN bus interface through the anti-interference lightning protection circuit.
The working principle is as follows:
one end of the power supply module is connected with a DC12V power supply, the other end of the power supply module is connected with a DC12V power supply input interface, a DC12-DC5V voltage stabilizing circuit and a decoupling circuit output DC5V provide working power supply for the RS232-CAN communication conversion board as a whole, and a DC5V-DC5V isolation power supply module independently supplies power for an isolation chip and an isolated CAN circuit device thereof; one end of the RS232 interface module is connected with the single chip microcomputer module UART controller, receives data from the single chip microcomputer UART controller and sends the RS232 data to a function control module with an RS232 interface connected with the other end of the RS232 interface module; and the received RS232 data sent from the function control module is sent to the UART controller of the single chip microcomputer module. One end of the CAN bus interface module is connected with the single chip microcomputer module CAN controller, receives CAN data sent by the single chip microcomputer module CAN controller, sends the CAN data to a CAN bus, and is received by function control modules on other CAN buses as required; the CAN bus data received by the controller is sent to a single chip microcomputer CAN controller, and the single chip microcomputer processes the data as required.
The singlechip module comprises a singlechip and a dial switch. The single chip microcomputer comprises an IO interface, a UART controller interface and a CAN controller interface; the dial switch adopts a 4-bit dial switch, is connected with an IO interface of the single chip microcomputer, CAN be provided with 16 groups of CANIDs, and CAN form a 16-node CAN bus network by configuring different CANIDs through the dial switch by using 16 RS232-CAN communication conversion boards; the CAN controller interface of the singlechip is connected with the CAN bus interface module; and a UART controller interface of the singlechip is connected with the RS232 interface module. The single chip microcomputer is realized by T89C51CC 01.
The RS232 interface module comprises an RS232 level conversion chip and an RS232 interface. One end of the RS232 level conversion chip is connected with the UART controller interface of the single chip microcomputer, and the other end of the RS232 level conversion chip is connected with one end of the RS232 interface; the other end of the RS232 interface is connected to RS232 interfaces of other devices. Serial port data sent by the single chip UART controller is transmitted to an RS232 interface through an RS232 level conversion circuit, and other function control modules connected with the RS232 interface receive the data; RS232 data sent by RS232 interfaces of other function control modules are sent to the RS232 level conversion circuit through the RS232 interfaces and then are sent to the single chip UART controller. The RS232 level conversion circuit is realized by MAX202, and the RS232 interface is realized by IDC10 connector.
The CAN bus interface module comprises an isolation chip, a CAN bus controller interface chip, an anti-interference lightning protection circuit and a CAN bus interface. Wherein, keep apart the one end and the single chip module CAN controller interface connection of chip, the other end is connected with the one end of CAN bus controller interface chip, realizes the electrical isolation function, prevents to damage the singlechip because signal interference on the CAN bus, and the other end of CAN bus controller interface chip is connected to the one end of anti-interference lightning protection circuit, and the other end of anti-interference lightning protection circuit is connected to CAN bus interface, suppresses transient interference and anti thunderbolt. CAN data sent by the single-chip CAN controller is sent to a CAN bus control interface chip through an isolation chip, then sent to an anti-interference lightning protection circuit through an anti-interference lightning protection circuit and finally sent to a CAN bus interface, and the data is sent to a CAN bus, and other CAN devices on a CAN bus network CAN receive the CAN data sent by the single-chip CAN controller; CAN data sent to the CAN bus network by other CAN equipment is sent to the anti-interference lightning protection circuit through the CAN bus interface, then to the CAN bus controller interface chip and finally to the singlechip CAN controller through the isolation chip. The isolation chip is realized by adopting ADuM1201, the CAN bus controller interface chip is realized by adopting PCA82C250, the anti-interference lightning protection circuit is realized by adopting a circuit consisting of a diode, a capacitor and a resistor, and the CAN bus interface is realized by adopting a double DB9F connector, so that the serial connection of a multi-node CAN is facilitated.
After the RS232 interface receives RS232 data sent by the connected equipment and then sends the data to the single chip UART controller, the single chip sends CAN data to the CAN bus interface through the single chip CAN controller after processing, and other equipment on the CAN bus CAN receive corresponding data as required; when other devices on the CAN bus send CAN data to the CAN bus interface, the single-chip CAN controller receives the data, processes the data and then sends RS232 data to the RS232 interface through the single-chip UART controller, and the devices connected with the RS232 interface CAN receive the corresponding RS232 data. The data information exchange of the RS232-CAN is realized.
As shown in FIG. 8, the CAN bus network is composed of n general RS232-CAN communication converter boards, n is 16 at most, and a function control module with an RS232 interface is connected with one general RS232-CAN communication converter board. All the general RS232-CAN communication conversion boards specify a uniform CAN bus communication protocol, the CANIDs are arranged in the same area, such as 120-12F, different CANIDs are corresponding to different setting states of dial switches on the boards, and the range of receiving the CANIDs is set to be 120-12F; the RS232 serial port communication protocol of each universal RS232-CAN communication conversion board is consistent with the RS232 serial port communication protocol of the function control module connected with the same; therefore, after the universal RS232-CAN communication conversion board is developed and programmed for the second time according to requirements and downloaded on line through the RS232 interface, the whole equipment forms a CAN bus network, RS232 data information sent by any one function control module is sent to the CAN bus through the universal RS232-CAN communication conversion board connected with the function control module, RS232 interfaces of other control function modules CAN receive the data information through the universal RS232-CAN communication conversion board connected with the function control module, and the function of multipoint communication of the plurality of RS232 function control modules is achieved.
The RS232-CAN communication conversion is realized by adopting the power module, the singlechip module, the RS232 interface module and the CAN bus module, a corresponding singlechip program CAN be compiled according to actual application requirements, online downloading is realized through the RS232 interface, and a user CAN conveniently and quickly carry out secondary development; the singlechip module realizes the configuration of unused CANIDs through the dial switch, CAN simultaneously configure dozens of groups of CANIDs, realizes the rapid construction of a multi-node CAN bus network, and provides a rapid and convenient way for upgrading the traditional RS232 point-to-point data information exchange communication mode of equipment with a plurality of functional control modules.
The foregoing illustrates and describes the principles, general features, and advantages of the present invention. It will be understood by those skilled in the art that the present invention is not limited to the above-described embodiments, and that various changes and modifications may be made without departing from the spirit and scope of the invention, and such changes and modifications are intended to be included within the scope of the invention as claimed. The scope of the invention is defined by the appended claims and equivalents thereof.
Claims (7)
1. A general RS232-CAN communication conversion board is characterized by comprising a power module, a singlechip module, an RS232 interface module and a CAN bus interface module, wherein the power module is respectively connected with the singlechip module, the RS232 interface module and the CAN bus interface module and supplies power;
one end of the RS232 interface module is connected with a UART controller interface of the singlechip module, and the other end of the RS232 interface module is connected to a function control module with an RS232 interface;
one end of the CAN bus interface module is connected with a CAN controller interface of the singlechip module, and the other end of the CAN bus interface module is connected to a CAN bus;
the power supply module comprises a DC12V power supply input interface, a DC12-DC5V voltage stabilizing circuit, a decoupling circuit and a DC5V-DC5V isolation power supply module which are sequentially connected.
2. The universal RS232-CAN communication conversion board as claimed in claim 1, wherein the DC12V power input interface is a 2.54 pitch 4P single row connector, the DC12V-DC5 voltage regulator circuit is a three-terminal voltage regulator chip L7805, the decoupling circuit is composed of 104 capacitors, and the DC5V-DC5V isolation power module is a DC-DC power module B0505 LS.
3. The universal RS232-CAN communication conversion board according to claim 1, wherein the single chip module comprises a single chip and a dial switch, wherein the single chip comprises an IO interface, a UART controller interface and a CAN controller interface, the dial switch is connected with the IO interface of the single chip, the CAN controller interface of the single chip is connected with the CAN bus interface module, and the UART controller interface of the single chip is connected with the RS232 interface module.
4. The universal RS232-CAN communication conversion board as claimed in claim 3, wherein the single chip microcomputer is a T89C51CC01 single chip microcomputer.
5. The universal RS232-CAN communication conversion board according to claim 1, wherein the RS232 interface module comprises an RS232 level conversion circuit and an RS232 interface, wherein one end of the RS232 level conversion circuit is connected with the UART controller interface of the single chip microcomputer, and the other end of the RS232 level conversion circuit is connected with one end of the RS232 interface.
6. The universal RS232-CAN communication conversion board according to claim 5, wherein the other end of the RS232 interface is connected with other function control modules with RS232 interfaces, the RS232 level conversion circuit is realized by a chip MAX202, and the RS232 interfaces are realized by universal IDC10 connectors.
7. The universal RS232-CAN communication converter board as claimed in claim 1, wherein the CAN bus interface module comprises an isolation chip, a CAN bus controller interface chip, an anti-interference lightning protection circuit, and a CAN bus interface, wherein one end of the isolation chip is connected to the CAN controller interface of the single chip microcomputer, the other end of the isolation chip is connected to one end of the CAN bus controller interface chip, the other end of the CAN bus controller interface chip is connected to one end of the CAN bus interface through the anti-interference lightning protection circuit, and the DC5V-DC5V isolation power module provides independent power to the isolation chip and the isolated CAN circuit device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202022034367.9U CN213182359U (en) | 2020-09-16 | 2020-09-16 | General RS232-CAN communication conversion board |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202022034367.9U CN213182359U (en) | 2020-09-16 | 2020-09-16 | General RS232-CAN communication conversion board |
Publications (1)
Publication Number | Publication Date |
---|---|
CN213182359U true CN213182359U (en) | 2021-05-11 |
Family
ID=75775622
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202022034367.9U Active CN213182359U (en) | 2020-09-16 | 2020-09-16 | General RS232-CAN communication conversion board |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN213182359U (en) |
-
2020
- 2020-09-16 CN CN202022034367.9U patent/CN213182359U/en active Active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN209860931U (en) | Intelligent CAN bus diagnosis monitor | |
CN213182359U (en) | General RS232-CAN communication conversion board | |
CN110708263B (en) | Switch | |
CN209823786U (en) | Portable photovoltaic equipment communication simulator | |
CN204795068U (en) | Multimode switch cascades communications network | |
CN203241752U (en) | Digital analog conversion CAN bus control transmit-receive system connected with multipath-sensor | |
CN214846312U (en) | Ground remote control and remote measurement control board card | |
CN202261414U (en) | GPIB/CAN interface conversion device | |
CN210867753U (en) | ARM-based edge computing gateway module | |
CN213585817U (en) | RTL9047 AA-based automobile gateway hardware platform | |
CN108874705B (en) | Serial port-to-single line communication circuit | |
CN209765328U (en) | industrial-grade remote IO module based on EtherCAT | |
CN211062042U (en) | Serial port receiving and transmitting controller | |
CN210041858U (en) | One-master multi-slave high-speed serial communication device | |
CN107565077B (en) | Battery pack communication circuit | |
CN203537377U (en) | Wireless communication device with multiple interfaces | |
CN219107389U (en) | Solar controller switching device | |
CN208297971U (en) | A kind of micro-capacitance sensor operating control device | |
CN210052154U (en) | USB-to-serial communication equipment with isolation | |
CN219718252U (en) | Hub for multi-device data transmission | |
CN211319038U (en) | Multi-rocker switch input control panel | |
CN217767436U (en) | Bus backboard for communication of medical instrument module | |
CN217689815U (en) | Analog quantity data acquisition board card | |
CN219496943U (en) | Multi-protocol and extensible integrated remote IO module | |
CN215221202U (en) | Vehicle-mounted USB concentrator supporting high-power charging |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220926 Address after: 315800 building 6, No. 88 Kangda Road, Meishan bonded port area, Ningbo, Zhejiang Patentee after: Ningbo Kangda kaineng Medical Technology Co.,Ltd. Address before: 315000 Room 101, 1st floor, area a, 88 Kangda Road, Meishan bonded port area, Ningbo City, Zhejiang Province Patentee before: Kangda Intercontinental Medical Devices Co.,Ltd. |
|
TR01 | Transfer of patent right |