CN102004714A - General type serial bus communication device - Google Patents

General type serial bus communication device Download PDF

Info

Publication number
CN102004714A
CN102004714A CN 201010582318 CN201010582318A CN102004714A CN 102004714 A CN102004714 A CN 102004714A CN 201010582318 CN201010582318 CN 201010582318 CN 201010582318 A CN201010582318 A CN 201010582318A CN 102004714 A CN102004714 A CN 102004714A
Authority
CN
China
Prior art keywords
communication
interface
serial bus
serial
microprocessor
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.)
Granted
Application number
CN 201010582318
Other languages
Chinese (zh)
Other versions
CN102004714B (en
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.)
Nanjing Sciyon Automation Group Co Ltd
Original Assignee
Nanjing Sciyon Automation Group 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 Nanjing Sciyon Automation Group Co Ltd filed Critical Nanjing Sciyon Automation Group Co Ltd
Priority to CN201010582318A priority Critical patent/CN102004714B/en
Publication of CN102004714A publication Critical patent/CN102004714A/en
Application granted granted Critical
Publication of CN102004714B publication Critical patent/CN102004714B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Communication Control (AREA)

Abstract

The invention discloses a general type serial bus communication device comprising a first serial communication interface, a second serial communication interface, a first isolation module, a second isolation module, a configuration interface, a nonvolatile storage and an embedded microprocessor, wherein the first serial communication interface is connected with the embedded microprocessor through the first isolation module; the second serial communication interface is connected with the embedded microprocessor through the second isolation module; the configuration interface as a configuration channel is connected with the embedded microprocessor; and the embedded microprocessor interactively is used for carrying out communication with the first serial communication interface and the second serial communication interface according to configuration information from the configuration interface in accordance with a specified communication protocol and storing communication information in the nonvolatile storage. The general type serial bus communication device has high sensitivity and strong generality and can be used for configuring the communication parameters through the configuration interface on the basis of no modification of hardware, thereby realizing the communication of a multi-protocol serial bus.

Description

A kind of universal serial bus communication device
Technical field
The present invention relates to a kind of bus communication device, the universal serial bus communication device of specifically a kind of multi-protocols.
Background technology
Along with information and development of computer, increasing commercial unit uses digital form to carry out the information interaction communication.Advantages such as the universal serial bus mode is simple in structure with it, layout and maintenance cost are low become the first-selection of setting up the digitizing communication network, and common electric stipulations have RS-232 bus, RS-422 bus, RS-485 bus.But in existing serial bus communication, different manufacturers tends to select different communications protocol, and widely used serial communication protocol has: MODBUS RTU, MODBUS ASCII, HDLC, CDT, IEC103, IEC104 etc.When these equipment of use, must or purchase corresponding communication module and could realize and the communication of this equipment that this has brought a series of difficulty for the equipment operation and maintenance by exploitation.
Summary of the invention
In order to overcome the inconsistent difficulty that causes of existing equipment serial bus communication agreement, the purpose of this invention is to provide a kind of universal serial bus communication device, this installs highly versatile, support common MODBUS RTU, MODBUS ASCII, HDLC, CDT, IEC103, IEC104, by of the conversion of this device to different serial communication protocols, can realize easily the serial bus equipment of various protocols is carried out communication, overcome the difficulty in the equipment operation and maintenance, simultaneously also utilize user's existing device better, prevented the repetition of investment.
The objective of the invention is to be achieved through the following technical solutions:
A kind of universal serial bus communication device is characterized in that: this device comprises first serial communication interface, second serial communication interface, first isolation module, second isolation module, configuration interface, nonvolatile memory and microprocessor; First serial communication interface is connected with microprocessor by first isolation module; Second serial communication interface is connected with microprocessor by second isolation module; Configuration interface as collocation channel is connected with microprocessor; Microprocessor is according to from the configuration information of configuration interface, and it is mutual to carry out communication by the communications protocol of appointment and first serial communication interface and second serial communication interface, and communication information is kept in the nonvolatile memory.
Among the present invention, described microprocessor is an embedded microprocessor.Configuration interface is the collocation channel of multi-protocols serial bus communication device.Embedded microprocessor is according to from the configuration information of configuration interface, by the communications protocol of appointment respectively first serial communication interface and second serial communication interface to carry out communication mutual; Nonvolatile memory is used to realize the preservation of communication information.The embedded microprocessor support includes but not limited to that MODBUS RTU, MODBUS ASCII, HDLC, CDT, IEC103, IEC104 etc. are at interior multi-protocols serial communication protocol.
Among the present invention, described first data communication interface, second data communication interface can switch to support RS-485 communication modes or RS-232 communication modes by internal circuit.First isolation module, second isolation module can be changed according to different electrical isolation class requirements.
The present invention can support more serial bus communication agreement by the configuration interface embedded microprocessor firmware of upgrading on the basis that does not change hardware.
The present invention has following advantage:
(1) the two-way serial communication interface is isolated on electric fully, improves the reliability of industry spot communication.
(2) data communication interface is supported RS-485 communication modes or RS-232 communication modes simultaneously, adapts to the distinct device electric interfaces.
(3) serial bus communication combination of protocols mode flexibly makes to possess serial bus equipment in a large number and be easy to obtain in industrial control system use.
(4) possess the function of extended serial bus protocol, lay a good foundation, effectively protect customer investment for the use of novel serial bus equipment.
Compared with prior art, isolation module of the present invention can require to change according to different isolation Levels, realized that communication data input channel and output channel isolate on electric fully, reduced the interference between two different serial communication bus, guaranteed the stable, reliable of total system communication.
The present invention is a kind of multi-protocols serial bus communication device, highly versatile.After being configured by configuration interface, can be implemented between the serial communication protocols such as MODBUS RTU, MODBUS ASCII, HDLC, CDT, IEC103, IEC104 and change, can use different communication type equipment.And by configuration interface, can realize support, possess the function of extended serial bus protocol, utilize user's existing device better more serial bus communication agreements.
Description of drawings
Fig. 1 is a structural representation of the present invention;
Fig. 2 is system's connection layout of user mode of the present invention.
Embodiment
A kind of universal serial bus communication device of the present invention, see Fig. 1, this device comprises first serial communication interface 1, second serial communication interface 2, first isolation module 3, second isolation module 4, configuration interface 5, nonvolatile memory 6 and embedded microprocessor 7.The communication interface of two kinds of different agreements that first serial communication interface 1, second serial communication interface 2 are supported as this communication device is connected with embedded microprocessor 7 by first isolation module 3, second isolation module 4 respectively.Configuration interface 5 is that the collocation channel of universal serial bus communication device is connected with embedded microprocessor.Embedded microprocessor is according to from the configuration information of configuration interface, and to carry out communication mutual with first serial communication interface and second serial communication interface respectively by the communications protocol of appointment; Nonvolatile memory is used to realize the preservation of communication information.
Fig. 2 is system's connection layout of user mode of the present invention.The present invention specifies as follows:
1, the two-way serial communication interface is isolated on electric fully.
In actual serial bus communication network, because two kinds of employed power supply reference planes of different universal serial bus are inconsistent, generally can there be the common mode voltage of certain amplitude in the two ends that add universal serial bus, if two kinds of universal serial bus are not isolated, very easily original serial bus communication is caused interference, more likely can cause permanent damages the equipment that inserts on the universal serial bus.Therefore first serial communication interface, second serial communication interface of these multi-protocols serial bus communication device are isolated by first isolation module, second isolation module respectively, and the two-way serial communication interface has been realized isolating fully on electric.
In order to adapt to the requirement of different electrical isolation grades, the present invention is designed to replaceable module with first isolation module, second isolation module when hardware design in addition, and the user can change according to the actual requirements, has improved the cost performance of this device.
2, data communication interface is supported RS-485 bus or RS-232 bus simultaneously.
RS-485 bus and RS-232 bus are two kinds of common electric stipulations of serial communication bus, for improving the adaptability of the present invention to the electric stipulations equipment of difference, by the commutation circuit of first serial communication interface, the second serial communication interface inside, can realize support simultaneously to RS-485 bus and two kinds of electric stipulations of RS-232 bus.
3, serial bus communication combination of protocols mode flexibly.
Because the present invention is used to be implemented in communication between the universal serial bus of different agreement, therefore need be configured combination to the serial communication protocol that the dual serial communication interface uses.The user uses equipment such as PC or PDA to be connected with the configuration interface of this device by USB cable, by upper computer software the Communication book device is configured, comprise electric stipulations, serial communication protocol of use etc., configuration information is stored in the nonvolatile memory of this device.
Use this kind mode, can on the basis of using same bus communication device, realize communication combination different serial communication protocol equipment.This equipment disposition is flexible, has brought convenience for user's operation and maintenance, has effectively reduced user's cost and risk.
4, the function that possesses the extended serial bus protocol.
The present invention supports serial communication protocols such as common MODBUS RTU, MODBUS ASCII, HDLC, CDT, IEC103, IEC104.By upgrading the inner firmware program of this device, on the basis that does not change this device hardware, can support more serial communication protocols, realize function to the extended serial bus protocol.Firmware program can carry out online upgrading by the configuration interface of this device, need not outage and dismounting, can increase this and install spendable scope by the user from line operate fully.

Claims (6)

1. universal serial bus communication device, it is characterized in that: this device comprises first serial communication interface (1), second serial communication interface (2), first isolation module (3), second isolation module (4), configuration interface (5), nonvolatile memory (6) and microprocessor (7); First serial communication interface (1) is connected with microprocessor (7) by first isolation module (3); Second serial communication interface (2) is connected with microprocessor (7) by second isolation module (4); Configuration interface (5) as collocation channel is connected with microprocessor (7); Microprocessor (7) is according to from the configuration information of configuration interface (5), and it is mutual to carry out communication by the communications protocol of appointment and first serial communication interface (1) and second serial communication interface (2), and communication information is kept in the nonvolatile memory (6).
2. universal serial bus communication device according to claim 1 is characterized in that: described microprocessor (7) is an embedded microprocessor.
3. universal serial bus communication device according to claim 1 is characterized in that: first isolation module (1), second isolation module (2) are changed according to different electrical isolation class requirements.
4. universal serial bus communication device according to claim 1 is characterized in that: described first data communication interface (1), second data communication interface (2) switch by circuit supports RS-485 communication modes or RS-232 communication modes.
5. universal serial bus communication device according to claim 1 is characterized in that: microprocessor (7) support comprises the agreement serial communication protocol of MODBUS RTU, MODBUS ASCII, HDLC, CDT, IEC103, IEC104.
6. universal serial bus communication device according to claim 1 is characterized in that: described microprocessor (7) is upgraded by configuration interface (5).
CN201010582318A 2010-12-10 2010-12-10 General type serial bus communication device Active CN102004714B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010582318A CN102004714B (en) 2010-12-10 2010-12-10 General type serial bus communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010582318A CN102004714B (en) 2010-12-10 2010-12-10 General type serial bus communication device

Publications (2)

Publication Number Publication Date
CN102004714A true CN102004714A (en) 2011-04-06
CN102004714B CN102004714B (en) 2012-10-10

Family

ID=43812086

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010582318A Active CN102004714B (en) 2010-12-10 2010-12-10 General type serial bus communication device

Country Status (1)

Country Link
CN (1) CN102004714B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102855211A (en) * 2012-09-20 2013-01-02 浙江禾川科技股份有限公司 Universal serial bus-balanced voltage digital interface converter
CN105045757A (en) * 2015-07-01 2015-11-11 天津国芯科技有限公司 Method and apparatus for implementing serial communication protocol by using microprocessor
CN105049432A (en) * 2015-07-09 2015-11-11 贵州电网公司六盘水供电局 Protocol conversion method of Ethernet based on real-time data bus and 2M multiplex channel
CN112484314A (en) * 2020-12-11 2021-03-12 万家乐热能科技有限公司 General communication interface for gas heating water heater
CN112799989A (en) * 2020-12-31 2021-05-14 深圳市共济科技股份有限公司 Interface switching circuit and communication device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI588636B (en) * 2015-12-01 2017-06-21 亞智科技股份有限公司 Method for controlling industry equipment, and system for controlling industry equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2705827Y (en) * 2004-06-07 2005-06-22 上海电器科学研究所(集团)有限公司 On-site bus communication protocol converter
CN1956095A (en) * 2005-10-28 2007-05-02 鸿富锦精密工业(深圳)有限公司 Storage device for supporting multiple communication interface
CN101188488A (en) * 2007-07-30 2008-05-28 郑州春泉暖通节能设备有限公司 Control method and device for half duplex communication receiving/transmission

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2705827Y (en) * 2004-06-07 2005-06-22 上海电器科学研究所(集团)有限公司 On-site bus communication protocol converter
CN1956095A (en) * 2005-10-28 2007-05-02 鸿富锦精密工业(深圳)有限公司 Storage device for supporting multiple communication interface
CN101188488A (en) * 2007-07-30 2008-05-28 郑州春泉暖通节能设备有限公司 Control method and device for half duplex communication receiving/transmission

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102855211A (en) * 2012-09-20 2013-01-02 浙江禾川科技股份有限公司 Universal serial bus-balanced voltage digital interface converter
CN102855211B (en) * 2012-09-20 2015-04-22 浙江禾川科技股份有限公司 Universal serial bus-balanced voltage digital interface converter
CN105045757A (en) * 2015-07-01 2015-11-11 天津国芯科技有限公司 Method and apparatus for implementing serial communication protocol by using microprocessor
CN105049432A (en) * 2015-07-09 2015-11-11 贵州电网公司六盘水供电局 Protocol conversion method of Ethernet based on real-time data bus and 2M multiplex channel
CN105049432B (en) * 2015-07-09 2018-03-13 贵州电网公司六盘水供电局 The method for converting protocol of Ethernet and 2M multiple connection passages based on real time data bus
CN112484314A (en) * 2020-12-11 2021-03-12 万家乐热能科技有限公司 General communication interface for gas heating water heater
CN112484314B (en) * 2020-12-11 2023-09-19 万家乐热能科技有限公司 Universal communication interface for gas heating water heater
CN112799989A (en) * 2020-12-31 2021-05-14 深圳市共济科技股份有限公司 Interface switching circuit and communication device
CN112799989B (en) * 2020-12-31 2022-02-18 深圳市共济科技股份有限公司 Interface switching circuit and communication device

Also Published As

Publication number Publication date
CN102004714B (en) 2012-10-10

Similar Documents

Publication Publication Date Title
CN102004714B (en) General type serial bus communication device
US9885739B2 (en) Intelligent electronic device capable of operating as a USB master device and a USB slave device
CN101404001B (en) Serial port signal and USB signal compatible control circuit board and communication data cable
CN202872406U (en) Interface multiplexing circuit and mobile terminal
CN203366312U (en) Household appliance upgrading system and household appliance
US20170194756A1 (en) Usb data cable containing extension interface and control method thereof
EP3651474B1 (en) System on a module for smart grid nodes
CN106774038B (en) Environment monitoring or monitoring data acquisition and transmission instrument
CN103107880B (en) Safety certification device
CN103530250A (en) Portable electronic device and accessory device thereof, and operating method for the portable electronic device
CN102185972B (en) Novel mobile terminal software upgrading system and method as well as mobile terminal
CN203119213U (en) Power supply connection equipment
CN102681963A (en) Electronic equipment, charging or upgrading processing method thereof and charging or upgrading switching circuit thereof
CN103576544A (en) Terminal with OTG function
CN102891409A (en) Power supply connecting device
CN103475385B (en) A kind of radio communication device of multiplex roles
CN206363306U (en) A kind of terminal and its serial communication circuit
CN202939447U (en) Data acquisition controller
CN100547521C (en) The multiple level converter of mobile communication terminal
CN203537377U (en) Wireless communication device with multiple interfaces
CN103294637B (en) Based on the Magnetic isolation data input/output module of ARM adaptive direction control
CN202696720U (en) Network telephone exchange all-in-one machine
CN205281682U (en) Tax is manipulated stock quotations
CN204793461U (en) Wiring board of network communication can carry out
CN110047550A (en) data storage device, memory control circuit and monitoring method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant