CN101296065A - Method and system for improving reliability of redundancy main station - Google Patents

Method and system for improving reliability of redundancy main station Download PDF

Info

Publication number
CN101296065A
CN101296065A CNA2008101271109A CN200810127110A CN101296065A CN 101296065 A CN101296065 A CN 101296065A CN A2008101271109 A CNA2008101271109 A CN A2008101271109A CN 200810127110 A CN200810127110 A CN 200810127110A CN 101296065 A CN101296065 A CN 101296065A
Authority
CN
China
Prior art keywords
main station
redundancy
working
station
main
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
CNA2008101271109A
Other languages
Chinese (zh)
Other versions
CN101296065B (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.)
Zhejiang Supcon Technology Co Ltd
Original Assignee
Zhejiang Supcon Technology 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 Zhejiang Supcon Technology Co Ltd filed Critical Zhejiang Supcon Technology Co Ltd
Priority to CN 200810127110 priority Critical patent/CN101296065B/en
Publication of CN101296065A publication Critical patent/CN101296065A/en
Application granted granted Critical
Publication of CN101296065B publication Critical patent/CN101296065B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Hardware Redundancy (AREA)

Abstract

The invention provides a method for enhancing the reliability of redundant master stations, which comprises the following steps: two or more redundant master stations are electrified for taking over working privilege; the mater station which takes over the working privilege is the working mater station and the master station which does not take over the working privilege is the standby master station; the standby master station transmits information of breakdown of the standby master station self through a redundant communication channel to the working master station which judges the breakdown level of the standby master station and the working master station self; if the breakdown level of the working master station is higher, the working privilege is handed over to the standby master station which is switched as the working master station. Meanwhile, the invention also provides a system for enhancing the reliability of the redundant master stations. With the invention, when the working master station is broken down, the standby station can be switched as the working master station, which greatly enhances the reliability of the communication between the master station and a slave station.

Description

A kind of method and system that improve reliability of redundancy main station
Technical field
The present invention relates to the redundancy main station field, particularly a kind of method and system that improve reliability of redundancy main station.
Background technology
Profibus comprises three compatible parts, i.e. Profibus-DP, Profibus-PA and Profibus-FMS.Profibus-DP (Decentralized Periphery) is a kind of high speed and cheap communicating to connect through optimizing, and is used for communicating by letter of device level control system and distributing I/O; Profibus-PA (Proces Automation) is applicable to industrial process automation; Profibus-FMS (Field Message Specification) is used for OO occasion, in the data communication of the general purpose of industrial automation system elementary layer and field layer.Because the open performance of Profibus fieldbus is good, has very strong mutual operability and replaceability, so long as support the field bus device of Profibus agreement, all can be integrated in easily in the Profibus network.
Profibus is a kind of standard for Fieldbus of opening, conform European standard EN50170.With open system internet (OSI, open system interconnection) as with reference to model.This model has seven layers, and ground floor is a physical layer, and the second layer is a data link layer, and the 3rd does not use to layer 6, and layer 7 is an application layer.
For realizing automatic control function, its reliability, fail safe, stability requirement are very high.At present, be to improve communication reliability, mainly by redundant network, make single main website can with a plurality of slave station redundancy communications.Referring to Fig. 1, shown master-slave communication mode schematic diagram.Adopt the master-slave communication mode, main website 101 and a plurality of substation 103 carries are in same universal serial bus 102.Fieldbus 102 herein can be any one form of Profibus bus.Transmit real time datas by fieldbus 102 between main website 101 and the substation 103, but in a single day main website 101 break down, will cause the website communication failure of all main websites 101 and substation 103, data can't be transmitted.Therefore the reliability that improves main website is most important to stablizing of whole communication system.
Summary of the invention
In case the objective of the invention is to break down at main website in the prior art, communicating by letter and to fail between main website and all slave stations, the method for designing of redundancy main station has been proposed, when working main station breaks down, standby main website becomes working main station, has greatly improved the reliability of communicating by letter between main website and the slave station.
The invention provides a kind of reliability method that improves redundancy main station, comprising:
Seize the work authority after two or more redundancy main stations power on, get the working main station that is of work authority, otherwise be standby main website;
Described standby main website passes to described working main station to faults itself information by the redundancy communication passage, the fault level of described working main station judgement self and described standby main website;
If the fault level height of described working main station is then abdicated the work authority, described standby main website switches to working main station.
Preferably, described redundancy main station is the Profibus redundancy main station.
Preferably, described two or more redundancy main stations are seized the work authority and are specially:
Described two or more redundancy main stations connect the different port of selecting chain respectively, and powered on moment selecting chain on one side signal is drawn high, and draw high the redundancy main station that the corresponding port of signal links to each other and get the work authority.
Preferably, comprise that also described standby main website utilizes described redundancy communication passage to read the unique identification value of configuration from described working main station, if find inconsistently, then standby main website upgrades self configuration, is consistent with the configuration of working main station.
Preferably, comprise that also described standby main website utilizes described redundancy communication passage and working main station real-time, interactive data.
Preferably, also comprise,
Transmit polling message by bus between working main station and the standby main website.
The present invention also provides a kind of system that improves reliability of redundancy main station, comprising:
Seize module, be used for seizing the work authority after two or more redundancy main stations power on, what get the work authority is working main station, otherwise is standby main website;
The fault judgement module is used for judging the fault level of described working main station and described standby main website after described standby main website passes to described working main station to faults itself information;
Handover module is used for fault level when described working main station when higher than described standby main station failure grade, switches the work authority of described working main station and described standby main website.
Preferably, described redundancy main station is the Profibus redundancy main station.
Preferably, also comprise selecting chain, described two or more redundancy main stations connect the different port of selecting chain respectively, and powered on moment selecting chain on one side signal is drawn high, and draw high the redundancy main station that the signal corresponding port links to each other and get the work authority.
Preferably, also comprise the redundancy communication passage, be used for real time communication between described standby main website and the described working main station.
Preferably, also comprise adaptation module,
Transmit polling message by bus between working main station and the standby main website.
Compared with prior art, the present invention has the following advantages:
The present invention proposes a kind of method and system that design redundancy main station, seize the work authority after two or more redundancy main stations power on, get the working main station that is of work authority, otherwise be standby main website; Standby main website passes to working main station to faults itself information, the fault level of working main station judgement self and standby main website; If the fault level height of working main station is then abdicated the work authority, standby main website switches to working main station to be continued and sub-station communication, transmits real time data, has avoided mass data to lose, and has greatly improved the reliability of working main station and sub-station communication.
Description of drawings
Fig. 1 is main website and a sub-station communication schematic diagram in the prior art;
Fig. 2 is the redundancy main station workflow diagram of the embodiment of the invention one;
Fig. 3 is the redundancy main station workflow diagram of the embodiment of the invention two;
Fig. 4 is the redundancy main station workflow diagram of the embodiment of the invention three;
Fig. 5 is a Profibus redundancy main station self-adaptive redundant model structure chart;
Fig. 6 is redundancy main station system embodiment one structure chart of the present invention;
Fig. 7 is redundancy main station system embodiment two structure charts of the present invention
Fig. 8 is a redundancy main station system configuration schematic diagram of the present invention;
Fig. 9 is redundancy main station system failure status architecture schematic diagram of the present invention
Figure 10 is a redundancy main station system construction drawing of the present invention.
Embodiment
The invention provides a kind of raising reliability of redundancy main station method, designed working main station and standby main website, these two main websites adopt identical hardware and softwares, and the IP address network of two main websites number is respectively A, A+1, standby main website is from working main station copy and real-time update configuration.Bus address being set for one of them main website is n, and the bus address of the main website redundant with it is assigned as n-1 automatically, and the scope of n is 1-125.These two main websites adopt the Hot Spare working method, all are in real-time running state, when working main station breaks down, the failure judgement grade when the working main station fault level is higher than standby main station failure grade, is abdicated the work authority, standby main website switches to working main station, continues to communicate with substation.
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the specific embodiment of the present invention is described in detail below in conjunction with accompanying drawing.
Referring to Fig. 2, the redundancy main station workflow diagram of the embodiment of the invention one, idiographic flow is as follows:
Step 201: seize the work authority after two or more redundancy main stations power on, get the working main station that is of work authority, otherwise be standby main website.Working main station and standby main website can be all and sub-station communication, also can one of them and sub-station communication.
Step 202: standby main website passes to working main station to the fault message of self by the redundancy communication passage, working main station judgement self and whose fault level height of standby main website.Fault level is divided into from high to low: configuration error, ethernet communication fault, all substation connection failures, the connection failure of part substation.
Step 203: when the fault level of working main station is high, abdicate the work authority, standby main website switches to working main station.The switch operating authority also comprises detect the signal that redundant selecting chain is drawn high automatically every predetermined time interval after redundancy main station is in running status, checks the redundancy main station running status.When finding this signal and expection inconsistent, working main station and standby main website switch operating authority.
The switch operating authority also comprises when program fleet, forces to switch the work authority of redundancy main station with reset circuit.For example reset with house dog.
Specific embodiment when below being two main websites for redundancy main station.
Referring to Fig. 3, the redundancy main station workflow diagram of the embodiment of the invention two, idiographic flow is as follows:
Step 301: latter two redundancy main station that powers on is seized the work authority, gets the working main station that is of work authority earlier, otherwise is standby main website.
The work authority of seizing is to build the electrifying condition that redundant selecting chain is simulated main website by gate, and the back selecting chain that powers on is drawn high one side signal, and the continuous main website of signal becomes working main station therewith, otherwise becomes standby main website.
Step 302: switch operating authority.Standby main website passes to working main station to the fault level of self, the fault level of working main station judgement self and standby main website.The fault level of working main station and standby main website real-time update self, when the fault level of working main station was higher than standby main station failure grade, working main station was abdicated the work authority, and standby main website switches to working main station.
The switch operating authority also comprises detect the signal that redundant selecting chain is drawn high automatically every predetermined time interval after redundancy main station is in running status, checks the redundancy main station running status.When finding this signal and expection inconsistent, working main station and standby main website switch operating authority.
The switch operating authority also comprises when program fleet, forces to switch the work authority of redundancy main station with reset circuit.For example reset with house dog.
Step 303: working main station is communicated by letter by the redundant channel with standby main website, this redundant channel is a data communication channel of opening up with serial ports between working main station and the standby main website, send communication request by standby main website to working main station, periodically with working main station interactive real time data.Standby main website copies configuration from working main station, reads the unique identification value of configuration, and inconsistent as finding configuration, then standby main website upgrades configuration, constantly is consistent with working main station.
Standby main website is real-time transmitted to faults itself information working main station and obtains the other side's fault message by the redundant channel.The fault level of working main station and standby main website real-time update self.
Step 304: working main station is judged self and whose fault level height of standby main website; Fault level is divided into from high to low: configuration error, ethernet communication fault, all substation connection failures, the connection failure of part substation.When the working main station fault level is higher than standby main station failure grade, enters step 302, otherwise enter step 305.
It is to download illegal configuration to working main station in order to prevent that configuration error is defined as the highest fault level, causes field accident.After illegal configuration downloaded to working main station, its work authority switched to standby main website immediately, downloaded legal configuration from standby main website.Main website and sub-station communication data need be uploaded through Ethernet and assign, so the Ethernet fault level is than main website slave station communication fault level height.
Step 305: working main station and ethernet communication, comprise from Ethernet and download configuration, upload and assign real time data etc.; Standby main website and ethernet communication just receive data from Ethernet, do not send data.
Referring to Fig. 4, the redundancy main station workflow diagram of the embodiment of the invention three.Idiographic flow is as follows:
Step 401: latter two redundancy main station that powers on is seized the work authority, gets the working main station that is of work authority earlier, otherwise is standby main website.
Build the electrifying condition that redundant selecting chain is simulated main website with gate, the back selecting chain that powers on is drawn high one side signal, and the continuous main website of signal becomes working main station therewith, otherwise becomes standby main website.
Step 402: the switch operating authority, when the fault level of working main station is higher than standby main station failure grade, the switch operating authority, standby main website becomes working main station.
The switch operating authority also comprises detect the signal that redundant selecting chain is drawn high automatically every predetermined time interval after redundancy main station is in running status, checks work/standby operation state.When finding this signal and expection inconsistent, working main station and standby main website switch operating authority.
The switch operating authority also comprises when program fleet, forces to switch the work authority of redundancy main station with reset circuit.For example reset with house dog.
Step 403: working main station is communicated by letter by the redundant channel with standby main website, this redundant channel is a data communication channel of opening up with serial ports between working main station and the standby main website, send communication request by standby main website to working main station, periodically with working main station interactive real time data and diagnostic message.Standby main website copies configuration from working main station, reads the unique identification value of configuration, and inconsistent as finding configuration, then standby main website upgrades configuration, constantly is consistent with working main station.
Standby main website is real-time transmitted to faults itself information working main station and obtains the other side's fault message by the redundant channel.The fault level of working main station and standby main website real-time update self.
Step 404: the grade of working main station judgement self and standby main station failure.When the fault level of working main station is higher than the fault level of standby main website, enters step 402, otherwise enter step 405.Fault level is divided into from high to low: configuration error, ethernet communication fault, all substation connection failures, the connection failure of part substation.
It is to download illegal configuration to working main station in order to prevent that configuration error is defined as the highest fault level, causes field accident.After illegal configuration downloaded to working main station, its work authority switched to standby main website immediately, downloaded legal configuration from standby main website.Main website and sub-station communication data need be uploaded through Ethernet and assign, so the Ethernet fault level is than main website slave station communication fault level height.
Step 405: working main station and ethernet communication, comprise from Ethernet and download configuration, upload and assign real time data etc.; Standby main website and ethernet communication just receive data from Ethernet, do not send data.
Step 406: when redundancy main station was the Profibus redundancy main station, working main station and standby main website be the testbus signal intelligence periodically, judged and the self-adaptive redundant pattern.Working main station and standby main website upload polling message on bus, the main website that does not connect on bus constantly changes self communication pattern, connect with substation, when bus connecting mode is redundant mode also its variation of self adaptation of communications status when changing.When bus connecting mode is the system redundancy pattern, enter step 407, during for the fast-speed redundancy pattern, enter step 408.
Step 407: system redundancy pattern: the equal and sub-station communication of working main station and standby main website.
Step 408: fast-speed redundancy pattern: have only one of them redundancy main station and sub-station communication.
Referring to Fig. 5, Profibus redundancy main station self-adaptive redundant model structure chart.Following mask body is described the adaptive process of redundancy main station to system redundancy and two kinds of redundant modes of fast-speed redundancy.
501: system normally moves with the fast-speed redundancy pattern, and the left side is in running order, and promptly with sub-station communication, the right side is in stand-by state, promptly not with sub-station communication.
502: active side master station communication originally is still normal, and prepped side main website originally will switch to operating state, expectation and sub-station communication, but can't realize, so constantly transition state communicates by letter with active side main website or substation foundation.
503: active side main website originally still keeps communicate by letter with substation 2, and prepped side main website originally switches to operating state owing to having interrupted and the communicating by letter of active side main website, and has set up correspondence with substation 1 then.In fact this moment, network configuration became the system redundancy pattern.
504: active side main website originally owing to lost with substation communicates by letter, and switches to the prepped side state immediately, attempts with the active side main website foundation and communicates by letter.Prepped side main website originally communicates by letter owing to having lost with the active side main website, switches to operating state and substation 1 and substation 2 immediately and has set up correspondence.
Active side here and prepped side are meant the communications status on the Profibus bus, do not represent the relation of working main station and standby main website.Prepped side is periodically sent the req polling message to active side, and when normal and two redundancy main stations are connected on the same Profibus bus when active side operation, prepped side will be received active side response message ack.
Referring to Fig. 6, redundancy main station system embodiment one structure chart of the present invention.Comprise and seize module 601, fault judgement module 603, handover module 604.
Seize module 601, be used for seizing the work authority after two or more redundancy main stations power on, what get the work authority earlier is working main station, and another is standby main website.Build the electrifying condition that redundant selecting chain is simulated main website with gate, the back selecting chain that powers on is drawn high one side signal, and the continuous main website of signal becomes working main station therewith, otherwise becomes standby main website.
Fault judgement module 602, after standby main website passes to working main station to faults itself information, judgment task main website and standby main station failure grade.Fault level is divided into from high to low: configuration error, ethernet communication fault, all substation connection failures, the connection failure of part substation.
Handover module 603, when the fault level of working main station is higher than standby main station failure grade, the work authority of switch operating main website and standby main website.Working main station is abdicated the work authority, and standby main website switches to working main station.
When redundancy main station was the Profibus redundancy main station, corresponding system embodiment two was specific as follows.
Referring to Fig. 7, redundancy main station system embodiment two structure charts of the present invention.Comprise selecting chain 701, seize module 702, redundancy communication passage 703, fault judgement module 704, handover module 705, adaptation module 706.
The redundant selecting chain that selecting chain 701 usefulness gates are built, the electrifying condition of simulate redundant main website.
Seize module 702 after system powers on, redundancy main station is seized the work authority, and what get the work authority earlier is working main station, and another is standby main website.Described redundancy main station connects the different port of selecting chain respectively, and the back selecting chain that powers on is drawn high one side signal, and the continuous main website of the corresponding port of signal becomes working main station therewith, otherwise becomes standby main website.
Redundancy communication passage 703, standby main website pass through the redundancy communication passage to working main station communication.This redundant channel is a data communication channel of opening up with serial ports between working main station and the standby main website, sends communication request by standby main website to working main station, periodically with working main station interactive real time data.
Standby main website is real-time transmitted to working main station to faults itself information by the redundant channel.
Fault judgement module 704, working main station compares faults itself grade and standby main station failure grade, judges whose fault level height.Fault level is divided into from high to low: configuration error, ethernet communication fault, all substation connection failures, the connection failure of part substation.
Handover module 705 when the fault level of working main station is higher than standby main station failure grade, the work authority of switch operating main website and standby main website, working main station is abdicated the work authority, standby main website switches to working main station.
Adaptation module 706, when redundancy main station was the Profibus redundancy main station, working main station and standby main website adapted to the bus redundancy pattern, can judge redundant mode according to the signal intelligence between the communication between two main websites and main website and the slave station.When two main websites are the system redundancy pattern during all with sub-station communication; When two main websites have only one of them and sub-station communication is the fast-speed redundancy pattern.
The present invention is switched at working main station for preventing, when corresponding bus is also switched, because of the equipment that connects on the different bus does not keep communicate by letter with above-mentioned each bus simultaneously, cause the bus switching after, each equipment can not communicate by each bus and control corresponding module, and the data communication fault takes place.The present invention carries out real-time data by the control module on each bus and integrates, to avoid the data communication fault.
The present invention integrates the redundant bus data, increases the fieldbus reliability.Integrate by data, obtain most complete data on the redundant bus, and be forwarded to the control corresponding module, make control module preserve partial data, bring into play the reliability advantage of redundant bus to greatest extent.
The present invention has independent communication management function, elevator system performance.The bus management task is independent in control module, need carry out the equipment of communication with equipment on the redundant bus for other, only need to guarantee the communication with control module, just can guarantee the integrality of bus data to greatest extent.Bear the control module of data operation task for needs, can improve the control module operation efficiency, improve system response time, the elevator system performance.
The present invention is applicable to multiple field bus protocol, and is portable good.The present invention is not subjected to the restriction of communications protocol, communication modes, is not limited to a certain system or a certain class fieldbus, is applicable to the various buses that can hang a plurality of field apparatuss down.Communication control module of the present invention can be used for the connection between different fieldbus, and for example the serial fieldbus is used at the control scene, and bus data can be forwarded to CAN fieldbus etc. by control module.
With reference to Fig. 8, for redundancy main station system configuration schematic diagram of the present invention, comprise the DCS controller, serial communication control unit A, serial communication control unit B, universal serial bus A, universal serial bus B, field apparatus C, field apparatus D, and field apparatus D '.
The DCS controller is responsible for the data of collection site equipment C and field apparatus D, and participates in the control computing.DCS controller and two redundant each other serial communication control unit A, serial communications are controlled single B and are realized communication by the redundancy industrial Ethernet.DCS controller and serial communication control unit A, serial communication are controlled single B and are all linked to each other with two redundant each other Industrial Ethernet by two network interfaces.
Design has redundancy switching circuit between serial communication control unit A, serial communication control unit B, and realizes redundancy communication by USART (full duplex universal synchronous/asynchronism transceiver) mode, universal serial bus of each communication control unit management.Field apparatus C gathers sampled point C signal, has two redundant serial ports, links to each other with two buses respectively; The field apparatus D of two identical configurations, scene are established D ' and are gathered sampled point D signal, are mounted on respectively on two buses.
In the operate as normal, the equal normal communication of all devices and bus, Rong Yu serial communication control unit A, serial communication control unit B work simultaneously each other, be in major state and next state respectively, the serial communication control unit that is in major state is called main communication control unit, and the serial communication control unit that is in next state is called time communication control unit.Main communication control unit sends data to self institute's universal serial bus of being with, and sends identical data by the redundancy communication passage to inferior communication control unit simultaneously, inferior communication control unit again with the data forwarding received to self universal serial bus of being with.As shown in Figure 8, serial communication control unit A is in major state,, serial communication control unit B is in next state.The DCS controller is direct and serial communication control unit A communication by Industrial Ethernet, and serial communication control unit B is synchronous to guarantee with serial communication control unit A by redundancy communication passage and serial communication control unit A swap data.With universal serial bus under the field apparatus hung carry out on the aspect of communication, B is equal for serial communication control unit A, serial communication control unit, and the field apparatus of hanging under the bus is separately carried out signals collecting and equipment control.
In the system all devices and bus all can the situation of operate as normal under, the DCS controller will obtain to send to from the A bus data of field apparatus C, field apparatus D by serial communication control unit A, field apparatus C on the B bus, the data of field apparatus D will by on deliver to serial communication control unit B, do discard processing.
The communication of supposing field apparatus C and A bus is broken down, and is simultaneously normal with the B bus communication, and field apparatus D and B bus communication fault are simultaneously normal with the A bus communication, as shown in Figure 9.At this moment, serial communication control unit B is known serial communication control unit A and C device talk fault, and the communication of self and C equipment is normal, serial communication control unit B passes through the data of equipment C on the redundancy communication channel transfer B bus to serial communication control unit A, by serial communication control unit A integral data, with the data forwarding of field apparatus C, field apparatus D to the DCS controller.
The present invention also provides a kind of communication control unit, manages one or more fieldbus simultaneously, possesses failure diagnosis, redundant switching, redundancy communication, the data forwarding function.Be example with this serial communication control unit below, be specifically described.
As shown in figure 10, this serial communication control unit can provide four tunnel separate 1~4, two redundant each other ethernet communication interface a, b of universal serial bus, redundant switching channel and redundancy communication passage.On function, the serial communication control unit can be divided into three parts: serial bus communication part, ethernet communication part, Redundancy Management part.The serial bus communication part is comparatively independent, no matter this serial communication control unit is in which kind of state (primary and secondary state), this part is operate as normal all.The ethernet communication partial function depends on the serial communication control unit is in which kind of state (primary and secondary state), only carries out ethernet communication with the logical serial communication control unit that is in major state.The Redundancy Management part is closely related with other two-part operating states, comprises failure diagnosis, the redundant switching and redundancy communication.
The serial communication control unit is managed four pairs of separate redundant serial bus simultaneously, and the every pair of bus can descend to hang 32 field apparatuss at most, and the serial communication control unit can carry out communication by serial communication protocol such as Modbus and these field apparatuss.For guaranteeing the reliability of serial communication control unit and ethernet communication, this serial communication unit adopts the Redundant Ethernet interface.
The failure diagnosis of serial communication control unit, redundant switching and redundancy communication function are combined closely.The redundancy communication content is divided into two classes, and a class is the failure diagnosis information of two redundant each other serial communication control units, another kind of be need with the real time data of Ethernet exchange.
The serial communication control unit can be to the ethernet communication state, the bus communication state, the device talk state, the self-operating state carries out self check, fill in failure diagnosis information, periodically initiate redundancy communication by the serial communication control unit that is in next state,, and send self diagnostic message to the serial communication control unit that is in major state to the serial communication control unit request diagnostic message that is in major state.
As Figure 10, suppose that serial communication control unit A is in major state, serial communication control unit B is in next state.Serial communication control unit B periodically initiates redundancy communication, after serial communication control unit A obtains the diagnostic message of serial communication control unit B, according to fault to the influence of the communication fault level of self and serial communication control unit B relatively, if serial communication control unit A fault is not higher than serial communication control unit B, will keep existing primary and secondary state.When serial communication control unit A finds that the faults itself grade is higher than serial communication control unit B, serial communication control unit A will initiatively initiate redundant change action, change the primary and secondary state.When the serial communication control unit that is in major state can't obtain the diagnostic message of next state unit, do not switch.
Exchange diagnostic message with definite operating state except that needs between two redundant each other serial communication control units, the more important thing is to exchange real time data mutually, to integrate the data of two buses.Serial communication control unit B periodically initiates redundancy communication, serial communication control unit B obtains the diagnostic message of serial communication control unit A, suppose to learn equipment 10, equipment 20, equipment 31 breaks down with serial communication control unit A communication, serial communication control unit B is according to self diagnostic message judgement, whether these three equipment are normal with self communication, if these three equipment and the communication of self also are in malfunction, then serial communication control unit B does not do operation, suppose equipment 10, equipment 31 is normal with serial communication control unit B communication, serial communication control unit B is with transmitting apparatus 10, the real time input data of equipment 31 is to serial communication control unit A, and by serial communication control unit A with equipment 10, the data of equipment 31 and equipment of itself data are integrated, and are sent to Ethernet; Equally, this moment, Ethernet issued the real-time write operation data to equipment 10 or equipment 31, serial communication control unit A will send it to serial communication control unit B by the redundancy communication passage, be transmitted to equipment 10 or equipment 31 by serial communication control unit B again.
The above only is preferred embodiment of the present invention, is not the present invention is done any pro forma restriction.Though the present invention discloses as above with preferred embodiment, yet be not in order to limit the present invention.Any those of ordinary skill in the art, do not breaking away under the technical solution of the present invention scope situation, all can utilize the method and the technology contents of above-mentioned announcement that technical solution of the present invention is made many possible changes and modification, or be revised as the equivalent embodiment of equivalent variations.Therefore, every content that does not break away from technical solution of the present invention, all still belongs in the scope of technical solution of the present invention protection any simple modification, equivalent variations and modification that above embodiment did according to technical spirit of the present invention.

Claims (11)

1, a kind of method that improves reliability of redundancy main station is characterized in that, comprising:
Seize the work authority after two or more redundancy main stations power on, get the working main station that is of work authority, otherwise be standby main website;
Described standby main website passes to described working main station to faults itself information by the redundancy communication passage, the fault level of described working main station judgement self and described standby main website;
If the fault level height of described working main station is then abdicated the work authority, described standby main website switches to working main station.
2, method according to claim 1 is characterized in that, described redundancy main station is the Profibus redundancy main station.
3, method according to claim 1 is characterized in that, described two or more redundancy main stations are seized the work authority and are specially:
Described two or more redundancy main stations connect the different port of selecting chain respectively, and powered on moment selecting chain on one side signal is drawn high, and draw high the redundancy main station that the corresponding port of signal links to each other and get the work authority.
4, method according to claim 1, it is characterized in that, comprise that also described standby main website utilizes described redundancy communication passage to read the unique identification value of configuration from described working main station, if find inconsistent, then standby main website upgrades self configuration, is consistent with the configuration of working main station.
5, method according to claim 1 is characterized in that, comprises that also described standby main website utilizes described redundancy communication passage and working main station real-time, interactive data.
6, method according to claim 2 is characterized in that, also comprise,
Transmit polling message by bus between working main station and the standby main website.
7, a kind of system that improves reliability of redundancy main station is characterized in that, comprising:
Seize module, be used for seizing the work authority after two or more redundancy main stations power on, what get the work authority is working main station, otherwise is standby main website;
The fault judgement module is used for judging the fault level of described working main station and described standby main website after described standby main website passes to described working main station to faults itself information;
Handover module is used for fault level when described working main station when higher than described standby main station failure grade, switches the work authority of described working main station and described standby main website.
8, method according to claim 1 is characterized in that, described redundancy main station is the Profibus redundancy main station.
9, system according to claim 7, it is characterized in that, also comprise selecting chain, described two or more redundancy main stations connect the different port of selecting chain respectively, powered on moment selecting chain on one side signal is drawn high, and draws high the redundancy main station that the signal corresponding port links to each other and gets the work authority.
10, system according to claim 7 is characterized in that, also comprises the redundancy communication passage, is used for real time communication between described standby main website and the described working main station.
11, system according to claim 8 is characterized in that, also comprises adaptation module,
Transmit polling message by bus between working main station and the standby main website.
CN 200810127110 2008-06-19 2008-06-19 Method and system for improving reliability of redundancy main station Active CN101296065B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810127110 CN101296065B (en) 2008-06-19 2008-06-19 Method and system for improving reliability of redundancy main station

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810127110 CN101296065B (en) 2008-06-19 2008-06-19 Method and system for improving reliability of redundancy main station

Publications (2)

Publication Number Publication Date
CN101296065A true CN101296065A (en) 2008-10-29
CN101296065B CN101296065B (en) 2012-10-03

Family

ID=40066103

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810127110 Active CN101296065B (en) 2008-06-19 2008-06-19 Method and system for improving reliability of redundancy main station

Country Status (1)

Country Link
CN (1) CN101296065B (en)

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102710402A (en) * 2012-05-25 2012-10-03 王可中 Method for forming hot standby redundant main station
CN103139033A (en) * 2013-02-06 2013-06-05 浙江中控技术股份有限公司 Primary device redundancy switching method of single main communication control bus
CN103702306A (en) * 2012-09-27 2014-04-02 阿尔卡特朗讯 Method and equipment for charging user equipment during charging failure of OCS (online charging system)
CN102710356B (en) * 2012-05-25 2016-04-13 周明 A kind of real time redundancy master station data synchronization method
CN106227124A (en) * 2016-10-09 2016-12-14 浙江中控技术股份有限公司 A kind of control system
CN106911530A (en) * 2017-01-06 2017-06-30 北京临近空间飞行器系统工程研究所 A kind of crucial test command transmission system and method based on serial ports redundancy strategy
CN107347027A (en) * 2017-06-08 2017-11-14 中国电子信息产业集团有限公司第六研究所 A kind of link redundancy communication system based on EtherCAT
CN107612800A (en) * 2017-09-14 2018-01-19 北京鼎实创新科技股份有限公司 A kind of implementation method and control device of the Y type conversion equipments of connection PROFIBUS redundant networks and Monobus network
CN108388108A (en) * 2018-02-27 2018-08-10 浙江中控技术股份有限公司 The method and device of synchrodata in a kind of multiple redundancy control system
CN110677302A (en) * 2019-10-09 2020-01-10 浙江中控技术股份有限公司 Communication control method, device and system
CN111061235A (en) * 2019-12-20 2020-04-24 中核控制系统工程有限公司 DCS equipment diagnosis method with fault early warning function
CN111817939A (en) * 2020-07-22 2020-10-23 浙江中控技术股份有限公司 Master station redundancy implementation system and method based on industrial Ethernet protocol
CN112887133A (en) * 2021-01-21 2021-06-01 杭州康吉森自动化科技有限公司 Redundancy switching method for industrial gateway, industrial gateway and storage medium
CN113067782A (en) * 2020-08-12 2021-07-02 浙江华云信息科技有限公司 High-reliability electric energy acquisition and transmission system based on redundancy system
CN114285690A (en) * 2021-11-30 2022-04-05 国核自仪系统工程有限公司 FF field bus equipment redundant communication implementation method and FF field bus equipment
CN114428451A (en) * 2021-12-06 2022-05-03 浙江中控技术股份有限公司 Method for switching external communication permission of redundant communication module
CN114639496A (en) * 2022-02-24 2022-06-17 中核武汉核电运行技术股份有限公司 Redundancy association method and device for nuclear power technological equipment
CN115113612A (en) * 2022-07-20 2022-09-27 中国核动力研究设计院 Nuclear power plant DCS redundancy switching value output diagnosis system and diagnosis method
CN116055249A (en) * 2023-02-02 2023-05-02 杭州和利时自动化有限公司 Bus communication system, control method, device and medium thereof
CN118337607A (en) * 2024-06-17 2024-07-12 中科航迈数控软件(深圳)有限公司 Ethernet communication method, device, equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1109416C (en) * 2000-04-25 2003-05-21 华为技术有限公司 Method and equipment for swapping active with standby switches
CN1303532C (en) * 2003-07-10 2007-03-07 浙江中控技术有限公司 Redundant switching controlling method and circuit
CN100479434C (en) * 2005-09-15 2009-04-15 华为技术有限公司 Method and system for realizing virtual router redundant protocol master and standby equipment switching

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102710356B (en) * 2012-05-25 2016-04-13 周明 A kind of real time redundancy master station data synchronization method
CN102710402A (en) * 2012-05-25 2012-10-03 王可中 Method for forming hot standby redundant main station
CN103702306A (en) * 2012-09-27 2014-04-02 阿尔卡特朗讯 Method and equipment for charging user equipment during charging failure of OCS (online charging system)
CN103139033A (en) * 2013-02-06 2013-06-05 浙江中控技术股份有限公司 Primary device redundancy switching method of single main communication control bus
CN103139033B (en) * 2013-02-06 2016-04-06 浙江中控技术股份有限公司 Single main communications control bus main equipment redundancy switching method
CN106227124B (en) * 2016-10-09 2019-01-29 浙江中控技术股份有限公司 A kind of control system
CN106227124A (en) * 2016-10-09 2016-12-14 浙江中控技术股份有限公司 A kind of control system
CN106911530B (en) * 2017-01-06 2020-04-10 北京临近空间飞行器系统工程研究所 Key test instruction transmission system and method based on serial port redundancy strategy
CN106911530A (en) * 2017-01-06 2017-06-30 北京临近空间飞行器系统工程研究所 A kind of crucial test command transmission system and method based on serial ports redundancy strategy
CN107347027A (en) * 2017-06-08 2017-11-14 中国电子信息产业集团有限公司第六研究所 A kind of link redundancy communication system based on EtherCAT
CN107612800A (en) * 2017-09-14 2018-01-19 北京鼎实创新科技股份有限公司 A kind of implementation method and control device of the Y type conversion equipments of connection PROFIBUS redundant networks and Monobus network
CN107612800B (en) * 2017-09-14 2021-05-25 北京鼎实创新科技股份有限公司 Implementation method and control device of Y-type conversion equipment for connecting PROFIBUS redundant double-bus network and PROFIBUS single-bus network
CN108388108A (en) * 2018-02-27 2018-08-10 浙江中控技术股份有限公司 The method and device of synchrodata in a kind of multiple redundancy control system
CN108388108B (en) * 2018-02-27 2021-05-25 浙江中控技术股份有限公司 Method and device for synchronizing data in multiple redundancy control system
CN110677302A (en) * 2019-10-09 2020-01-10 浙江中控技术股份有限公司 Communication control method, device and system
CN111061235A (en) * 2019-12-20 2020-04-24 中核控制系统工程有限公司 DCS equipment diagnosis method with fault early warning function
CN111061235B (en) * 2019-12-20 2020-12-15 中核控制系统工程有限公司 DCS equipment diagnosis method with fault early warning function
CN111817939A (en) * 2020-07-22 2020-10-23 浙江中控技术股份有限公司 Master station redundancy implementation system and method based on industrial Ethernet protocol
CN113067782A (en) * 2020-08-12 2021-07-02 浙江华云信息科技有限公司 High-reliability electric energy acquisition and transmission system based on redundancy system
CN112887133A (en) * 2021-01-21 2021-06-01 杭州康吉森自动化科技有限公司 Redundancy switching method for industrial gateway, industrial gateway and storage medium
CN112887133B (en) * 2021-01-21 2022-08-16 杭州康吉森自动化科技有限公司 Redundancy switching method for industrial gateway, industrial gateway and storage medium
CN114285690A (en) * 2021-11-30 2022-04-05 国核自仪系统工程有限公司 FF field bus equipment redundant communication implementation method and FF field bus equipment
CN114428451A (en) * 2021-12-06 2022-05-03 浙江中控技术股份有限公司 Method for switching external communication permission of redundant communication module
CN114428451B (en) * 2021-12-06 2024-03-19 浙江中控技术股份有限公司 Method for switching external communication permission of redundant communication module
CN114639496A (en) * 2022-02-24 2022-06-17 中核武汉核电运行技术股份有限公司 Redundancy association method and device for nuclear power technological equipment
CN115113612A (en) * 2022-07-20 2022-09-27 中国核动力研究设计院 Nuclear power plant DCS redundancy switching value output diagnosis system and diagnosis method
CN115113612B (en) * 2022-07-20 2024-06-04 中国核动力研究设计院 Nuclear power plant DCS system redundancy switching value output diagnosis system and diagnosis method
CN116055249A (en) * 2023-02-02 2023-05-02 杭州和利时自动化有限公司 Bus communication system, control method, device and medium thereof
CN116055249B (en) * 2023-02-02 2024-09-10 杭州和利时自动化有限公司 Bus communication system, control method, device and medium thereof
CN118337607A (en) * 2024-06-17 2024-07-12 中科航迈数控软件(深圳)有限公司 Ethernet communication method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN101296065B (en) 2012-10-03

Similar Documents

Publication Publication Date Title
CN101296065B (en) Method and system for improving reliability of redundancy main station
CN106878081A (en) Train gateway redundancy control system and its control method
CN104669268B (en) A kind of redundancy underwater robot self-control system based on Hot Spare and method
CN102880143B (en) Single control area network (CAN) controller hot-redundant CAN bus system and implementation method thereof
CN102638735B (en) Optical node device and business switching method thereof
CN101079782A (en) Wind site communication network using dual loop redundancy
CN103139060A (en) High-fault-tolerance controller area network (CAN) bus digital gateway based on double digital signal processors (DSPs)
CN104009976B (en) A kind of real-time communication method being used between more main station systems and its equipment
CN102724092A (en) Profibus-DP communication protocol redundancy master station
CN106603359A (en) Communication control method of PLC system and apparatus thereof
CN109104347A (en) Gateway shift process, system and its apparatus based on CANopen agreement transmission data
CN105334729A (en) Method for redundancy switch of two independent PLC systems in railway locomotive depot signal control
CN100385255C (en) Double collecting machine system and it double collecting method for double machine hot back-up
CN104639358B (en) batch network port switching method and switching system
CN106657115A (en) Frequency converter control system and protocol conversion card thereof
CN106487627A (en) RIOM and the train with RIOM
CN102561880A (en) Control system for shielding barrier and safety gate of rail transit platform
CN1968075B (en) Distributed hot-standby logic device and primary/standby board setting method
CN1798114A (en) CAN bus - bridge of Ethernet network
CN102611600A (en) Method and device for locating short circuit position of CAN (Controller Area Network) network
CN101674201B (en) Method for actively triggering active standby switch of Ethernet switch clustering
CN106411616B (en) A kind of device and method by 1553B bus management ethernet terminal
CN203301525U (en) Network security isolator based on information bridge
CN104182307A (en) Serial port redundancy switching method on basis of independent redundancy server
CN102843265B (en) Not resetting without the hot standby dual link method of perturbation of a kind of communication protocol

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