CN103516669A - Adaptive multi-protocol converter - Google Patents
Adaptive multi-protocol converter Download PDFInfo
- Publication number
- CN103516669A CN103516669A CN201210206412.1A CN201210206412A CN103516669A CN 103516669 A CN103516669 A CN 103516669A CN 201210206412 A CN201210206412 A CN 201210206412A CN 103516669 A CN103516669 A CN 103516669A
- Authority
- CN
- China
- Prior art keywords
- adaptive multi
- circuit
- interface
- protocol
- ethernet
- 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.)
- Pending
Links
Landscapes
- Communication Control (AREA)
Abstract
The invention provides an adaptive multi-protocol converter which comprises a main controller, CAN transmitting and receiving circuits, RS232 interface circuits, RS485 interface circuits and an Ethernet transmitting and receiving circuit, wherein the CAN transmitting and receiving circuits, the RS232 interface circuits, the RS485 interface circuits and the Ethernet transmitting and receiving circuit are externally connected with the main controller. Through the four interface modes, namely, RS232, RS485, CAN and Ethernet, the versatility and the reusability of the multi-protocol converter are achieved, iterative development and resource waste are reduced, and cost is saved.
Description
Technical field
The present invention relates to communication technical field, relate in particular to a kind of intelligent Multi-protocol converter of Auto-matching formula.
Background technology
At present, extensive popularization along with intelligent communication control technology, the automatic control equipment of every profession and trade uses more and more general, but because the equipment application of each family there are differences, the production technology relating to also has his own strong points, the technical standard of many industry fields is disunity also, in the process of therefore integrating in large scale system, tends to run into inter-device communication interface and the inconsistent problem of agreement, and the energy that need to cost a lot of money removes to coordinate the communication interface standard between distinct device.One of solution is to select or the protocol converter of self-developing special use, but reusability is not high, will cause repeatedly overlapping development, greatly wastes resource, thereby has reduced the market competitiveness.
Use at present more wired communication interface mode to have: RS232, RS485, CAN, Ethernet.Standard agreement based on these distinct interfaces, the basis specific demand separately again of some industry, has derived various high-level communications protocol, as: MODBUS, DTL645-07 agreement are the application layer protocols based on RS485; CAL, CANOpen agreement are the application layer protocols based on CAN.
And the communication baud rate of different agreement interface support also exists very large difference, RS232 and the conventional baud rate of RS485 are 1200 ~ 19200bit/s at present; The baud rate of CAN bus can be up to 1Mb/s; The baud rate of Ethernet can be up to 100Mb/s.
Under the prerequisite that communication equipment both sides are only mated mutually at interface protocol, baud rate is identical, could realize the correct transmission of data.Common Multi-protocol converter function singleness, baud rate coupling all need manually or host computer configuration, and versatility and reusability are poor, use inconvenient.
Therefore, be necessary to provide a kind of adaptive multi-protocol transducer to overcome above deficiency.
Summary of the invention
The object of the present invention is to provide a kind of comprehensively, flexibly, reusability is high, the intelligent Multi-protocol converter of Auto-matching formula.
Correspondingly, a kind of adaptive multi-protocol transducer of the present invention, comprises master controller, the CAN transmission circuit of external master controller, RS232 interface circuit, RS485 interface circuit and Ethernet transmission circuit.
As a further improvement on the present invention, described CAN transmission circuit is two-way, and RS232 interface circuit is two-way, and RS485 interface circuit is two-way, too net transmission circuit Wei Yi road.
As a further improvement on the present invention, described master controller comprises 2 road CAN controllers, 4 road UART serial ports, 1 10/100M ethernet controller, No. 4 timers, 1 lcd controller.
As a further improvement on the present invention, described CAN transmission circuit adopts high-speed CAN bus transceiver, and does high speed optoelectronic isolation with high speed photo coupling, can connect the different CAN bus communication interface of two-way simultaneously and carry out protocol conversion.
As a further improvement on the present invention, described RS232 interface circuit adopts 1 chip of supporting two-way EIA-TTL level conversion, is connected to serial ports 0 and serial ports 1 that master controller has.
As a further improvement on the present invention, described RS485 interface circuit is comprised of transceiver and optocoupler.
As a further improvement on the present invention, described Ethernet transmission circuit is comprised of ethernet transceiver and the RJ45 interface with network transformer.
As a further improvement on the present invention, be also circumscribed with power supply detection and reset circuit, LCD communications status display circuit, key control circuit.
The invention has the beneficial effects as follows: adopt RS232, RS485, CAN, four kinds of interface modes of Ethernet, met versatility and the reusability of Multi-protocol converter, reduced various overlapping development and the wasting of resources, cost-saving.
Accompanying drawing explanation
Fig. 1 shows the structured flowchart of a kind of adaptive multi-protocol transducer of the present invention.
Fig. 2 shows the self adaptive flow schematic diagram of adaptive multi-protocol transducer of the present invention.
Embodiment
Below with reference to each execution mode shown in the drawings, describe the present invention.But these execution modes do not limit the present invention, the conversion in the structure that those of ordinary skill in the art makes according to these execution modes, method or function is all included in protection scope of the present invention.
As shown in Figure 1, adaptive multi-protocol transducer of the present invention comprises master controller 1, the CAN transmission circuit 2 of external master controller 1, RS232 interface circuit 3, RS485 interface circuit 4 and Ethernet transmission circuit 5.In addition, transducer is also circumscribed with power supply detection and reset circuit, LCD communications status display circuit, key control circuit.
Master controller has 2 road CAN controllers, 4 road UART serial ports, and 1 10/100M ethernet controller, No. 4 timers, 1 lcd controller, work dominant frequency can reach 72MHz, has 512KB flash and 98 KB RAM.Adopt it can improve level of integrated system and the operational efficiency of adaptive multi-protocol transducer, reduce exploitation complexity.
CAN transmission circuit comprises two-way, adopts high-speed CAN bus transceiver, and does high speed optoelectronic isolation with high speed photo coupling, and traffic rate can, up to 1Mbit/s, can connect the different CAN bus communication interface of two-way simultaneously and carry out protocol conversion.
RS232 interface circuit also comprises two-way, adopts 1 chip of supporting two-way EIA-TTL level conversion, is connected to serial ports 0 and serial ports 1(that master controller has not shown), traffic rate between 1200 ~ 19200bps by adaptive algorithm Auto-matching.
RS485 interface circuit also comprises two-way, transceiver and optocoupler, consists of, and traffic rate passes through adaptive algorithm Auto-matching between 1200 ~ 19200bps.
Ethernet transmission circuit only has a road, ethernet transceiver and the RJ45 interface with network transformer, consists of, and traffic rate is 100M.
On this Multi-protocol converter, any a-road-through letter interface can be realized the mutual conversion between two or more agreements arbitrarily as inputing or outputing, and this part work mainly has Software for Design partly to realize.Concrete ginseng Fig. 2 flow chart, adaptive algorithm is mainly to carry out Auto-matching for CAN, RS232 and these three kinds of interfaces of RS485.The mode of coupling has two kinds, and a kind of is polling method, has both traveled through possible several baud rates, successively mates, until successful matching; Another kind is bit rate estimation algorithm, both, by catching the start bit of standard testing frame and pulse figure place and timing between position of rest, calculates the time that each on average takies, and contrasts with standard baud rate, and getting immediate is communication baud rate.These two kinds of adaptive approachs can arrange by button according to the different demand of user.Selecting polling method to high, the ageing less demanding place of required precision, for ageing height, precision Di place, can select bit rate estimation algorithm.
Be to be understood that, although this specification is described according to execution mode, but not each execution mode only comprises an independently technical scheme, this narrating mode of specification is only for clarity sake, those skilled in the art should make specification as a whole, technical scheme in each execution mode also can, through appropriately combined, form other execution modes that it will be appreciated by those skilled in the art that.
Listed a series of detailed description is above only illustrating for feasibility execution mode of the present invention; they are not in order to limit the scope of the invention, all disengaging within equivalent execution mode that skill spirit of the present invention does or change all should be included in protection scope of the present invention.
Claims (8)
1. an adaptive multi-protocol transducer, is characterized in that: comprise master controller, the CAN transmission circuit of external master controller, RS232 interface circuit, RS485 interface circuit and Ethernet transmission circuit.
2. a kind of adaptive multi-protocol transducer according to claim 1, is characterized in that: described CAN transmission circuit is two-way, and RS232 interface circuit is two-way, and RS485 interface circuit is two-way, too net transmission circuit Wei Yi road.
3. a kind of adaptive multi-protocol transducer according to claim 2, is characterized in that: described master controller comprises 2 road CAN controllers 4 road UART serial ports, 1 10/100M ethernet controller, No. 4 timers, 1 lcd controller.
4. a kind of adaptive multi-protocol transducer according to claim 2, it is characterized in that: described CAN transmission circuit adopts high-speed CAN bus transceiver, and do high speed optoelectronic isolation with high speed photo coupling, can connect the different CAN bus communication interface of two-way simultaneously and carry out protocol conversion.
5. a kind of adaptive multi-protocol transducer according to claim 2, is characterized in that: described RS232 interface circuit adopts 1 chip of supporting two-way EIA-TTL level conversion, is connected to serial ports 0 and serial ports 1 that master controller has.
6. a kind of adaptive multi-protocol transducer according to claim 2, is characterized in that: described RS485 interface circuit is comprised of transceiver and optocoupler.
7. a kind of adaptive multi-protocol transducer according to claim 2, is characterized in that: described Ethernet transmission circuit is comprised of ethernet transceiver and the RJ45 interface with network transformer.
8. according to a kind of adaptive multi-protocol transducer described in any one in claim 1 to 7, it is characterized in that: be also circumscribed with power supply detection and reset circuit, LCD communications status display circuit, key control circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210206412.1A CN103516669A (en) | 2012-06-21 | 2012-06-21 | Adaptive multi-protocol converter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210206412.1A CN103516669A (en) | 2012-06-21 | 2012-06-21 | Adaptive multi-protocol converter |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103516669A true CN103516669A (en) | 2014-01-15 |
Family
ID=49898719
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210206412.1A Pending CN103516669A (en) | 2012-06-21 | 2012-06-21 | Adaptive multi-protocol converter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103516669A (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103986610A (en) * | 2014-06-04 | 2014-08-13 | 珠海格力电器股份有限公司 | Communication interface matching method, device and controller |
CN104104684A (en) * | 2014-07-23 | 2014-10-15 | 哈尔滨工程大学 | Field bus multi-protocol converter |
CN104539591A (en) * | 2014-12-12 | 2015-04-22 | 中国电子科技集团公司第二十二研究所 | Multi-protocol bus control device |
CN105068488A (en) * | 2015-09-22 | 2015-11-18 | 托肯恒山科技(广州)有限公司 | Intelligent communication controller applicable to a variety of communication interfaces and control method |
CN106131056A (en) * | 2016-08-17 | 2016-11-16 | 广州中国科学院沈阳自动化研究所分所 | A kind of wireless industrial adapter and method of work thereof |
CN106130991A (en) * | 2016-06-30 | 2016-11-16 | 北京东土军悦科技有限公司 | A kind of data forwarding method and device |
CN107357219A (en) * | 2017-08-30 | 2017-11-17 | 江南大学 | A kind of adaptive industrial gateway |
CN107980215A (en) * | 2016-08-31 | 2018-05-01 | 深圳配天智能技术研究院有限公司 | A kind of protocol converter and method for converting protocol |
CN109491362A (en) * | 2018-10-29 | 2019-03-19 | 广州虹科电子科技有限公司 | Multibus protocol testing device |
CN109672597A (en) * | 2017-10-17 | 2019-04-23 | 株洲中车时代电气股份有限公司 | A kind of control panel for train control system |
CN111371827A (en) * | 2018-12-26 | 2020-07-03 | 中兴通讯股份有限公司 | Data transmission method, device and computer readable storage medium |
CN113722252A (en) * | 2021-08-16 | 2021-11-30 | 北京图菱视频科技有限公司 | Communication protocol converter for mutual conversion between USB (Universal Serial bus), multi-channel serial port and CAN (controller area network) bus |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101789557A (en) * | 2010-01-29 | 2010-07-28 | 上海微小卫星工程中心 | Multifunctional interface conversion device |
CN201726413U (en) * | 2010-07-14 | 2011-01-26 | 天津市双源天瑞科技有限公司 | Communication manager |
CN102082742A (en) * | 2009-11-27 | 2011-06-01 | 中国科学院自动化研究所 | Intelligent network protocol conversion and communication control system |
-
2012
- 2012-06-21 CN CN201210206412.1A patent/CN103516669A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102082742A (en) * | 2009-11-27 | 2011-06-01 | 中国科学院自动化研究所 | Intelligent network protocol conversion and communication control system |
CN101789557A (en) * | 2010-01-29 | 2010-07-28 | 上海微小卫星工程中心 | Multifunctional interface conversion device |
CN201726413U (en) * | 2010-07-14 | 2011-01-26 | 天津市双源天瑞科技有限公司 | Communication manager |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103986610A (en) * | 2014-06-04 | 2014-08-13 | 珠海格力电器股份有限公司 | Communication interface matching method, device and controller |
CN104104684A (en) * | 2014-07-23 | 2014-10-15 | 哈尔滨工程大学 | Field bus multi-protocol converter |
CN104539591B (en) * | 2014-12-12 | 2017-10-20 | 中国电子科技集团公司第二十二研究所 | A kind of multiple protocol bus control device |
CN104539591A (en) * | 2014-12-12 | 2015-04-22 | 中国电子科技集团公司第二十二研究所 | Multi-protocol bus control device |
CN105068488A (en) * | 2015-09-22 | 2015-11-18 | 托肯恒山科技(广州)有限公司 | Intelligent communication controller applicable to a variety of communication interfaces and control method |
CN105068488B (en) * | 2015-09-22 | 2017-11-24 | 托肯恒山科技(广州)有限公司 | Suitable for the Intelligent communication controller and control method of various communication interfaces |
CN106130991A (en) * | 2016-06-30 | 2016-11-16 | 北京东土军悦科技有限公司 | A kind of data forwarding method and device |
CN106131056A (en) * | 2016-08-17 | 2016-11-16 | 广州中国科学院沈阳自动化研究所分所 | A kind of wireless industrial adapter and method of work thereof |
CN106131056B (en) * | 2016-08-17 | 2022-10-11 | 广州中国科学院沈阳自动化研究所分所 | Industrial wireless adapter and working method thereof |
CN107980215A (en) * | 2016-08-31 | 2018-05-01 | 深圳配天智能技术研究院有限公司 | A kind of protocol converter and method for converting protocol |
CN107357219A (en) * | 2017-08-30 | 2017-11-17 | 江南大学 | A kind of adaptive industrial gateway |
CN109672597A (en) * | 2017-10-17 | 2019-04-23 | 株洲中车时代电气股份有限公司 | A kind of control panel for train control system |
CN109491362A (en) * | 2018-10-29 | 2019-03-19 | 广州虹科电子科技有限公司 | Multibus protocol testing device |
CN111371827A (en) * | 2018-12-26 | 2020-07-03 | 中兴通讯股份有限公司 | Data transmission method, device and computer readable storage medium |
CN113722252A (en) * | 2021-08-16 | 2021-11-30 | 北京图菱视频科技有限公司 | Communication protocol converter for mutual conversion between USB (Universal Serial bus), multi-channel serial port and CAN (controller area network) bus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103516669A (en) | Adaptive multi-protocol converter | |
CN103825883A (en) | Multi-protocol conversion equipment based on wireless ZigBee, CAN bus and MODBUS/TCP and realization method thereof | |
CN102231718B (en) | Gateway of communication between Ethernet for control and automation technology (EtherCAT) and CAN, and communication method thereof | |
CN102291337B (en) | Gateway for switching communication based on EtherCAT (Ethernet for Control and Automation Technology) protocol and Profibus-DP (Process Field Bus-Decentralized Periphery) protocol and communication method thereof | |
CN102811152B (en) | Method for realizing real-time transaction and data exchange of multiple main bus network communication | |
CN103514724A (en) | Adaptive configuration method of data acquisition unit | |
CN102263709A (en) | Gateway for realizing communication transformation between EtherCAT (Ethernet for control and automation technology) and RS485 and communication method thereof | |
CN206077426U (en) | Single-chip microcomputer LAN control system based on MODBUS RTU communications protocol | |
CN103448062B (en) | A kind of robot control method based on Powerlink | |
CN205336303U (en) | Network central control system | |
CN202261414U (en) | GPIB/CAN interface conversion device | |
CN201167335Y (en) | Profibus-DP bus serial port server | |
CN202353595U (en) | Gateway for EtherCAT (Ethernet for control and automation technology) and RS485 communication switching | |
CN103929457A (en) | Internet of things application data interaction system and method based on mobile internet | |
CN205015457U (en) | Servo motor drives testing arrangement | |
CN202206415U (en) | Gateway for communication conversion between Ethernet CAT (Ethernet for Control and Automation Technology) protocol and Profibus-DP (Process Field Bus-Decentralized Periphery) protocol | |
CN105573957A (en) | Measuring instrument programmable interface conversion system and method | |
CN202696645U (en) | Modularized and channelized Ethernet gateway | |
CN205862157U (en) | A kind of Ether mac bus system being applied to air-jet loom | |
CN203942546U (en) | A kind of transition of communications gateway module | |
CN204206217U (en) | A kind of Intelligent communication module of PROFIBUS-DP interface | |
CN202713372U (en) | RS-485 to Ethernet protocol converter based on half-duplex operation mode | |
CN114003536B (en) | Device and system for converting NCUC field bus into An Chuan M3 bus protocol | |
CN204069004U (en) | High performance communication management devices | |
CN216183807U (en) | Novel reason light shower nozzle actuating system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20140115 |