CN103885416B - Active and standby system high speed changing method based on IO interlocking - Google Patents
Active and standby system high speed changing method based on IO interlocking Download PDFInfo
- Publication number
- CN103885416B CN103885416B CN201410108091.0A CN201410108091A CN103885416B CN 103885416 B CN103885416 B CN 103885416B CN 201410108091 A CN201410108091 A CN 201410108091A CN 103885416 B CN103885416 B CN 103885416B
- Authority
- CN
- China
- Prior art keywords
- active
- standby
- standby system
- principal series
- switches
- 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.)
- Active
Links
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Safety Devices In Control Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses active and standby system high speed changing method based on IO interlocking, including: it is respectively provided with identical timing cycle operation active and standby the fastening with I/O port;The start of each system is both configured to standby system after completing to initialize;Standby system is set in each system and switches to the condition of principal series;Principal series is set in each system and switches to the condition of standby system;After standby system switches to principal series, output port output principal series mark;After principal series switches to standby system, output port stops output principal series mark.The present invention can improve the efficiency of active-standby switch based on the active and standby system high speed changing method that IO interlocks, and reduces the hardware cost of active-standby switch function, simplified system architecture, improves the reliability of system simultaneously.
Description
Technical field
The present invention relates to field of industrial automation control, particularly relate to the switching at a high speed of a kind of active and standby system based on IO interlocking
Method.
Background technology
Existing field of industrial automation control, such as railway signal control system, high furnace control system etc., to active and standby system
The mode realizing main employing software and hardware combining of handoff functionality.The mode of software and hardware combining refers to be realized cutting by hardware circuit
The interlock logic changed, it is ensured that do not have twin-engined phenomenon, and realized performing the logical judgment of active-standby switch by software.
Existing active and standby system mostly pays close attention to and avoids the situation of double principal series to occur and use hardware relay circuit to realize interlocking, and this
The defect planting design is to need to arrange hardware exchange circuit specially to cause the reduction of active and standby system switching efficiency.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of interlocking based on IO and is switched at a high speed by the active and standby system of software control realization
Method.
For solve above-mentioned technical problem, the present invention provide based on IO interlocking active and standby system high speed changing method, including with
Lower step:
1) it is respectively provided with identical timing cycle operation active and standby the fastening with I/O port;
2) start of each system is both configured to standby system after completing to initialize;
3) arranging, in each system, the condition that standby system switches to principal series is: this is for normal operating conditions, and the other side system is for standby
System;
4) arranging principal series in each system switches to the condition of standby system to be:
A) this is for off-line state;
B) this is that duty is worse than the other side system;
C) manual active and standby system switching command is received;
D) the other side system is principal series state, and the other side system is normal operating conditions;
5) after standby system switches to principal series, output port output principal series mark;
After principal series switches to standby system, output port stops output principal series mark.
The active and standby system high speed changing method that the present invention interlocks based on IO, compared with traditional active-standby switch functional design, takes
Disappeared the hardware of active-standby switch unit (mainly having the interlock circuit that relay assembly becomes), improves the efficiency of active-standby switch,
Reduce the hardware cost of active-standby switch function, simplified system architecture, improve the reliability of system simultaneously.
Accompanying drawing explanation
The present invention is further detailed explanation with detailed description of the invention below in conjunction with the accompanying drawings:
Fig. 1 is embodiment of the present invention I/O port principle schematic.
Fig. 2 is embodiment of the present invention MTS principle schematic.
Fig. 3 is embodiment of the present invention State Transferring relation schematic diagram.
Description of reference numerals
It is switched to B system for principal series from A system
It is switched to A system for principal series from B system
A system and/or B system can normally work (can make principal series or standby system)
A system and/or B system cisco unity malfunction (off-line)
Detailed description of the invention
One embodiment of the invention, active and standby tie up to all to configure in hardware configuration independent I/O port (digital quantity input module and
Digital output module).The most active and standby is that two input ports of each system and an output port are for distributing to active and standby system
Handoff functionality uses, and additionally joins a self-resetting type for manual switching and switchs one.The present embodiment I/O port principle is such as
Shown in Fig. 1, active and standby system is that in functional descriptions i.e. accompanying drawing, A system can be that principal series is alternatively standby system, and B system is the most identical.Main
Standby system is the input point being often by ZJI(, represents whether the other side system is main frame, and it is main that high level represents the other side system
Machine, low level represents the other side system for standby host) input port and ZJO(ZJO be the output point being often, representing this is
Whether being main frame, high level represents this, it is for standby host that low level represents this, and this signal can be directly accessed the other side if being for main frame
In the ZJI of system) output port carries out confirmation and the communication of active and standby system;It is the input point being often by SDI(, generation
Whether table carries out switch between master and slave machines, when this be for main frame cut SDI be high level time, this is that to initiate to switch this be for standby host
Flow process) input port realizes the manual information gathering switching on off state.MTS principle as in figure 2 it is shown,
Switching push button can use the Automatic-reset button of band key, when switching to A system, switching to B system or release button,
Button automatically reverts to automated location.
Embodiment of the present invention State Transferring relation as it is shown on figure 3, there is I/O port active and standby fasten be respectively provided with identical
Timing cycle run;Timing cycle runs and refers to that all of software function performs in a timer interrupt routine, regularly
The time interrupted is changeless.Such as in railway signal interlocking system, the cycle of Interruption is 100ms, also
That is interlocking software can complete the most complete interlocking calculation function within every 100ms time, wherein the most also include main
The function that standby system is relevant.
The start of each system is both configured to standby system after completing to initialize;
Arranging, in each system, the condition that standby system switches to principal series is: this is for normal operating conditions (not offline state), and
The other side system is standby system (ZJI=0);
Arranging principal series in each system switches to the condition of standby system to be:
A) this is for off-line state;
B) this is that duty is worse than the other side system;
C) manual active-standby switch instruction (SDI=1) is received;
D) the other side system is Host Status (ZJI=1), and the other side system is normal operating conditions (not offline state);
5) after standby system switches to principal series, output port ZJO(ZJO=1) principal series mark;
After mian engine changeover is standby host, stop output port ZJO(ZJO=0) principal series mark.
Above by detailed description of the invention and embodiment, the present invention is described in detail, but these have not been constituted this
The restriction of invention.Without departing from the principles of the present invention, those skilled in the art it may also be made that many deformation and changes
Entering, these also should be regarded as protection scope of the present invention.
Claims (1)
1. an active and standby system high speed changing method based on IO interlocking, is characterized in that, comprise the following steps:
1) it is respectively provided with identical timing cycle operation active and standby the fastening being respectively configured independent I/O port;
2) start of each system is both configured to standby system after completing to initialize;
Active and standby it is two input ports of each system and output port uses for distributing to active and standby system handoff functionality, additionally
Join a self-resetting type for manual switching and switch one;
Whether by the first input port level signal being often, active and standby system judges that the other side is is main frame;
Active and standby system judges whether to the switching of active and standby system by the second input port level signal being often, and realizes manually cutting
Change the information gathering of on off state;
Whether by the output port level signal being often, active and standby system judges that this is is main frame, and this output port electricity
Ordinary mail number accesses the other side system;
3) arranging, in each system, the condition that standby system switches to principal series is: this is for normal operating conditions, and the other side system is for standby
System;
4) each system arranges principal series and switches to for the condition being is appearance any one situation following:
A) this is for off-line state;
B) this is that duty is worse than the other side system;
C) manual active and standby system switching command is received;
D) the other side system is principal series state, and the other side system is normal operating conditions;
5) after standby system switches to principal series, output port output principal series mark;
After principal series switches to standby system, output port stops output principal series mark.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410108091.0A CN103885416B (en) | 2014-03-21 | 2014-03-21 | Active and standby system high speed changing method based on IO interlocking |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410108091.0A CN103885416B (en) | 2014-03-21 | 2014-03-21 | Active and standby system high speed changing method based on IO interlocking |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103885416A CN103885416A (en) | 2014-06-25 |
CN103885416B true CN103885416B (en) | 2016-11-16 |
Family
ID=50954364
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410108091.0A Active CN103885416B (en) | 2014-03-21 | 2014-03-21 | Active and standby system high speed changing method based on IO interlocking |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103885416B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105187248B (en) * | 2015-09-16 | 2018-10-23 | 浙江众合科技股份有限公司 | A kind of redundancy switching system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101739317A (en) * | 2009-12-16 | 2010-06-16 | 袁亚军 | Method for switching two-computer software redundancy system |
CN202372803U (en) * | 2011-10-27 | 2012-08-08 | 北京航天发射技术研究所 | Hot-standby redundancy control system |
CN103455005A (en) * | 2013-09-06 | 2013-12-18 | 北京四方继保自动化股份有限公司 | Controller redundancy and switching method |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8677176B2 (en) * | 2010-12-03 | 2014-03-18 | International Business Machines Corporation | Cable redundancy and failover for multi-lane PCI express IO interconnections |
CN102750206A (en) * | 2012-05-10 | 2012-10-24 | 加弘科技咨询(上海)有限公司 | Multiple-basic input/ output system (BIOS) circuit and multiple-BIOS switching method |
-
2014
- 2014-03-21 CN CN201410108091.0A patent/CN103885416B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101739317A (en) * | 2009-12-16 | 2010-06-16 | 袁亚军 | Method for switching two-computer software redundancy system |
CN202372803U (en) * | 2011-10-27 | 2012-08-08 | 北京航天发射技术研究所 | Hot-standby redundancy control system |
CN103455005A (en) * | 2013-09-06 | 2013-12-18 | 北京四方继保自动化股份有限公司 | Controller redundancy and switching method |
Also Published As
Publication number | Publication date |
---|---|
CN103885416A (en) | 2014-06-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103455005B (en) | Controller redundancy and switching method | |
CN102055633B (en) | Satellite-borne double-CAN (Controller Area Network) bus node failure self-restoration system | |
CN104579029A (en) | Tri-redundancy brushless DC servo drive controller | |
CN103647781A (en) | Mixed redundancy programmable control system based on equipment redundancy and network redundancy | |
CN104268037A (en) | Hot redundancy interlocking subsystem and main and standby switching method thereof | |
CN102830647A (en) | Double 2-vote-2 device for fail safety | |
CN101847893B (en) | Network control type universal change-over switch with CCLink communication | |
EP3651412B1 (en) | Sdn multi-domain network backup method and system based on dual-port switch | |
CN105938356B (en) | The hardware redundancy of control module and operation cadence synchronization system in DCS system | |
CN110460153A (en) | A kind of multiport electric energy router control system | |
CN111186464A (en) | Full electronic computer interlocking system based on switching button | |
CN103885416B (en) | Active and standby system high speed changing method based on IO interlocking | |
US20130249315A1 (en) | Switching component and switch system comprising the same | |
CN102763087B (en) | Method and system for realizing interconnection fault-tolerance between CPUs | |
CN103048920B (en) | Hot standby service redundant control method and system for container water chilling unit | |
CN102866698A (en) | Human machine interface (HMI) redundant communication method for distributed control system controller | |
CN100440845C (en) | Method and system for reversing main-equipment with interconnected single-board | |
CN102530570B (en) | Control system of cantilever material taking machine | |
CN115576187A (en) | Multi-redundancy-design PLC control system and system control method | |
CN201821378U (en) | Novel router | |
CN201976058U (en) | Switching device driven by stepper motor for reactor power control system | |
CN103051736B (en) | A kind of processing method of control information and I2C bus apparatus | |
CN201927354U (en) | USB (universal serial bus) gating controller | |
CN202302219U (en) | Switch control device for single-valve single-cylinder double proportional electromagnetic valve | |
CN101521124A (en) | Programmable time delay relay |
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 |