CN206294203U - A kind of serial ports expansion device for supporting various protocols to transmit - Google Patents

A kind of serial ports expansion device for supporting various protocols to transmit Download PDF

Info

Publication number
CN206294203U
CN206294203U CN201621311834.5U CN201621311834U CN206294203U CN 206294203 U CN206294203 U CN 206294203U CN 201621311834 U CN201621311834 U CN 201621311834U CN 206294203 U CN206294203 U CN 206294203U
Authority
CN
China
Prior art keywords
serial
port unit
chip microcomputer
serial port
equipment
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
Application number
CN201621311834.5U
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.)
ENN Science and Technology Development Co Ltd
Original Assignee
ENN Science and Technology Development Co Ltd
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 ENN Science and Technology Development Co Ltd filed Critical ENN Science and Technology Development Co Ltd
Priority to CN201621311834.5U priority Critical patent/CN206294203U/en
Application granted granted Critical
Publication of CN206294203U publication Critical patent/CN206294203U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The utility model provides a kind of serial ports expansion device for supporting various protocols, described device by single-chip microcomputer by single serial ports expansion for multiple from serial ports, it is accessible from serial equipment quantity on main serial equipment so as to increase, simultaneously because single-chip microcomputer can be with compatible different transmission rate and communication protocol, so as to enhance the compatibility and practicality of expanding unit.Described device includes:Main serial port unit, single-chip microcomputer and from serial port unit.

Description

A kind of serial ports expansion device for supporting various protocols to transmit
Technical field
The utility model is related to field of data transmission, and more particularly, to a kind of string for supporting various protocols to transmit Mouth expanding unit.
Background technology
Current Internet of Things market radio communication is very chaotic, topmost communication mode be ZigBee protocol Zigbee, bluetooth, WIFI, 433MHZ 2.4G, if will compatible radio communication most of on the market, it is necessary to a kind of method is representative mould Block is integrated into a kind of equipment, for example home gateway.It is serial communication that market upper module has the interface for representing very much, but gateway one Individual serial ports is at all not enough, so lacking a kind of simple extension, supports different baud rates, the side of the serial ports expansion of communication protocol Method.
The content of the invention
In order to solve the above problems, there is provided a kind of serial ports expansion device for supporting various protocols to transmit, including:
Main serial port unit, is connected with main serial equipment and sends the control command of main serial equipment to single-chip microcomputer, and For receiving the data of single-chip microcomputer transmission and sending main serial equipment to;
Single-chip microcomputer, for the control command of the main serial equipment received from the main serial port unit to be carried out into protocol conversion, So as to control command to be converted to the control command of different agreement type and will be controlled according to the protocol type of control command to order Order is transmitted to accordingly from serial port unit, and the data from serial equipment that will be received from serial port unit carry out protocol conversion, from And convert data to same form and be sent to main serial port unit;And
Multiple from serial port unit, each from serial port unit with corresponding from serial equipment connection, and for will be from list The control command that piece machine is received be sent to it is corresponding from serial equipment and the data is activation that will be sent from serial equipment from multiple to Single-chip microcomputer.
Preferably, it is the multiple from serial port unit be 4 from serial port unit.
Preferably, connected using different agreement type by 4 different serial port units 4 of the single-chip microcomputer are set from serial ports Standby, the single-chip microcomputer and 4 are from the mutual transmission that data are carried out between serial equipment, and the single-chip microcomputer passes through different agreement pair 4 are controlled from serial equipment.
Preferably, there are 4 different buffer areas in the single-chip microcomputer inside, and 4 different buffer areas correspond to 4 respectively It is individual from serial equipment.
Preferably, there are 4 different data processing modules, 4 different data processings in the single-chip microcomputer inside Module corresponds to 4 from serial port unit respectively.
Preferably, the data processing module can be changed to various protocols.
Preferably, it is the multiple to be physically separated between serial port unit, set not from serial equipment with for different Same baud rate.
The utility model goes out multiple from serial ports by single-chip microcomputer extension, thus increase on main serial equipment it is accessible from Serial equipment quantity, simultaneously because single-chip microcomputer can make the dress after serial ports expansion with compatible different transmission rate and communication protocol Compatibility and the practicality enhancing put.
Brief description of the drawings
By reference to the following drawings, illustrative embodiments of the present utility model can be more fully understood by:
Structural representations of the Fig. 1 according to the serial ports expansion device of the utility model preferred embodiment.
Specific embodiment
With reference now to accompanying drawing, illustrative embodiments of the present utility model are introduced, however, the utility model can use many Different forms is implemented, and is not limited to embodiment described herein, there is provided these embodiments are in order at large and complete The utility model is disclosed entirely, and scope of the present utility model is fully passed on to person of ordinary skill in the field.For Term in the illustrative embodiments being illustrated in the accompanying drawings is not to restriction of the present utility model.In the accompanying drawings, identical Cells/elements use identical reference.
Unless otherwise indicated, term (including scientific and technical terminology) used herein has to person of ordinary skill in the field It is common to understand implication.Further it will be understood that the term limited with usually used dictionary, is appreciated that and it The linguistic context of association area has consistent implication, and is not construed as Utopian or excessively formal meaning.
Fig. 1 is the structural representation of the serial ports expansion device according to the utility model preferred embodiment.As shown in figure 1, branch Hold various protocols transmitting serial port and expand rotary device 100 mainly by main serial port unit 10, single-chip microcomputer 11 and multiple from serial port unit group Into.Main serial equipment is connected by main serial port unit 10 with single-chip microcomputer 11, to realize between main serial equipment and single-chip microcomputer 11 Data communication, it is main to include for the control command of main serial equipment being sent to single-chip microcomputer 11, meanwhile, connect by main serial port unit 10 Receive the data message sent from single-chip microcomputer 11.
Preferably, single-chip microcomputer 11 is connected to main serial equipment and multiple between serial equipment, for carrying out data protocol Conversion, unification and complete main serial equipment and from the data communication between serial equipment.When row data communication is entered, single-chip microcomputer The control command of the main serial equipment received from the main serial port unit 10 is carried out protocol conversion by 11, so as to control command be turned It is changed to the control command of different agreement type and control command is transmitted to using corresponding according to the protocol type of control command Communication protocol from serial port unit;At the same time, single-chip microcomputer 11 can also receive the difference sent from serial port unit from multiple The data of the different agreement type sent from serial equipment, and the data of the different agreement type are changed, be converted to The protocol type that main serial equipment can be used, is last transmitted to main serial port unit 10, to reach the purpose of data communication.Example Such as, the agreement that main serial equipment is used be 645,4 agreement respectively CJ/T-188 used from serial equipment of DLT, Modbus, GW376.2 and nonstandard self-defined, when main serial equipment passes on a control command, by control command by master Serial port unit 10 is sent to single-chip microcomputer 11, and control command is sent to each from string by single-chip microcomputer 11 after control command is received In the corresponding data processing module of jaws equipment, by control command from the protocol conversions of DLT 645 for this from serial port unit it is corresponding from Agreement CJ/T-188, Modbus that serial equipment is used, GW376.2 and nonstandard self-defined, and by corresponding from serial ports list Be sent to for control command after protocol conversion corresponding from serial equipment by unit.
Preferably, it is multiple from serial port unit the utility model include from serial port unit 121, from serial port unit 122, from Serial port unit 123 and from serial port unit 124, each from serial port unit carried out with one actual operation from serial equipment phase Even.From serial equipment by data by being sent to single-chip microcomputer from serial port unit, and sent by receiving single-chip microcomputer from serial port unit The control command assigned of main serial equipment.Preferably, described is to separate from physical connection between serial port unit, therefore often It is individual from serial port unit in connection from after serial equipment, when carrying out data transmission, can be according to from serial equipment or reality Need to set different baud rates.
Preferably, 4 different buffer areas are also included in single-chip microcomputer 11, correspond to respectively 4 it is different from serial equipment, when After from the data is activation of serial equipment to single-chip microcomputer 11, deposit in respective buffer area etc. it is pending, so as to avoiding because Main serial equipment just hurries and loses the consequence of data.
The utility model is described by reference to a small amount of implementation method.However, it is known in those skilled in the art, As subsidiary Patent right requirement is limited, except the utility model other embodiments disclosed above equally fall In the range of the utility model.
Normally, all terms for using in the claims are all solved according to them in the usual implication of technical field Release, unless clearly defined in addition wherein.It is all of to be all opened ground with reference to " one/described/be somebody's turn to do [device, component etc.] " At least one of described device, component etc. example is construed to, unless otherwise expressly specified.Any method disclosed herein Step need not all be run with disclosed accurate order, unless explicitly stated otherwise.

Claims (7)

1. it is a kind of support various protocols transmit serial ports expansion device, including:
Main serial port unit, is connected with main serial equipment and sends the control command of main serial equipment to single-chip microcomputer, and be used for Receive the data of single-chip microcomputer transmission and send main serial equipment to;
Single-chip microcomputer, for the control command of the main serial equipment received from the main serial port unit to be carried out into protocol conversion, so that Control command is converted into the control command of different agreement type and according to the protocol type of control command is turned control command Issue corresponding from serial port unit, and the data from serial equipment that will be received from serial port unit carry out protocol conversion, so that will Data are converted to same form and are sent to main serial port unit;And
Multiple from serial port unit, each from serial port unit with corresponding from serial equipment connection, and for will be from single-chip microcomputer The control command of reception be sent to it is corresponding from serial equipment and the data is activation that will be sent from serial equipment to single-chip microcomputer.
2. device according to claim 1, it is the multiple from serial port unit be 4 from serial port unit.
3. device according to claim 1, it is characterised in that the single-chip microcomputer is connected by 4 different serial port units to be made With 4 of different agreement type from serial equipment, the single-chip microcomputer and 4 are from the mutual biography that data are carried out between serial equipment It is defeated, and the single-chip microcomputer is controlled to 4 by different agreement from serial equipment.
4. device according to claim 1, it is characterised in that the single-chip microcomputer inside has 4 different buffer areas, institute State 4 different buffer areas and correspond to 4 from serial equipment respectively.
5. device according to claim 1, it is characterised in that the single-chip microcomputer inside has 4 different data processings Module, 4 different data processing modules correspond to 4 from serial port unit respectively.
6. device according to claim 5, it is characterised in that the data processing module can be turned to various protocols Change.
7. device according to claim 1, it is characterised in that the multiple to be physically separated between serial port unit, with Different baud rates are set from serial equipment for different.
CN201621311834.5U 2016-12-01 2016-12-01 A kind of serial ports expansion device for supporting various protocols to transmit Active CN206294203U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201621311834.5U CN206294203U (en) 2016-12-01 2016-12-01 A kind of serial ports expansion device for supporting various protocols to transmit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201621311834.5U CN206294203U (en) 2016-12-01 2016-12-01 A kind of serial ports expansion device for supporting various protocols to transmit

Publications (1)

Publication Number Publication Date
CN206294203U true CN206294203U (en) 2017-06-30

Family

ID=59097948

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201621311834.5U Active CN206294203U (en) 2016-12-01 2016-12-01 A kind of serial ports expansion device for supporting various protocols to transmit

Country Status (1)

Country Link
CN (1) CN206294203U (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108345558A (en) * 2017-12-29 2018-07-31 河南平高电气股份有限公司 It is a kind of that the RS485 collection of multi-protocols is supported to match unit
CN109474798A (en) * 2018-12-28 2019-03-15 安徽三人信息科技有限公司 A kind of serial ports conversion HDMI display device
CN110666406A (en) * 2019-10-19 2020-01-10 北京航空航天大学 Superaudio square wave pulse polarity-changing welding control system and control method thereof
CN113886301A (en) * 2021-10-19 2022-01-04 东莞市艾特姆射频科技有限公司 Multi-serial port multi-protocol RFID data compatible conversion method
CN114647597A (en) * 2022-03-22 2022-06-21 杭州迪普科技股份有限公司 Serial port conversion method and device of CPU

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108345558A (en) * 2017-12-29 2018-07-31 河南平高电气股份有限公司 It is a kind of that the RS485 collection of multi-protocols is supported to match unit
CN108345558B (en) * 2017-12-29 2020-02-21 河南平高电气股份有限公司 RS485 centralized configuration unit supporting multiple protocols
CN109474798A (en) * 2018-12-28 2019-03-15 安徽三人信息科技有限公司 A kind of serial ports conversion HDMI display device
CN110666406A (en) * 2019-10-19 2020-01-10 北京航空航天大学 Superaudio square wave pulse polarity-changing welding control system and control method thereof
CN113886301A (en) * 2021-10-19 2022-01-04 东莞市艾特姆射频科技有限公司 Multi-serial port multi-protocol RFID data compatible conversion method
CN114647597A (en) * 2022-03-22 2022-06-21 杭州迪普科技股份有限公司 Serial port conversion method and device of CPU

Similar Documents

Publication Publication Date Title
CN206294203U (en) A kind of serial ports expansion device for supporting various protocols to transmit
CN207184521U (en) Internet of Things Multifunctional gateway based on NB IoT
CN104702438B (en) PE device management methods and device
CN104796222A (en) A CAN baud-rate automatic matching method
US11018893B2 (en) Switch device for an automation network
CN101317476A (en) Topological structure scanning method and scanning system
CN105743757A (en) Free networking method of RS485 communication terminal
CN104717050B (en) Multiframe rate system
US9019959B2 (en) Node, switch, and system
CN101420386B (en) Multi-field integrated metering network interconnecting routing method
CN110253571A (en) A kind of robot control method based on 5G
CN101140558A (en) Embedded system and satellite communication method thereof
CN105703618A (en) Circuit for realizing large-power power supply by using routine POE and implementation method
CN204993390U (en) A two transmission system for data collection station
CN103392315A (en) Station, target apparatus, initiator apparatus, communication system, and communication method
CN108886488A (en) Sensors relay device and sensors relay system
EP2336896B1 (en) Serial communication module with multiple receiver/transmitters
CN107634862B (en) Wireless modbus system based on Lora technology
CN105933158B (en) The self-adapting intelligent gateway accessing method of the more plane multisystems of multirouting
CN107229586B (en) Communication means based on RS485 bridge circuit device
CN1937630A (en) System and component for realizing first component and second component communication
CN107508737A (en) Radio communication device and its communication means based on EtherCAT
CN109328449A (en) RTEX-EtherCAT protocol conversion apparatus and industrial control system
CN108363322B (en) Engineering machinery control module, work machine control system and method
CN106506304A (en) Extendible communication system and method

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant