CN101631059B - Communication unit for realizing real-time reconstitution of in-situ bus topological structure - Google Patents

Communication unit for realizing real-time reconstitution of in-situ bus topological structure Download PDF

Info

Publication number
CN101631059B
CN101631059B CN2009100616559A CN200910061655A CN101631059B CN 101631059 B CN101631059 B CN 101631059B CN 2009100616559 A CN2009100616559 A CN 2009100616559A CN 200910061655 A CN200910061655 A CN 200910061655A CN 101631059 B CN101631059 B CN 101631059B
Authority
CN
China
Prior art keywords
unit
module
data processing
port
data
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.)
Expired - Fee Related
Application number
CN2009100616559A
Other languages
Chinese (zh)
Other versions
CN101631059A (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.)
Huazhong University of Science and Technology
Weihai Huadong Automation Co Ltd
Wuhan Huazhong Numerical Control Co Ltd
Original Assignee
Huazhong University of Science and Technology
Wuhan Huazhong Numerical Control 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 Huazhong University of Science and Technology, Wuhan Huazhong Numerical Control Co Ltd filed Critical Huazhong University of Science and Technology
Priority to CN2009100616559A priority Critical patent/CN101631059B/en
Publication of CN101631059A publication Critical patent/CN101631059A/en
Application granted granted Critical
Publication of CN101631059B publication Critical patent/CN101631059B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention discloses a communication unit for realizing real-time reconstitution of an in-situ bus topological structure, comprising a first data processing module, a second data processing module and two ports; wherein, the two ports are respectively provided with a receiving module and a transmitting module; the receiving module of any port is connected with the transmitting module of the other port by the first data processing module or the second data processing module; a two-way electrical switch is arranged between the first data processing module and the second data processing module. The invention uses one two-way electrical switch to realize flexible switching of data flow direction. Two processing modules are adopted in a master-slave communication system in a double-ring structure for processing data information signals in respective communication links, thus really improving data information signal redundancy in primary communication operation and realizing the double-ring structure of the data information signal.

Description

A kind of communication unit of realizing the real-time reconstruct of fieldbus topological structure
Technical field
The present invention relates to the fieldbus field, relate in particular to the communication unit of the real-time reconstruct of fieldbus topological structure.
Background technology
In industrial production and automatic technology, the application of field bus communication system is increasingly extensive, and the on-the-spot execution subscriber equipment that is provided with is as numerical control device, servo-driver, I/O module, transducer etc.In this field bus communication scheme, all subscriber equipmenies are by the interconnected one-tenth network of fieldbus.
Usually, the exchanges data of carrying out via fieldbus is carried out according to principal and subordinate's principle.In the bus network, the subscriber equipment of the transfer of data on the leading bus is called master unit, as the numerical control device at the scene.And the subscriber equipment of passive execution transfer of data is called from the unit, and promptly they only are allowed to answer the master unit confirmation request to receive signal or forward signal, as servo-driver in the numerical control system or I/O equipment.
Usually, complicated for fear of wiring, have hypotactic fieldbus networks and adopt ring topology, all bus users all are connected to an annular transmission link, as shown in Figure 1.
Usually, in order to improve the reliability of bus communication, adopt the redundancy communication mode, in loop network shown in Figure 1, data are two-way flows, and promptly same data message sends from two ports of master unit simultaneously, successively by respectively behind the unit, get back to two ports of master unit again, the data sent of the port a receiving port b of master unit wherein, the data that the port b receiving port a of master unit sends are under the communication normal condition, master unit is got one group in two groups of data, another is organized as standby.If mistake appears in one group of data, then get another group preliminary data.
In this ring topology, master unit sends to needs respectively and is packaged into a packet from the data information signal of unit according to certain rule and sends to annular transmission link, in the loop network respectively from the unit at packet through out-of-date, need not to receive entire packet, but when its node of message process, only download the data that belong to this unit, the data that needs are uploaded are inserted into the relevant position of message, and packet is transmitted to coupled next unit, packet is received by another port of master unit at last.
Usually, for loop network as shown in Figure 1, when making communication disruption when communication line generation fault, each unit is by monitoring the signal on two transmit rings, with the unit that fault is contiguous can be by inner reconstruct, realization reconfigures communication network, thereby avoids the fault or even the overall failure in big zone in the communication system.
As american documentation literature US4,663,748 have described a kind of method of handle link fault, for having in the hypotactic communication system, have two processing modules from the unit, these two processing modules all are connected on two communication links in all cases, handle the data message that passes through.In addition, in that the coupling unit that can trigger is set in the unit, when link failure took place, it reconfigured communication system by monitoring also switching communication system correspondingly of two signals on the transmission ring.
Germany Patent document DE10312907A1 has proposed a kind of set-up mode from the unit: on each communication link of data transfer direction, a processing unit is set at first, a multiplexer with two inputs and an output is set then.This multiplexer all is connected its input in all cases with two processing modules from the unit, and its output is connected with corresponding communication links.Under the normal running, each in two multiplexers is all connected the processing module that is arranged on the respective communication link.Under the fault mode, when producing link failure on the respective communication link, the processing module that then is positioned on another communication link is switched on.Make communication system under failure condition, realize real-time reconfiguring basically from this design of unit.
Chinese patent literature CN101176313.A proposed another kind of from the unit set-up mode of (user): master unit by operation in opposite directions two communication links and respectively (user) is connected into twin nuclei from the unit, (user) has a processing unit and a coupled apparatus that triggers that is made of two multiplexers from the unit.Under the normal mode, the packet of processing unit receiving port 0 also sends to the respective transmissions link from port one, the slave unit (user) of only flowing through simply of the packet on another transmission link.Under the fault mode, when the corresponding port transmission medium produce to interrupt, the packet of processing unit receiving port 0 (port one) also sent to the respective transmissions link from port 0 (port one).Reconfiguring by the coupled apparatus that can trigger in from the unit (user) of communication system realized under the fault mode.
But the coupling unit that triggers among Germany Patent document DE10312907A1 and the Chinese patent literature CN101176313.A is made of two multiplexers, and two multiplexers all need the gating control signal, underaction on the structure.Chinese patent literature CN101176313.A adopts a processing unit, only handle a packet on the transmission link, packet on another transmission link the slave unit (user) of only flowing through simply, be the twin nuclei of transmission link, and do not have to realize the twin nuclei of data information signal truly.
Summary of the invention
The object of the present invention is to provide a kind of communication unit of realizing the real-time reconstruct of fieldbus topological structure, this communication unit at the scene in the bus communication system as from the unit, realize the dual loop redundancy structure of data information signal.
The communication unit of the real-time reconstruct of realization fieldbus topological structure provided by the invention, comprise first, second data processing module and two ports, two ports are equipped with receiver module and sending module, wherein the receiver module of arbitrary port all is connected with the sending module of another port by first data processing module or second data processing module, it is characterized in that: be provided with bidirectional electronic switch between first, second data processing module.
The present invention adopts a bidirectional electronic switch can realize the flexible switching of data flow.Have and adopt two processing modules in the master-slave communication system of twin nuclei, handle the data information signal on the communication link separately respectively, really improved the data information signal redundancy in the traffic operation one time, realize the data information signal twin nuclei.
Along with the development of CPLD (CPLD) and FPGA (field programmable gate array), realize that on single-chip the communication unit of this structure is implemented also can not bring great expending easily.
Description of drawings
Fig. 1 is the ring topology schematic diagram;
Fig. 2 is the structural representation of communication unit provided by the invention;
Fig. 3 is the information link schematic diagram of normal mode;
Fig. 4 is the information link schematic diagram of fault mode 1;
Fig. 5 is the information link schematic diagram of fault mode 2;
Fig. 6 is the real-time reconstruct schematic diagram of communication system topological structure.
Embodiment
The fieldbus of dual-ring topology structure, a plurality of communication units interconnect by two communication links of operating in opposite directions in the loop, form twin nuclei.
As shown in Figure 2, communication unit 3 provided by the invention comprises two port a, b, first, second data processing module 4,5, and bidirectional electronic switch 6, two port a, b include receiver module and sending module, be designated as first, second receiver module RX-a, RX-b respectively, first, second sending module TX-a, TX-b.
First, second receiver module RX-a, RX-b are used for receiving the information signal on first, second communication link 1,2, and the information signal that receives is transferred to first, second data processing module 4,5.
Bidirectional electronic switch 6 is connected between first, second data processing module 4,5, realizes the shutoff and the two-way admittance of information signal.Under the communication link normal condition, bidirectional electronic switch 6 is in off-state; Under the communication link fails situation, bidirectional electronic switch 6 is in closure state.If port b sidelinks breaks down, then the output information signal of first data processing module 4 transfers to the first sending module TX-a by bidirectional electronic switch 6; If port a sidelinks breaks down, then the output information signal of second data processing module 5 transfers to the second sending module TX-b by bidirectional electronic switch 6.
First, second data processing module 4,5 receives the information signal that first, second receiver module RX-a, RX-b send, information signal is carried out data processing operation, comprise data upload, data download, data forwarding and reply etc., and the information signal after will handling transfers to second, the first sending module TX-b, TX-a with its conducting.
First, second sending module TX-a, TX-b are used for the information signal that second, first data processing module 5,4 is finished after corresponding reason is operated is sent to second, first communication link 2,1.
Under the normal mode, as shown in Figure 3, this bidirectional electronic switch 6 is in off-state, information signal on first communication link 1 transfers to first data processing module 4 from the first receiver module RX-a of port a, through behind the corresponding data processing operation, be sent to the backward channel of first communication link 1 again by the second sending module TX-b of port b; Information signal on the second communication link 2 transfers to second data processing module 5 from the second receiver module RX-b of port b, through behind the corresponding data processing operation, is sent to the backward channel of second communication link 2 again by the first sending module TX-a of port a.
Under the fault mode, this bidirectional electronic switch 6 is in closure state.As shown in Figure 4, if the link occurs fault of port b side, then the information signal on first communication link 1 transfers to first data processing module 4 from the first receiver module RX-a of port a, through corresponding data processing operation after be sent to return link (the second communication link 2 port a sides under this moment normal mode are return link) by the first sending module TX-a of bidirectional electronic switch 6 by port a;
As shown in Figure 5, if the link occurs fault of port a side, then the information signal on the second communication link 2 transfers to second data processing module 5 from the second receiver module RX-b of port b, through corresponding data processing operation after be sent to return link (first communication link, the 1 port b side under this moment normal mode is a return link) by the second sending module TX-b of bidirectional electronic switch 6 by port b.
By the communication unit design in the above-mentioned fault-tolerant communications system with dicyclo topological structure, when a certain side transmission medium of communication unit took place to interrupt, communication unit can reconfigure in real time, guaranteed the failure-free operation of communication system under the link failure situation.
Adopt communication unit conduct provided by the invention from the unit at the scene in the bus communication system, master unit can adopt existing structure, and master unit interconnects from the unit by two communication links of operating in opposite directions and head and the tail, forms twin nuclei.Master unit has one and sends control module and a reception control module, sends control module and links to each other with two sending modules, receives control module and links to each other with two receiver modules.The receiver module of master unit links to each other with receiver module with the sending module of head and the tail from the unit respectively with sending module, constitutes to have the dicyclo topological structure of operation in opposite directions.Master unit transmission control module will have the packet of valid data and send into two communication links of operation in opposite directions by its sending module, after respectively respective handling is carried out in grouping to data from the unit, be back to the master unit receiver module, by receive the control unit module to return data grouping carry out respective handling.
In the field bus communication system of this topological structure, master unit and between the unit, from the unit and between the unit by two in opposite directions the operation communication links interconnect.Traffic operation on the leading communication link of master unit, by transmission topological structure identification frame with from the element address coded frame, flow through two communication links and respectively return the state of master unit behind the unit are determined the topological structure of communication system, from number of unit, and to finish the addressing operation from the unit.
As shown in Figure 6, when breaking down from unit I and the transmission link between unit II, from unit I with reconfigure in real time from II inside, unit, realized the real-time reconstruct of communication system topological structure, be reconstructed into two-wire shape topological structure by ring topology.According to the position difference (as between unit I and the master unit) that transmission link breaks down, ring topology also restructural is a single line shape topological structure.
Development along with CPLD (CPLD) and FPGA (field programmable gate array), the scale of one chip is increasing, CPLD/FPGA developing instrument intellectuality, powerful, can the realizing in piece of CPLD/FPGA of communication system provided by the invention from the unit.
The present invention not only is confined to above-mentioned embodiment; persons skilled in the art are according to embodiment and the disclosed content of accompanying drawing; can adopt other multiple embodiment to implement the present invention; therefore; every employing project organization of the present invention and thinking; do some simple designs that change or change, all fall into the scope of protection of the invention.

Claims (1)

1. communication unit of realizing the real-time reconstruct of fieldbus topological structure, comprise first, second data processing module and first, second port, first, second port is equipped with receiver module and sending module, wherein, the receiver module of first port is connected with the sending module of first or second port by first data processing module, the receiver module of second port is connected with the sending module of first or second port by second data processing module, it is characterized in that: be provided with bidirectional electronic switch between first, second data processing module.
CN2009100616559A 2009-04-14 2009-04-14 Communication unit for realizing real-time reconstitution of in-situ bus topological structure Expired - Fee Related CN101631059B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100616559A CN101631059B (en) 2009-04-14 2009-04-14 Communication unit for realizing real-time reconstitution of in-situ bus topological structure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100616559A CN101631059B (en) 2009-04-14 2009-04-14 Communication unit for realizing real-time reconstitution of in-situ bus topological structure

Publications (2)

Publication Number Publication Date
CN101631059A CN101631059A (en) 2010-01-20
CN101631059B true CN101631059B (en) 2011-06-29

Family

ID=41576014

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100616559A Expired - Fee Related CN101631059B (en) 2009-04-14 2009-04-14 Communication unit for realizing real-time reconstitution of in-situ bus topological structure

Country Status (1)

Country Link
CN (1) CN101631059B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103812744B (en) * 2014-01-10 2017-04-12 沈阳汇通智联电子工程设计安装有限公司 Bidirectional double-loop alarm communication control system based on RS-422 bus structure
CN104135416A (en) * 2014-08-13 2014-11-05 北京金鸿泰科技有限公司 Network for data communication
CN105375619B (en) * 2014-08-20 2018-03-02 珠海优特电力科技股份有限公司 Transformer station's blocking mechanism
CN110535741B (en) * 2019-10-09 2021-08-13 陕西菲拉姆消防科技有限公司 Loop communication bus, automatic addressing and broadcast communication method
CN113691433B (en) * 2021-08-31 2023-03-03 深圳云天励飞技术股份有限公司 Data transmission system, method, device, electronic equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101176313A (en) * 2005-04-11 2008-05-07 倍福自动化有限公司 User master unit communication system and method for operation thereof

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101176313A (en) * 2005-04-11 2008-05-07 倍福自动化有限公司 User master unit communication system and method for operation thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
阳道善等.华中网络数控系统的开发与应用.《数控天地》.2003,(第07期),60-62. *

Also Published As

Publication number Publication date
CN101631059A (en) 2010-01-20

Similar Documents

Publication Publication Date Title
CN100588169C (en) User, master unit, communication system and operation method thereof
JP4904399B2 (en) Communication system having master / slave structure
CN101427522B (en) Interface unit and communication system having a master/slave structure
JP5021037B2 (en) Communication system having master / slave structure
CN101631059B (en) Communication unit for realizing real-time reconstitution of in-situ bus topological structure
CN105743566B (en) A kind of double-PON port ONU optical link pretection switch devices and guard method
CN101146014B (en) Fault-tolerant Ethernet network
CN102055794A (en) Communication sytem in an aircraft and aircraft
CN103248526A (en) Communication equipment and method for achieving out-of-band monitoring and management, and master-slave switching method
CN103729333A (en) Backplane bus structure sharing multiple channel time slots and implementation method thereof
CN102158383B (en) Data transmission method, device and system for E1 bidirectional ring network
CN110768815B (en) Method for switching signal lines and solar system
CN105681131A (en) Main-backup system and parallel outputting method thereof
CN203563079U (en) Communication device used for industrial communication network which can be operated in redundant manner
JP4577157B2 (en) Repeater and optical communication system
CN101222405B (en) Module for fast recovering looped network redundancy and its use method
CN104135411A (en) Device and method of implementing multi-node communication based on RS232 interface
CN101902383B (en) E1-based bi-directional ring network method and system thereof
CN114466040A (en) Spacecraft integrated biplane network system
CN107508696A (en) A kind of device and method of raising HSR looped network O&M reliabilities
CN208257855U (en) Electric power networks data transmission system with duplex channel
JP2005159546A (en) Network system
CN2884710Y (en) Exchanging distance net bridge appliance with virtual net function for providing multiple interfaces
CN206728036U (en) A kind of quick protective switch system based on more transmission channels
CN205792659U (en) A kind of APS redundant system based on SpaceWire bus

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110629

Termination date: 20160414

CF01 Termination of patent right due to non-payment of annual fee