CN202713337U - Wired and wireless hot standby redundancy multi-homed communication on-site gateway module - Google Patents

Wired and wireless hot standby redundancy multi-homed communication on-site gateway module Download PDF

Info

Publication number
CN202713337U
CN202713337U CN 201220340670 CN201220340670U CN202713337U CN 202713337 U CN202713337 U CN 202713337U CN 201220340670 CN201220340670 CN 201220340670 CN 201220340670 U CN201220340670 U CN 201220340670U CN 202713337 U CN202713337 U CN 202713337U
Authority
CN
China
Prior art keywords
communication
wired
wireless
module
network
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
CN 201220340670
Other languages
Chinese (zh)
Inventor
孟祥印
唐磊
车小伟
唐波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN 201220340670 priority Critical patent/CN202713337U/en
Application granted granted Critical
Publication of CN202713337U publication Critical patent/CN202713337U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The utility model discloses a wired and wireless hot standby redundancy multi-homed communication on-site gateway module, comprising a microcontroller, and a wired bus communication interface and a wireless communication interface connected with the microcontroller. A wired bus communication management unit is arranged between the wired bus communication interface and the microcontroller, and a wireless communication management unit is connected between the wireless communication interface and the microcontroller. The on-site gateway module of the utility model can obtain the state of an on-site instrument via a node module in a measurement and control field or control an on-site device, meanwhile, the wired and wireless communication units can employ an appropriate algorithm to realize the redundancy multi-homed communication to thereby construct a measurement and control system of the on-site dual-network redundancy multi-homed communication.

Description

The on-the-spot gateway module of a kind of wired and wireless hot backup redundancy multi-host communication
Affiliated technical field
The utility model belongs to network service, especially industry spot measurement and control network technical field.
Background technology
1) fieldbus and multi-master thereof
In industrial application, field bus control system FCS is ripe, replaces gradually original collective and distributive type control system DCS.FCS has and installs simply, and digitized degree is high, has failure diagnosis and by advantages such as default value protection operations.Can for the user saves cost, improve the wisdom level of the gentle system of Automated water.
The mode of operation of fieldbus is divided into master slave mode and many holotypes.Only have 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 larger the regretting of communication reliability risk.So some fieldbus adopt 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, the 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 till now control field.As the improvement pid algorithm of wireless industrial module and radio fest and control network having occurred 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 reliability and the environmental suitability of communication more.Much also adopt the Mesh network schemer to carry out the multirouting reliable communication.The more wireless communication technology of use has GPRS communication at present, WiFi communicates by letter and other are such as wireless LAN communication technology such as ZigBee.
But still there is certain gap in the wireless communication technology that generally speaking, is applied at present industry at the aspect such as traffic rate, fail safe, antijamming capability and wire communication.In large-scale especially infant industry network, mostly or preferentially adopt cable network, when distant, adopt 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 Function 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.Such as the F4X33 series of products of MOXA, its application architecture 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 redundant backup function.
The characteristics of this scheme are:
1) belonging to wide area network uses.
2) there is router to manage, namely 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 needs the SIM card 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, put the equipment room that is connected into network from field instrument and still need wiring and installation.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 need to have special module, does not have directly to connect with the instrument point of being connected
4) this redundant network still can not be avoided the loaded down with trivial details problems such as wiring installation at observing and controlling scene.
The utility model content
In view of the above shortcoming of prior art, the purpose of this utility model is, provides a kind of wired and wireless hot backup redundancy multi-host communication on-the-spot gateway module, is used for building the low-cost redundant measurement and control network of field level, and makes it to have advantages of easy for installation.
The purpose of this utility model is to realize by following means.
The on-the-spot gateway module of a kind of wired and wireless hot backup redundancy multi-host communication, 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.
Adopt means as above, the zero cost communication operation that the utility model can be advantageously used in building the low-cost redundant measurement and control network of field level and realize the observing and controlling scene, 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 realize simply arranging net at the scene of the industry measurement and control system bottom, save the Installation and Debugging cost.
Description of drawings:
Fig. 1 is the conceptual scheme of the double-network redundant of wired in the prior art wide area network and wireless mutual backup.
Fig. 2 is the schematic diagram of the field level measurement and control network of multi-host communication pattern.
Fig. 3 is the gateway workflow diagram of multi-host communication pattern: 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.
Fig. 5 is the utility model gateway structural representation.
Fig. 6 is the on-the-spot gateway module realization figure that the utility model CAN bus is made the wire communication mode.
Fig. 7 is the external relations figure of the on-the-spot gateway module after the utility model embodiment encapsulation.
Embodiment
Below in conjunction with accompanying drawing and implementation the utility model is further described.
In the field level measurement and control network of as shown in Figure 2 employing multi-host communication pattern, gateway module obtains the state of monitoring target by the node module in the network, perhaps by the corresponding controlled device of network node module controls.Gateway adopts the flow chart of Fig. 3, and network node adopts Fig. 4 to describe wired and wireless hot standby method workflow of communicating by letter, and realizes the how main redundancy communication of field level zero cost.
1) fault detect location and communication handover method:
Under the wire communication mode, when sending inquiry/control command, certain node module without answer, when perhaps the reply content form is incorrect, resends inquiry/control command to another node module; When repeating to send instruction, limited number of time all can not get the answer of correct format or basic when replying, this node module then sends the diagnosis frame to the left neighbor and right neighbor module of destination node respectively, according to the answer situation to the diagnosis frame, fault is judged and located, specific as follows:
A) when the left neighbor and right neighbor module of destination node all when replying, 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 with the destination node of wanting to communicate by letter, finish this inquiry/control task; 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) the left neighbor and right neighbor module when destination node all has answer, and replys when correct, thinks that the destination node module has fault or destination node module to go offline from bus.The node module of initiating communication switches to communication and destination node module communication, finishes communication task.Send simultaneously " report frame " to 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, form the failure logging of this node module, and report and submit to superior system or man-machine interface.
C) when correct answer of the left neighbors of destination node and right adjacent module without replying or reply when incorrect, think the node of initiating communication on the left side of destination node module, disconnection fault occurs in destination node between its right neighbors.Then the node module of initiating communication switches to communication and destination node module communication, finishes communication task.Send simultaneously " report frame " to gateway module, report disconnection fault point position, gateway just deposit within it with external memory in mapping space setting " disconnection fault sign " corresponding to bus line numbered address, the record trouble time, form the failure logging of this section circuit, and report and submit to superior system or man-machine interface.
D) when correct answer of the right neighbors of destination node and left adjacent module without replying or reply when incorrect, think the node of initiating communication on the right of destination node module, disconnection fault occurs in destination node between its left neighbors.Then the node module of initiating communication switches to communication and destination node module communication, finishes communication task.Send simultaneously " report frame " to gateway module, report disconnection fault point position, gateway just deposit within it with external memory in mapping space setting " disconnection fault sign " corresponding to bus line numbered address, the record trouble time, form the failure logging of this section circuit, and report and submit 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 " by communication to the whole network, all nodes on the network are informed in fault type and position, so that the communication mode of the knot adjustment 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 wireless mode with communicating by letter of this malfunctioning node thereafter.
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 wireless mode with the node on this left side, fault point thereafter.
2) method of recovery wire communication:
A) recover the method for wire communication after node failure is got rid of
Node module with wire communication fault continues to monitor " the fault eliminating flag bit " of oneself, when monitoring fault and got rid of, then switch to the wire communication mode, and send " the report frame " that can re-start wire communication 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) recover the method for wire communication after disconnection fault is got rid of
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 accordingly " disconnection fault eliminating signal " 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 energy 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 corresponding communication card.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 whole networked site measuring and control system and man-machine interface.
Certain industrial field bus is taked in wire communication unit wherein, such as 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 matchings.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, such as 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 the site measuring 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.Then the wired bus communication interface of gateway and administrative unit are respectively transceiver and the controller of CAN bus among the figure.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 by the CAN bus between network node and the gateway, for example gateway accepts and sends data by the CAN transceiver, the particular procedures of its transmitting-receiving is by its controller control, such as the error detection etc. of communicating by letter.When gateway module knows that according to aforementioned " communication failure detect and localization method " certain node in the site measuring and control network or certain section in the circuit have communication failure, this failure logging in internal memory and memory, is formed " 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 according to aforesaid " fault get rid of after communication recovery method " 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 "; System returns to the wire communication state; And notice is to master system or human-computer interaction interface.The power supply of gateway module is solved by power supply unit.When needing the data 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, such as 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 situations can not power the time, is enabled battery-powered.24VDC is through becoming 3.3VDC to the STM32ARM chip power supply of 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 by CAN interface and transceiver and wired CAN network, and the ZigBee wireless module is by antenna and telecommunication management controller and ZigBee wireless network swap data, and carries out serial communication by 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 by MAX485.
The external relations of the on-the-spot gateway module after the encapsulation as shown in Figure 7.
The beneficial effect that technical solutions of the utility model are 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, save cost, simplify redundancy communication network structure.
4) reliable industrial field bus is adopted in wire communication, general bus type structure, and whole site measuring and control system only has 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 utility model also can be made multiple variation and be equal in reality is implemented, the specific implementation 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 consist of all is the utility model basic scheme imbody in force.

Claims (2)

1. on-the-spot gateway module of wired and wireless hot backup redundancy multi-host communication, 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.
2. the on-the-spot gateway module of described wired and wireless hot backup redundancy multi-host communication according to claim 1 is characterized in that, described 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 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.
CN 201220340670 2012-07-13 2012-07-13 Wired and wireless hot standby redundancy multi-homed communication on-site gateway module Expired - Fee Related CN202713337U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201220340670 CN202713337U (en) 2012-07-13 2012-07-13 Wired and wireless hot standby redundancy multi-homed communication on-site gateway module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201220340670 CN202713337U (en) 2012-07-13 2012-07-13 Wired and wireless hot standby redundancy multi-homed communication on-site gateway module

Publications (1)

Publication Number Publication Date
CN202713337U true CN202713337U (en) 2013-01-30

Family

ID=47593594

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201220340670 Expired - Fee Related CN202713337U (en) 2012-07-13 2012-07-13 Wired and wireless hot standby redundancy multi-homed communication on-site gateway module

Country Status (1)

Country Link
CN (1) CN202713337U (en)

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
CN104816813B (en) A kind of lithium battery cell managing redundant control system peculiar to vessel
CN201934117U (en) Electro-hydraulic control system for hydraulic support in working face
WO2018103112A1 (en) Wireless sensing network monitoring system, fulcrum and gateway
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
CN102711214A (en) Wireless intelligent concentrator based on multi-channel communication dual-frequency networking and networking method of wireless intelligent concentrator
CN105424169A (en) Vibration monitoring system based on wireless sensor network
CN105551222A (en) Embedded bridge health monitoring system
CN101626626B (en) Wireless industrial radio frequency communication network platform and field deploying method thereof
CN105465954A (en) Central air-conditioning ad-hoc network control system based on Zigbee modules and wifi module
CN101488025A (en) Wireless automatic monitoring irrigation system
Li-min et al. Design of monitoring system for coal mine safety based on wireless sensor network
CN103267871A (en) Wind speed monitoring system based on ZigBee technology
CN201690610U (en) Self-organizing wireless sensing detection control network
CN117527577A (en) Network system based on HPLC and HRF dual-mode networking and network maintenance method thereof
CN202713337U (en) Wired and wireless hot standby redundancy multi-homed communication on-site gateway module
CN202711029U (en) Wired and wireless hot standby redundancy communication on-site network node module
CN203840366U (en) Intelligent gateway equipment supporting single-serial-port multi-protocol and single-network-port multi-platform modes
CN202565473U (en) Monitoring system based on wireless sensor network
CN102563168A (en) Multi-gas-circuit gas pressure remote control system
CN203759861U (en) Zigbee-based short circuit switch remote monitoring system for copper electrolysis

Legal Events

Date Code Title Description
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: 20130130

Termination date: 20150713

EXPY Termination of patent right or utility model