CN218217402U - Protocol converter - Google Patents
Protocol converter Download PDFInfo
- Publication number
- CN218217402U CN218217402U CN202222520455.9U CN202222520455U CN218217402U CN 218217402 U CN218217402 U CN 218217402U CN 202222520455 U CN202222520455 U CN 202222520455U CN 218217402 U CN218217402 U CN 218217402U
- Authority
- CN
- China
- Prior art keywords
- switch
- terminal
- protocol converter
- binding post
- wiring
- 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
- Communication Control (AREA)
Abstract
The utility model discloses a protocol converter, include: the device comprises a PCBA board, and 2N 485 wiring terminals, N CAN wiring terminals and a processor chip which are arranged on the PCBA board; wherein N is a natural number; the processor chip is respectively connected with the 485 wiring terminals and the CAN wiring terminals, so that every four adjacent 485 wiring terminals are connected with one CAN wiring terminal. The utility model discloses an insert 2N 485 binding post, N CAN binding post to the treater chip in for a CAN wiring end CAN be connected and communicate with corresponding four 485 binding post, thereby realizes steerable multiple type equipment, avoids data to pass thoroughly to the both ends data volume and mismatch the limitation that causes, has solved the problem that single way CAN binding post corresponds single 485 binding post and leads to communication protocol conversion function singleness.
Description
Technical Field
The utility model relates to a network communication technology field especially relates to a protocol converter.
Background
Most CAN and 485 protocol converters at present mainly adopt data transparent transmission and software customization, the data transparent transmission has great limitation on mismatching of data quantity at two ends, particularly, one piece of CAN data has at most 8 bytes, one piece of 485 data CAN be dozens of hundreds of data, and the software customization increases software development time; most protocol converters mainly use a single-channel CAN to a single-channel 485, and the functions become single; the installation uses a screw fixing mode, the position is random, and the circuit is disordered; the CAN terminal matching resistor adopts a mode of externally connecting a color ring resistor, and the trouble of wiring and the risk of cutting the resistor at the outer end are avoided.
SUMMERY OF THE UTILITY MODEL
The utility model provides a protocol converter to solve among the prior art that the one way CAN corresponds the one way 485 and leads to the technical problem that the function singleness, the mixed and disorderly wiring of circuit are complicated.
In order to solve the above technical problem, an embodiment of the present invention provides a protocol converter, including: the device comprises a PCBA board, and 2N 485 wiring terminals, N CAN wiring terminals and a processor chip which are arranged on the PCBA board; wherein N is a natural number;
the processor chip is respectively connected with the 485 wiring terminals and the CAN wiring terminals, so that every four adjacent 485 wiring terminals are connected with one CAN wiring terminal.
As the preferred scheme, the 485 binding post is a 4-bit RS485 binding post, and the CAN binding post is a 4-bit power supply CAN binding post.
As a preferred scheme, a terminal matching resistance switch, an address dialing switch and a USB are further installed on the PCBA board;
the processor chip is respectively connected with the terminal matching resistance switch, the address dialing switch and the USB.
As a preferred scheme, the terminal matching resistance switch is a 1-bit CAN terminal matching resistance switch, and the address dialing switch is an 8-bit direct dialing switch.
Preferably, the model of the processor chip is STM32F103RET6.
Preferably, the method further comprises the following steps: a face shell and a bottom shell; the face shell and the bottom shell are combined through assembling screws;
the PCBA board is fixed between the bottom shell and the face shell through the assembling screws.
As the preferred scheme, the bottom shell is further provided with a guide rail buckle and a guide rail clamping groove.
Compared with the prior art, the embodiment of the utility model provides a following beneficial effect has:
the technical scheme of the utility model through insert 2N 485 binding post, N CAN binding post to the treater chip in for a CAN wiring end CAN be connected and communicate with four 485 binding post of correspondence, thereby realizes steerable multiple type equipment, avoids data to pass thoroughly to the both ends data volume and mismatch the limitation that causes, has solved the problem that single way CAN binding post corresponds single way 485 binding post and leads to communication protocol conversion function singleness.
Further, the utility model discloses still through the terminal matching resistance switch that sets up, realize according to circuit needs toggle switch, CAN accomplish CAN's terminal matching to the guide rail mounting means is placed in the electronic box, simple to operate, and the trouble switching resistance of having avoided working a telephone switchboard is in the condition that there is the risk in the outer end.
Drawings
FIG. 1: the embodiment of the utility model provides a structure diagram of PCBA in the protocol converter;
FIG. 2: the embodiment of the present invention provides a schematic diagram for splitting the structure of a protocol converter.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments in the present invention, all other embodiments obtained by a person skilled in the art without creative efforts belong to the protection scope of the present invention.
Example one
Referring to fig. 1, a protocol converter according to an embodiment of the present invention includes: the device comprises a PCBA board, and 2N 485 connection terminals, N CAN connection terminals and a processor chip which are arranged on the PCBA board; wherein N is a natural number.
As the preferred scheme of this embodiment, 485 binding post is 4 bitwise RS485 binding post, CAN binding post is 4 bitwise power supply CAN binding posts.
It should be noted that two 485 communication transmission paths exist in each RS485 connection terminal; there are four terminals in each power supply CAN terminal, two of which are power supply terminals and the other two of which are CAN communication terminals, preferably the power supply CAN terminal is adapted to 24v, the CAN communication terminals include an L low level terminal and an H high level terminal.
The processor chip is respectively connected with the 485 wiring terminals and the CAN wiring terminals, so that every four adjacent 485 wiring terminals are connected with one CAN wiring terminal.
In this embodiment, for example, 4 485 connection terminals are mounted on the PCBA board, and correspond to the RS485 of the B1 path and the A1 path, the RS485 of the B2 path and the A2 path, the RS485 of the B3 path and the A3 path, and the RS485 of the B4 path and the A4 path, respectively; simultaneously, install 2 CAN binding post on the PCBA board, wherein, a CAN binding post is connected with two RS485 binding post, and a CAN corresponds to 4 way 485 communication transmission path promptly.
It should be noted that, in this embodiment, the processor chip is used for connecting the 485 connection terminal with the CAN connection terminal, so that the data transmitted by the 485 connection terminal CAN be converted into CAN data for output, and the data transmitted by the CAN connection terminal CAN also be converted into 485 data for output. The CAN only has 8 bytes, but each word CAN represent 256 numbers, so as long as a conversion protocol is preset, the meaning represented by the bytes in the CAN is huge, the target 485 communication equipment also has own protocol and baud rate, and the original protocol of 485 and the preset conversion CAN protocol are in one-to-one correspondence, so that the conversion between the CAN data and the 485 data CAN be realized. The above is the operating principle inside the processor chip in this embodiment, specifically, the main function inside the processor chip is to perform protocol conversion between CAN and 485, so that data between CAN and 458 are converted, and the principle of inter-converting data between CAN and 458 inside the processor chip is the common knowledge known by those skilled in the art, in the embodiment of the present invention, there is no improvement on the method of the principle and logic of internal processing.
As a preferred scheme of this embodiment, the PCBA board is further provided with a terminal matching resistance switch, an address dial switch and a USB; the processor chip is respectively connected with the terminal matching resistance switch, the address dialing switch and the USB.
As a preferred scheme of this embodiment, the terminal matching resistance switch is a 1-bit CAN terminal matching resistance switch, and the address dial switch is an 8-bit direct dial switch.
It should be noted that the terminal matching resistor switch enables a user to complete terminal matching of the CAN by toggling the switch according to the line requirement, and preferably, the resistance inside the CAN terminal matching resistor switch is 120 Ω. In this embodiment, the USB is used for a user to update the conversion protocol corresponding to the CAN and 485 in the processor chip, so that the user CAN maintain and update the protocol converter in this embodiment.
As a preferred solution of this embodiment, the model of the processor chip is STM32F103RET6.
As a preferred solution of this embodiment, please refer to fig. 2, this embodiment further includes: a face shell and a bottom shell; the face shell and the bottom shell are combined through assembling screws; the PCBA board is fixed between the bottom shell and the face shell through the assembling screws.
It should be noted that, in order to improve the safety of the protocol converter in an unattended environment where the protocol converter operates for a long time in a machine room, a cabinet, or the like, both the face shell and the bottom shell of the protocol converter of this embodiment are provided with fireproof layers, or are made of fireproof materials.
As the preferred scheme of this embodiment, the bottom shell is further provided with a guide rail buckle and a guide rail clamping groove.
Preferably, the guide rail clamping groove in the bottom shell is arranged in a standard 35mm guide rail installation mode and is placed in the electric box, so that the protocol converter is convenient to install and the circuit is neat.
The above embodiment is implemented, and has the following effects:
the technical scheme of the utility model through insert 2N 485 binding post, N CAN binding post to the treater chip in for a CAN wiring end CAN be connected and communicate with four 485 binding post of correspondence, thereby realizes steerable multiple type equipment, avoids data to pass thoroughly to the both ends data volume and mismatch the limitation that causes, has solved the problem that single way CAN binding post corresponds single way 485 binding post and leads to communication protocol conversion function singleness. Further, the utility model discloses still through the terminal matching resistance switch that sets up, realize according to circuit needs toggle switch, CAN accomplish CAN's terminal matching to the guide rail mounting means is placed in the electronic box, simple to operate, and circuit is neatly organized, has avoided the troublesome switched resistance of working a telephone switchboard to be in the condition that there is the risk in the outer end
The above-mentioned embodiments further describe the objects, technical solutions and advantages of the present invention in detail, it should be understood that the above-mentioned embodiments are only examples of the present invention, and are not intended to limit the scope of the present invention. It should be understood that any modification, equivalent replacement, or improvement made by those skilled in the art without departing from the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (6)
1. A protocol converter, comprising: the device comprises a PCBA board, and 2N 485 connection terminals, N CAN connection terminals and a processor chip which are arranged on the PCBA board; wherein N is a natural number;
the processor chip is respectively connected with the 485 wiring terminals and the CAN wiring terminals, so that every four adjacent 485 wiring terminals are connected with one CAN wiring terminal.
2. The protocol converter as claimed in claim 1, wherein the 485 terminal is a 4-bit RS485 terminal and the CAN terminal is a 4-bit power CAN terminal.
3. A protocol converter according to claim 1, wherein the PCBA board further has mounted thereon a termination matching resistance switch, an address dial switch and a USB;
the processor chip is respectively connected with the terminal matching resistance switch, the address dialing switch and the USB.
4. A protocol converter according to claim 3, wherein the termination-matching resistor switch is a 1-bit CAN termination-matching resistor switch and the address dial switch is an 8-bit direct-dialing switch.
5. The protocol converter of claim 1, further comprising: a face shell and a bottom shell; the face shell and the bottom shell are combined through assembling screws;
the PCBA board passes through the equipment screw fixation in the drain pan with between the face-piece.
6. The protocol converter of claim 5, wherein the bottom shell is further provided with a rail clip and a rail slot.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202222520455.9U CN218217402U (en) | 2022-09-22 | 2022-09-22 | Protocol converter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202222520455.9U CN218217402U (en) | 2022-09-22 | 2022-09-22 | Protocol converter |
Publications (1)
Publication Number | Publication Date |
---|---|
CN218217402U true CN218217402U (en) | 2023-01-03 |
Family
ID=84638036
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202222520455.9U Active CN218217402U (en) | 2022-09-22 | 2022-09-22 | Protocol converter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN218217402U (en) |
-
2022
- 2022-09-22 CN CN202222520455.9U patent/CN218217402U/en active Active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101052078B (en) | Telephone communication system and method over local area network wiring | |
CN110289972B (en) | Network equipment and network system based on Ethernet | |
GR3001245T3 (en) | Divider device, particularly for the main divider of telecommunication installations | |
CN218217402U (en) | Protocol converter | |
CN108337095A (en) | G.fast SFP modules | |
CN109547108A (en) | ONT Optical Network Terminal and system | |
CN218450710U (en) | CAN concentrator | |
CN210297737U (en) | Voice IP access equipment | |
CN211454260U (en) | Multi-service composite bus centralized controller and networking system thereof | |
CN204316519U (en) | Numeral and simulation hybrid switching machine | |
AU2003266878A1 (en) | Electric power bar | |
CN108650129A (en) | A kind of computer network comprehensive wiring construction method | |
CN215896911U (en) | Extension fills data line soon | |
CN213366989U (en) | Adapter and data transmission system | |
CN2459821Y (en) | Normal type cable TV data phonetic connection modular | |
CN215956411U (en) | Remote communication device | |
CN216086678U (en) | Automatic testing arrangement of intelligent terminal based on ethernet | |
CN201039155Y (en) | Power cable access terminal device | |
CN2314239Y (en) | Lamp holder with sockets for power source and signal unit | |
CN216351827U (en) | Intelligent household power supply terminal control module with wireless function | |
CN214046019U (en) | Electronic table card and electronic table card system | |
CN211152008U (en) | Wired intercom terminal and telephone | |
CN209913970U (en) | Intelligent projector | |
CN202334683U (en) | Communication system | |
CN2416672Y (en) | Long-distance monitoring distributing exchanger |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |