CN102739456A - Wired and wireless hot backup redundancy multi-master communication method, and field gateway module - Google Patents

Wired and wireless hot backup redundancy multi-master communication method, and field gateway module Download PDF

Info

Publication number
CN102739456A
CN102739456A CN2012102433855A CN201210243385A CN102739456A CN 102739456 A CN102739456 A CN 102739456A CN 2012102433855 A CN2012102433855 A CN 2012102433855A CN 201210243385 A CN201210243385 A CN 201210243385A CN 102739456 A CN102739456 A CN 102739456A
Authority
CN
China
Prior art keywords
communication
node
module
fault
gateway
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
CN2012102433855A
Other languages
Chinese (zh)
Other versions
CN102739456B (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.)
Southwest Jiaotong University
Original Assignee
Southwest Jiaotong University
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 Southwest Jiaotong University filed Critical Southwest Jiaotong University
Priority to CN201210243385.5A priority Critical patent/CN102739456B/en
Publication of CN102739456A publication Critical patent/CN102739456A/en
Application granted granted Critical
Publication of CN102739456B publication Critical patent/CN102739456B/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 wired and wireless hot backup redundancy multi-master communication method and a field gateway module, wherein corresponding controlled objects are controlled in a field-level wired and wireless mutual backup double-network observe and control network so as to acquire the state of the monitored objects; the wired communication and the wireless communication of a network node module are both on line in the working, all modules in the general network preferably communicate by the wired form; the field gateway module provided by the invention can obtain the state of a field instrument or control a field apparatus in the observe and control field by the node module, and meanwhile, wired and the wireless communication units can achieve the redundancy multi-master communication by proper arithmetic, so as to build a field obverse and control system of double-network redundancy multi-master communication. With the adoption of the method, the reliability of the industrial field monitoring and control system is enhanced, and the method and the module have the advantages that the zero-cost communication is operated without additional redundancy management equipment.

Description

A kind of wired and wireless hot backup redundancy multi-host communication method and on-the-spot gateway module
Affiliated technical field
The invention belongs to network service, especially industry spot measurement and control network technical field.
Background technology
1) fieldbus and multi-host communication thereof technology
In industrial application, field bus control system FCS is ripe, replaces original collective and distributive type control system DCS gradually.FCS has and installs simply, and digitized degree is high, has failure diagnosis and by advantages such as default value protection operations.Can improve the wisdom level of automatization level and system for the user practices thrift cost.
The mode of operation of fieldbus is divided into master slave mode and many holotypes.Have only a main frame in the fieldbus networks of master slave mode, other are slave, can not intercom mutually between the slave, and slave only and main-machine communication.And under many holotypes, the arbitrary network node in the fieldbus can become that other nodes communicate in main frame and the network.
Because fieldbus adopts bus type structure more, and daisy chain type commonly used connection, so, if one of them node breaks away from from bus links, will produce node communication fault or disconnection fault, cause bigger the regretting of communication reliability risk.So the fieldbus that has adopts ring network structure, a node off-line, ring-network topology becomes bus topology, and main frame can continue the node communication with non-off-line, redundant looped network technology that Here it is.But use this Technology Need looped network administration module, increased equipment cost; And to join end to end, increase installation cost.
2) wireless communication technology
Wireless communication technology and radio network technique since its mobility good, need not to connect up, advantage such as low in energy consumption, self adaptation networking obtains the extensive concern of industrial quarters, and moves to maturity gradually.Use from original more wireless sensor network, begun to be applied to the control field till now.As the improvement pid algorithm of wireless industrial module and radio fest and control network appearred being applicable to.The wireless module of Ai Mosheng process management automation department development successfully uses in industries such as chemical industry, cement.The multi-hop technology that adopts cordless communication network improves the reliability and the environmental suitability of communication more.Much also adopt the Mesh network schemer to carry out the multirouting reliable communication.GPRS communication, WiFi communication are arranged the more wireless communication technology of present use and other are like wireless LAN communications such as ZigBee technology.
But still there is certain gap in the wireless communication technology that generally speaking, is applied in industry at present at aspect such as traffic rate, fail safe, antijamming capability and wire communication.In large-scale especially infant industry network, the still preferential mostly cable network that adopts when distance is far away, adopts optical fiber as communication media.Wireless network then the Chang Zuowei wire communication a spare communication network and exist.
In wide area network, a kind of double-network redundant scheme of wired and wireless mutual backup is arranged.Main effect is when a kind of network breaks down, and router automatically switches to another kind of network, thereby reaches the effect of the stability that improves communication.Like the F4X33 series of products of MOXA, its application architecture is as shown in Figure 1:
The F4X33 series of products can be supported the cable network of mobile radio network, common PPPOE mode or static IP access way, and support automatic redundancy backup function.
The characteristics of this scheme are:
1) belonging to wide area network uses.
2) there is router to manage, promptly has special Redundancy Management equipment.
3) operation cost is higher.If adopting this scheme is monitoring platform of industrial station system constructing; Then each node in the station all needs the SIM of an IP or a mobile communication; Otherwise just need many instrument signals are connected on the equipment, again this equipment is connected into network.Like this, putting the equipment room that is connected into network from field instrument still need connect up and install.Support that so, then the equipment of redundancy communication is not the communication module of field level just.
In sum, the shortcoming of prior art can be summarized as:
1) mostly range of application is the wide area network application, is not suitable for the measurement and control network of field level
2) be applied in the industry spot measurement and control network, then operation cost is too high
3) Redundancy Management of communication needs special module, does not have directly to be connected with on-the-spot instrument point
4) this redundant network still can not be avoided the on-the-spot loaded down with trivial details problems such as wiring installation of observing and controlling.
Summary of the invention
In view of the above shortcoming of prior art, the objective of the invention is, a kind of multi-host communication method of wired and wireless hot backup redundancy is provided, be used to build the low-cost redundant measurement and control network of field level, and make it to have convenient installation.
The objective of the invention is to realize through following means.
A kind of wired and wireless hot backup redundancy multi-host communication method is controlled corresponding controlled device in two net measurement and control networks of the wired and wireless mutual backup of level at the scene, obtains the state of monitoring target; The wire communication of network node module and radio communication are all online when work, and all modules in the network all preferentially select wired mode to communicate usually; And employing comprises the steps the operating state of monitoring each other and Control Network node module:
1) fault detect location and communication handover method:
Under the wire communication mode, give another node module and do not have answer when certain node module sends inquiry/control command, when perhaps the reply content form is incorrect, resend inquiry/control command; All can not get the answer of correct format or do not have when answer at all when limited number of time repeats to send instruction; This node module then sends the diagnosis frame to the adjacent and right adjacent module in the left side of destination node respectively; According to answer situation to the diagnosis frame, fault is judged and located, specific as follows:
A) when the left adjacent and right adjacent module of destination node does not all have answer; This node module is thought self to go offline or fault is arranged; Light the malfunction indicator lamp of self, and switch to wireless mode and communicate, accomplish this inquiry/control task with the destination node of wanting to communicate by letter; While wireless mode and gateway communication; Inform that gateway self has fault, gateway just deposit within it with external memory in the mapping space setting " node failure sign " of this node address, the record trouble time; Form the failure logging of this node module, and report and submit to superior system or man-machine interface.
B) adjacent and right adjacent module all has answer when the left side of destination node, and replys when correct, thinks that the destination node module has fault or destination node module to go offline from bus.Initiate the nodes in communication module and switch to communication and destination node module communication, accomplish communication task.Send " report frame " simultaneously and give gateway module; Objective of Report node module has fault; Gateway just deposit within it with external memory in the mapping space setting " node failure sign " of this node address; The record trouble time forms the failure logging of this node module, and reports and submits to superior system or man-machine interface.
C), think and initiate nodes in communication that disconnection fault occurs in destination node between its right neighbors on the left side of destination node module when correct answer of the left neighbors of destination node and right adjacent module does not have and replys or reply when incorrect.Then initiate the nodes in communication module and switch to communication and destination node module communication, accomplish communication task.Send " report frame " simultaneously and give gateway module; Report disconnection fault point position; Gateway just deposit within it with external memory in the corresponding mapping space setting " disconnection fault sign " of bus line numbered address; The record trouble time forms the failure logging of this section circuit, and reports and submits to superior system or man-machine interface.
D), think and initiate nodes in communication that disconnection fault occurs in destination node between its left neighbors on the right of destination node module when correct answer of the right neighbors of destination node and left adjacent module does not have and replys or reply when incorrect.Then initiate the nodes in communication module and switch to communication and destination node module communication, accomplish communication task.Send " report frame " simultaneously and give gateway module; Report disconnection fault point position; Gateway just deposit within it with external memory in the corresponding mapping space setting " disconnection fault sign " of bus line numbered address; The record trouble time forms the failure logging of this section circuit, and reports and submits to superior system or man-machine interface.
After gateway module receives the report of circuit disconnection fault between node module fault and node; Can send " broadcast frame " through communication to the whole network; Fault type and position are informed all nodes on the network, so that the communication mode of adjustment of the node on the network and fault point correlation module.
After network node receives this " broadcast frame ", analysis of failure type and position, and the later communication of assurance that takes appropriate measures.Specific as follows:
A) node is gone offline or node self wire communication out of order, deposit within it with the corresponding failure node corresponding address space of external memory and add " node failure record ", all carry out with communicating by letter of this malfunctioning node thereafter with wireless mode.
B) disconnection fault is appearred in circuit section between node; Deposit within it with the respective lines fault section corresponding address space of external memory and add " disconnection fault record "; If certainly in the left side of fault point, then the node on the right of this fault point all communicates with wireless mode thereafter; If from the right of fault point, then all communicate with the node on this left side, fault point thereafter with wireless mode.
2) method of recovery wire communication:
A) node failure is got rid of the method that wire communication is recovered in the back
Node module with wire communication fault continues to monitor " the fault eliminating flag bit " of oneself; When monitoring fault when having got rid of; Then switch to the wire communication mode, and send " the report frame " that can carry out wire communication again and give gateway module, after gateway is received this report; Slave addresses mapping space in internal memory and memory adds " node failure is got rid of record ", and sends " broadcast frame " to whole network nodes.Thereafter this node module just returns to the wire communication pattern.
B) disconnection fault is got rid of the method that wire communication is recovered in the back
After the track section disconnection fault is got rid of, with this section join about corresponding " disconnection fault eliminating button " on two network nodes pressed by manual, two nodes just send " disconnection fault eliminating signal " accordingly to gateway module.After gateway module receives that the disconnection fault of two nodes is got rid of signal; " disconnection fault eliminating flag bit " set with the respective section mapping address place in own internal memory and the memory; Gateway sends " broadcast frame " notice overall network node simultaneously, and network recovery is to the wire communication state.
The present invention also aims to, for above-mentioned multi-host communication method wired and wireless hot backup redundancy provides the on-the-spot gateway module that is achieved.
Adopt means as above; The present invention can be advantageously used in building the low-cost redundant measurement and control network of field level and realize the zero cost communication operation that observing and controlling is on-the-spot; Do not need special Redundancy Management System; Measuring and controlling node self on each on-the-spot instrument point just has the Redundancy Management algorithm, just realizes simply arranging net at the scene of the industry measurement and control system bottom, practices thrift the Installation and Debugging cost.
Description of drawings:
Fig. 1 is the conceptual scheme of the double-network redundant of wired and wireless mutual backup in the prior art wide area network.
Fig. 2 is the sketch map of the field level measurement and control network of multi-host communication pattern of the present invention.
Fig. 3 is the gateway workflow diagram of multi-host communication pattern of the present invention: Fig. 3 a is the total flowchart figure of gateway module; The 3b gateway module carries out the flowchart that normal tasks is communicated by letter with node module.
Fig. 4 is the network node workflow diagram of multi-host communication pattern of the present invention.
Fig. 5 is a gateway structural representation of the present invention.
Fig. 6 makes the on-the-spot gateway module realization figure of wire communication mode for CAN bus of the present invention.
Fig. 7 is the external relations figure of the on-the-spot gateway module after the embodiment of the invention encapsulation.
Embodiment
Below in conjunction with accompanying drawing and practical implementation the present invention is further described.
In the field level measurement and control network of employing multi-host communication pattern as shown in Figure 2, gateway module obtains the state of monitoring target through the node module in the network, perhaps through the corresponding controlled device of network node module controls.Gateway adopts the flow chart of Fig. 3, and network node employing Fig. 4 describes wired and wireless heat and is equipped with the method for communicating workflow, realizes the how main redundancy communication of field level zero cost.
1) fault detect location and communication handover method:
Under the wire communication mode, give another node module and do not have answer when certain node module sends inquiry/control command, when perhaps the reply content form is incorrect, resend inquiry/control command; All can not get the answer of correct format or do not have when answer at all when limited number of time repeats to send instruction; This node module then sends the diagnosis frame to the adjacent and right adjacent module in the left side of destination node respectively; According to answer situation to the diagnosis frame, fault is judged and located, specific as follows:
A) when the left adjacent and right adjacent module of destination node does not all have answer; This node module is thought self to go offline or fault is arranged; Light the malfunction indicator lamp of self, and switch to wireless mode and communicate, accomplish this inquiry/control task with the destination node of wanting to communicate by letter; While wireless mode and gateway communication; Inform that gateway self has fault, gateway just deposit within it with external memory in the mapping space setting " node failure sign " of this node address, the record trouble time; Form the failure logging of this node module, and report and submit to superior system or man-machine interface.
B) adjacent and right adjacent module all has answer when the left side of destination node, and replys when correct, thinks that the destination node module has fault or destination node module to go offline from bus.Initiate the nodes in communication module and switch to communication and destination node module communication, accomplish communication task.Send " report frame " simultaneously and give gateway module; Objective of Report node module has fault; Gateway just deposit within it with external memory in the mapping space setting " node failure sign " of this node address; The record trouble time forms the failure logging of this node module, and reports and submits to superior system or man-machine interface.
C), think and initiate nodes in communication that disconnection fault occurs in destination node between its right neighbors on the left side of destination node module when correct answer of the left neighbors of destination node and right adjacent module does not have and replys or reply when incorrect.Then initiate the nodes in communication module and switch to communication and destination node module communication, accomplish communication task.Send " report frame " simultaneously and give gateway module; Report disconnection fault point position; Gateway just deposit within it with external memory in the corresponding mapping space setting " disconnection fault sign " of bus line numbered address; The record trouble time forms the failure logging of this section circuit, and reports and submits to superior system or man-machine interface.
D), think and initiate nodes in communication that disconnection fault occurs in destination node between its left neighbors on the right of destination node module when correct answer of the right neighbors of destination node and left adjacent module does not have and replys or reply when incorrect.Then initiate the nodes in communication module and switch to communication and destination node module communication, accomplish communication task.Send " report frame " simultaneously and give gateway module; Report disconnection fault point position; Gateway just deposit within it with external memory in the corresponding mapping space setting " disconnection fault sign " of bus line numbered address; The record trouble time forms the failure logging of this section circuit, and reports and submits to superior system or man-machine interface.
After gateway module receives the report of circuit disconnection fault between node module fault and node; Can send " broadcast frame " through communication to the whole network; Fault type and position are informed all nodes on the network, so that the communication mode of adjustment of the node on the network and fault point correlation module.
After network node receives this " broadcast frame ", analysis of failure type and position, and the later communication of assurance that takes appropriate measures.Specific as follows:
A) node is gone offline or node self wire communication out of order, deposit within it with the corresponding failure node corresponding address space of external memory and add " node failure record ", all carry out with communicating by letter of this malfunctioning node thereafter with wireless mode.
B) disconnection fault is appearred in circuit section between node; Deposit within it with the respective lines fault section corresponding address space of external memory and add " disconnection fault record "; If certainly in the left side of fault point, then the node on the right of this fault point all communicates with wireless mode thereafter; If from the right of fault point, then all communicate with the node on this left side, fault point thereafter with wireless mode.
2) method of recovery wire communication:
A) node failure is got rid of the method that wire communication is recovered in the back
Node module with wire communication fault continues to monitor " the fault eliminating flag bit " of oneself; When monitoring fault when having got rid of; Then switch to the wire communication mode, and send " the report frame " that can carry out wire communication again and give gateway module, after gateway is received this report; Slave addresses mapping space in internal memory and memory adds " node failure is got rid of record ", and sends " broadcast frame " to whole network nodes.Thereafter this node module just returns to the wire communication pattern.
B) disconnection fault is got rid of the method that wire communication is recovered in the back
After the track section disconnection fault is got rid of, with this section join about corresponding " disconnection fault eliminating button " on two network nodes pressed by manual, two nodes just send " disconnection fault eliminating signal " accordingly to gateway module.After gateway module receives that the disconnection fault of two nodes is got rid of signal; " disconnection fault eliminating flag bit " set with the respective section mapping address place in own internal memory and the memory; Gateway sends " broadcast frame " notice overall network node simultaneously, and network recovery is to the wire communication state.
3) gateway module
Gateway module in the system is exactly the special joint module that an ability is communicated by letter with human-computer interaction interface.The realization of gateway module can be adopted multiple embedded platform, makes microcontroller as adopting ARM, DSP, MSP430 or 51 single-chip microcomputers etc., is equipped with peripheral communications administrative unit and communication interface again.Perhaps gateway is exactly an industry control PC, is equipped with the corresponding communication integrated circuit board.On-the-spot other node modules of general gateway module have higher arithmetic speed and stronger telecommunication management ability, undertake the data interaction function of on-the-spot TT&C system of whole networking and man-machine interface.
Certain industrial field bus is taked in wire communication unit wherein, like CAN bus, PROFIBUS bus etc.Wireless communication unit wherein can adopt ZigBee technology, nRF wireless communication technology etc.The communication unit of gateway module is consistent with other node matching.Gateway module can have several different methods with communicating by letter of man-machine interface (HMI) equipment, as adopts wired RS232, RS485, and perhaps certain fieldbus, Ethernet etc. also can adopt wireless communication technology, like GPRS, WiFi etc.
The structure of whole gateway module can be illustrated with Fig. 5: gateway is the intermediate equipment that connects host computer HMI equipment and slave.Its structure and the course of work are exemplified below.
The multi-host communication mode of supposing on-the-spot measurement and control network is CAN bus (wired mode) and ZigBee (wireless mode) hot backup redundancy, and the communication mode of gateway and host computer HMI equipment is RS485Modbus.The wired bus communication interface of gateway and transceiver and the controller that administrative unit is respectively the CAN bus in then scheming.And wireless interface and administrative unit are exactly dual-mode antenna and the telecommunication management controller of ZigBee.With the communication interface of host computer HMI be exactly the RS485 communication interface circuit.
Its course of work is: generally speaking between the field network node module, all communicate through the CAN bus between network node and the gateway; For example gateway accepts and sends data through the CAN transceiver; The particular procedures of its transmitting-receiving is by its controller control, like the error detection etc. of communicating by letter.When gateway module knows that according to aforementioned " communication failure detect and localization method " certain node or certain section in the circuit in the on-the-spot measurement and control network has communication failure, with this failure logging in internal memory and memory, formation " communication failure record "; And " redundancy switching method of the communication " system of utilization switches to wireless mode and communicates; Failure logging also will report master system or human-computer interaction interface.When knowing that fault has been got rid of, gateway module in internal memory and memory, forms this failure logging " communication failure is got rid of record " according to aforesaid " fault eliminating back communication recovery method "; System restoration is to the wire communication state; And notice is given master system or human-computer interaction interface.The power supply of gateway module is solved by power supply unit.When needing storage, be responsible for by memory.
A kind of realization of gateway module such as Fig. 6 specifically describe as follows:
Whole gateway module adopts the 24VDC power supply, and reason is that on-the-spot instrument or actuator generally adopt the 24VDC supply power mode, like pressure, temperature transmitter and electromagnetically operated valve etc.Simultaneously, the pattern that adopts outer power supply and powered battery to back up mutually when outer power supply goes offline or other situation can not supply power the time, is launched battery-powered.24VDC is through becoming the STM32ARM chip power supply that 3.3VDC gives master control behind the voltage regulation of voltage regulation, and realize RS485 communication and with the serial communication (USART) of CC2530 (ZigBee communication module).
Gateway module communicates through CAN interface and transceiver and wired CAN network, and the ZigBee wireless module is through antenna and telecommunication management controller and ZigBee wireless network swap data, and carries out serial communication through USART interface and master control ARM chip.
Gateway module utilizes another USART interface, converts the HMI devices communicating of RS485 interface and man-machine interaction to through MAX485.
The external relations of the on-the-spot gateway module after the encapsulation are as shown in Figure 7.
The beneficial effect that technical scheme of the present invention is brought can be summarized as follows:
1) can make up the TT&C system of the redundant multi-host communication of dual network of a field level with the field network node module.Improved the reliability of industry spot monitoring with control.
2) on-the-spot wire and wireless dual network redundancy communication zero cost operation.
3) do not need extra redundancy communication management equipment, practice thrift cost, simplify redundancy communication network structure.
4) reliable industrial field bus is adopted in wire communication, general bus type structure, and the entire field TT&C system has only a physical connection cable.It is simple, quick that system installs, and installation cost is low, the cycle is short.
The selection that basic scheme of the present invention also can be made multiple variation and be equal in reality is implemented, the concrete realization details of the method for fault detect, redundancy communication changing method and fault recovery method is different.
The selectable assembly that these and routine techniques constitute all is a basic scheme of the present invention imbody in force.

Claims (5)

1. a wired and wireless hot backup redundancy multi-host communication method is controlled corresponding controlled device in two net measurement and control networks of the wired and wireless mutual backup of level at the scene, obtains the state of monitoring target; The wire communication of network node module and radio communication are all online when work, and all modules in the network all preferentially select wired mode to communicate; And employing comprises the steps the operating state of monitoring each other and Control Network node module:
1) fault detect location and communication handover method:
Under the wire communication mode, give another node module and do not have answer when certain node module sends inquiry/control command, when perhaps the reply content form is incorrect, resend inquiry/control command; All can not get the answer of correct format or do not have when answer at all when limited number of time repeats to send instruction; This node module then sends the diagnosis frame to the adjacent and right adjacent module in the left side of destination node respectively; According to answer situation to the diagnosis frame, fault is judged and located, specific as follows:
A) when the left adjacent and right adjacent module of destination node does not all have answer; This node module is thought self to go offline or fault is arranged; Light the malfunction indicator lamp of self, and switch to wireless mode and communicate, accomplish this inquiry/control task with the destination node of wanting to communicate by letter; While wireless mode and gateway communication; Inform that gateway self has fault, gateway just deposit within it with external memory in the mapping space setting " node failure sign " of this node address, the record trouble time; Form the failure logging of this node module, and report and submit to superior system or man-machine interface;
B) adjacent and right adjacent module all has answer when the left side of destination node, and replys when correct, thinks that the destination node module has fault or destination node module to go offline from bus.Initiate the nodes in communication module and switch to communication and destination node module communication, accomplish communication task; Send " report frame " simultaneously and give gateway module; Objective of Report node module has fault; Gateway just deposit within it with external memory in the mapping space setting " node failure sign " of this node address; The record trouble time forms the failure logging of this node module, and reports and submits to superior system or man-machine interface;
C), think and initiate nodes in communication that disconnection fault occurs in destination node between its right neighbors on the left side of destination node module when correct answer of the left neighbors of destination node and right adjacent module does not have and replys or reply when incorrect; Then initiate the nodes in communication module and switch to communication and destination node module communication, accomplish communication task; Send " report frame " simultaneously and give gateway module; Report disconnection fault point position; Gateway just deposit within it with external memory in the corresponding mapping space setting " disconnection fault sign " of bus line numbered address; The record trouble time forms the failure logging of this section circuit, and reports and submits to superior system or man-machine interface;
D), think and initiate nodes in communication that disconnection fault occurs in destination node between its left neighbors on the right of destination node module when correct answer of the right neighbors of destination node and left adjacent module does not have and replys or reply when incorrect; Then initiate the nodes in communication module and switch to communication and destination node module communication, accomplish communication task; Send " report frame " simultaneously and give gateway module; Report disconnection fault point position; Gateway just deposit within it with external memory in the corresponding mapping space setting " disconnection fault sign " of bus line numbered address; The record trouble time forms the failure logging of this section circuit, and reports and submits to superior system or man-machine interface;
After gateway module receives the report of circuit disconnection fault between node module fault and node; Send " broadcast frame " to the whole network through communication; Fault type and position are informed all nodes on the network, so that the communication mode of adjustment of the node on the network and fault point correlation module;
After network node receives this " broadcast frame ", analysis of failure type and position, and the later communication of assurance that takes appropriate measures; Specific as follows:
A) node is gone offline or node self wire communication out of order, deposit within it with the corresponding failure node corresponding address space of external memory and add " node failure record ", all carry out with communicating by letter of this malfunctioning node thereafter with wireless mode;
B) disconnection fault is appearred in circuit section between node; Deposit within it with the respective lines fault section corresponding address space of external memory and add " disconnection fault record "; If certainly in the left side of fault point, then the node on the right of this fault point all communicates with wireless mode thereafter; If from the right of fault point, then all communicate with the node on this left side, fault point thereafter with wireless mode;
2) method of recovery wire communication:
A) node failure is got rid of the method that wire communication is recovered in the back
Node module with wire communication fault continues to monitor " the fault eliminating flag bit " of oneself; When monitoring fault when having got rid of; Then switch to the wire communication mode, and send " the report frame " that can carry out wire communication again and give gateway module, after gateway is received this report; Slave addresses mapping space in internal memory and memory adds " node failure is got rid of record ", and sends " broadcast frame " to whole network nodes; Thereafter this node module just returns to the wire communication pattern;
B) disconnection fault is got rid of the method that wire communication is recovered in the back
After the track section disconnection fault is got rid of, with this section join about corresponding " disconnection fault eliminating button " on two network nodes pressed by manual, two nodes just send " disconnection fault eliminating signal " accordingly to gateway module.After gateway module receives that the disconnection fault of two nodes is got rid of signal; " disconnection fault eliminating flag bit " set with the respective section mapping address place in own internal memory and the memory; Gateway sends " broadcast frame " notice overall network node simultaneously, and network recovery is to the wire communication state.
2. a kind of wired and wireless hot backup redundancy multi-host communication method according to claim 1; It is characterized in that; Said gateway module deposit within it with external memory in the network node address mapping space " node failure sign " and " disconnection fault sign " is set; The record trouble time forms the failure logging of network node and track section, and failure logging is notified to whole network nodes and reported and submitted the human-computer interaction interface to master system or on-the-spot TT&C system.
3. a kind of wired and wireless hot backup redundancy multi-host communication method according to claim 1; It is characterized in that; Said main frame deposit within it with external memory in the mapping space setting " node failure get rid of sign " and " disconnection fault is got rid of sign " of this slave addresses, the record trouble eliminating time.When " node failure is got rid of sign " and " disconnection fault is got rid of sign " set, notice overall network node, system restoration is to original wire communication.
4. on-the-spot gateway module of wired and wireless hot backup redundancy multi-host communication of realizing aforesaid right requirement or 1 or 2 or 3 methods; It is characterized in that; Wired bus communication interface and wireless communication interface that gateway module has microcontroller and joins with microcontroller, and the wired bus communications management unit is between wired bus communication interface and microcontroller; The wireless communications management unit is connected between wireless communication interface and the microcontroller.
5. according to the on-the-spot gateway module of the said wired and wireless hot backup redundancy multi-host communication of claim 4, it is characterized in that said microcontroller can adopt one of ARM, DSP, MSP430 or 51 single-chip microcomputers; The wired bus communication interface of gateway and administrative unit can be the transceiver and the controllers of CAN bus; Wireless interface and administrative unit can be ZigBee communication antenna and telecommunication management controller; Gateway module also has memory and power supply unit.
CN201210243385.5A 2012-07-13 2012-07-13 Wired and wireless hot backup redundancy multi-master communication method, and field gateway module Expired - Fee Related CN102739456B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210243385.5A CN102739456B (en) 2012-07-13 2012-07-13 Wired and wireless hot backup redundancy multi-master communication method, and field gateway module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210243385.5A CN102739456B (en) 2012-07-13 2012-07-13 Wired and wireless hot backup redundancy multi-master communication method, and field gateway module

Publications (2)

Publication Number Publication Date
CN102739456A true CN102739456A (en) 2012-10-17
CN102739456B CN102739456B (en) 2015-03-25

Family

ID=46994286

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210243385.5A Expired - Fee Related CN102739456B (en) 2012-07-13 2012-07-13 Wired and wireless hot backup redundancy multi-master communication method, and field gateway module

Country Status (1)

Country Link
CN (1) CN102739456B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104320803A (en) * 2014-11-05 2015-01-28 天津理工大学 Data monitoring and fault diagnosis method based on Zigbee node redundancy
CN104731071A (en) * 2015-03-17 2015-06-24 成都智慧之芯科技有限公司 Redundant-waste heat backup method of mater engine in centralized control system
CN105429873A (en) * 2015-12-30 2016-03-23 青岛安然物联网科技有限公司 Industrial looped network and 4G network automatic switching base station and work method thereof
CN109002412A (en) * 2018-07-03 2018-12-14 郑州云海信息技术有限公司 System and method based on I2C bus hold time positioning and communicating failure
CN109218423A (en) * 2018-09-12 2019-01-15 中车青岛四方机车车辆股份有限公司 A kind of train network system
CN111824092A (en) * 2019-04-15 2020-10-27 中车株洲电力机车研究所有限公司 Multi-master real-time hot standby redundant braking force distribution method and system
CN112003719A (en) * 2020-07-08 2020-11-27 国网浙江省电力有限公司宁波供电公司 SDN method suitable for smart grid remote protection of post-disaster recovery
CN112422216A (en) * 2020-11-17 2021-02-26 北京中交国通智能交通系统技术有限公司 Tunnel electromechanical system control instruction wireless issuing method based on frequency modulation data broadcasting
CN112804721A (en) * 2021-01-05 2021-05-14 湖南恒茂高科股份有限公司 Automatic link switching method for dual-frequency router and dual-frequency router
CN113645651A (en) * 2015-06-05 2021-11-12 霍尼韦尔国际公司 Bidirectional redundant mesh network
CN113645086A (en) * 2021-10-18 2021-11-12 四川旷谷信息工程有限公司 Data communication method, apparatus and medium for controlling device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1658578A (en) * 2005-04-05 2005-08-24 北京四方继保自动化股份有限公司 Non-break switchover method of double-network communication system
US20070204068A1 (en) * 2006-02-24 2007-08-30 Tomoyuki Oku Ring network and master node
CN101986604A (en) * 2010-10-29 2011-03-16 中兴通讯股份有限公司 Link fault positioning method and system of packet transport network (PTN)

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1658578A (en) * 2005-04-05 2005-08-24 北京四方继保自动化股份有限公司 Non-break switchover method of double-network communication system
US20070204068A1 (en) * 2006-02-24 2007-08-30 Tomoyuki Oku Ring network and master node
CN101986604A (en) * 2010-10-29 2011-03-16 中兴通讯股份有限公司 Link fault positioning method and system of packet transport network (PTN)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104320803A (en) * 2014-11-05 2015-01-28 天津理工大学 Data monitoring and fault diagnosis method based on Zigbee node redundancy
CN104731071A (en) * 2015-03-17 2015-06-24 成都智慧之芯科技有限公司 Redundant-waste heat backup method of mater engine in centralized control system
CN113645651A (en) * 2015-06-05 2021-11-12 霍尼韦尔国际公司 Bidirectional redundant mesh network
CN105429873A (en) * 2015-12-30 2016-03-23 青岛安然物联网科技有限公司 Industrial looped network and 4G network automatic switching base station and work method thereof
CN105429873B (en) * 2015-12-30 2018-08-07 青岛安然物联网科技有限公司 A kind of industry looped network and 4G networks automatically switch base station and its working method
CN109002412A (en) * 2018-07-03 2018-12-14 郑州云海信息技术有限公司 System and method based on I2C bus hold time positioning and communicating failure
CN109218423A (en) * 2018-09-12 2019-01-15 中车青岛四方机车车辆股份有限公司 A kind of train network system
CN111824092A (en) * 2019-04-15 2020-10-27 中车株洲电力机车研究所有限公司 Multi-master real-time hot standby redundant braking force distribution method and system
CN111824092B (en) * 2019-04-15 2021-12-28 湖南中车智行科技有限公司 Multi-master real-time hot standby redundant braking force distribution method and system
CN112003719A (en) * 2020-07-08 2020-11-27 国网浙江省电力有限公司宁波供电公司 SDN method suitable for smart grid remote protection of post-disaster recovery
CN112003719B (en) * 2020-07-08 2022-11-11 国网浙江省电力有限公司宁波供电公司 SDN method for smart grid remote protection suitable for post-disaster recovery
CN112422216A (en) * 2020-11-17 2021-02-26 北京中交国通智能交通系统技术有限公司 Tunnel electromechanical system control instruction wireless issuing method based on frequency modulation data broadcasting
CN112804721A (en) * 2021-01-05 2021-05-14 湖南恒茂高科股份有限公司 Automatic link switching method for dual-frequency router and dual-frequency router
CN113645086A (en) * 2021-10-18 2021-11-12 四川旷谷信息工程有限公司 Data communication method, apparatus and medium for controlling device

Also Published As

Publication number Publication date
CN102739456B (en) 2015-03-25

Similar Documents

Publication Publication Date Title
CN102739456B (en) Wired and wireless hot backup redundancy multi-master communication method, and field gateway module
CN102799153B (en) Wired and wireless hot-standby redundancy multi-master communication method and field network node module
CN102692912B (en) Onsite-level low-cost redundancy measuring and controlling network based on wired and wireless hot spare redundancy communication
CN202737890U (en) Low-cost on-site measurement and control gateway module of wired and wireless hot standby redundancy communication
CN201934117U (en) Electro-hydraulic control system for hydraulic support in working face
CN104816813B (en) A kind of lithium battery cell managing redundant control system peculiar to vessel
ES2579603T3 (en) Procedure for the transmission of messages in an industrial communications network that can operate redundantly and communications device for an industrial communication network that can operate redundantly
CN103235547B (en) Analog input output module
WO2018103112A1 (en) Wireless sensing network monitoring system, fulcrum and gateway
JP2007188521A5 (en)
CN201732467U (en) Multi-point and multi-type data acquisition system based on wireless sensor network
CN202735735U (en) Low-cost on-site measurement and control I/O module of wired and wireless hot standby redundancy communication
CN102158383B (en) Data transmission method, device and system for E1 bidirectional ring network
CN103994555A (en) Air-conditioning system
CN102711214A (en) Wireless intelligent concentrator based on multi-channel communication dual-frequency networking and networking method of wireless intelligent concentrator
CN105551222A (en) Embedded bridge health monitoring system
CN202348190U (en) Electro-hydraulic control system of hydraulic supports on thin seam working face
JP4939650B2 (en) Equipment management system
CN104486783A (en) Multi-state wireless gateway system for multi-state wireless monitoring network and control method
CN103455018A (en) Resistance welding machine control management system based on heterogeneous network technique
CN107896120B (en) Automatic environmental information monitoring method and system
CN207752313U (en) A kind of cities and towns pipe gallery strange land redundant manipulator based on real-time ethernet technology
CN117527577A (en) Network system based on HPLC and HRF dual-mode networking and network maintenance method thereof
CN103267871A (en) Wind speed monitoring system based on ZigBee technology
CN202711029U (en) Wired and wireless hot standby redundancy communication on-site network node module

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: 20150325

Termination date: 20170713

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