CN105334729A - Method for redundancy switch of two independent PLC systems in railway locomotive depot signal control - Google Patents

Method for redundancy switch of two independent PLC systems in railway locomotive depot signal control Download PDF

Info

Publication number
CN105334729A
CN105334729A CN201510840179.6A CN201510840179A CN105334729A CN 105334729 A CN105334729 A CN 105334729A CN 201510840179 A CN201510840179 A CN 201510840179A CN 105334729 A CN105334729 A CN 105334729A
Authority
CN
China
Prior art keywords
plc
wincc
signal
data
redundancy
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.)
Pending
Application number
CN201510840179.6A
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201510840179.6A priority Critical patent/CN105334729A/en
Publication of CN105334729A publication Critical patent/CN105334729A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B9/00Safety arrangements
    • G05B9/02Safety arrangements electric
    • G05B9/03Safety arrangements electric with multiple-channel loop, i.e. redundant control systems

Abstract

The invention discloses a method for the redundancy switch of two independent PLC systems in railway locomotive depot signal control. A control system adopts independently operated master and spare PLCs (programmable logic controllers) and an upper computer, WinCC monitoring software is installed on the upper computer, and a WinCC respectively carries out data exchange with the two PLCs in a bus communication mode; the WinCC detects the state of communication with the two PLCs once every 10 seconds, 'output enable signal' of the master PLC connected with the WinCC is set as '1', and 'output disabled signal' of the spare PLC is set as '0'; and when a CPU stops running caused by the master PLC due to any failure, the WinCC scans a stop signal, and immediately starts the output of the spare PLC. According to the invention, the automatic hot spared redundancy of two independent PLC control systems is implemented; the requirements on PLCs are not high, and the method can be implemented just when a communication port is provided; no hardware is required to be added, so that the method is low in cost and easy to implement; and only useful data are updated, and data of the spare PLC are updated only when data changes occur, so that the communication time and the database resources are saved.

Description

Two platform independent PLC system redundancy switching methods during railway locomotive segment signal controls
Technical field
The present invention relates to PLC control system, especially relate to two platform independent PLC system redundancy switching methods in the control of railway locomotive segment signal.
Background technology
Operate in two PLC(programmable logic controller (PLC)s in the control of railway locomotive segment signal at present) be isolated operation, switching each other, need manually to operate, switching comprises: the reading license number from the PLC previously run, and is written in the PLC that will run; The original PLC of manual switchover, to " STOP " state, switches the PLC that will run to " RUN " state; Such mode of operation, once the PLC run breaks down, data can not read, and cause very large trouble.
In order to the reliability of Guarantee control system in the PLC control system of prior art, the mode of most employing controller redundant configuration, in redundant configuration, the CPU module redundancy of PLC system, I/O module does not have redundancy, and two PLC are by the DP(data processing of redundancy) net realizes system redundancy.
In existing redundancy scheme, according to the PLC of Siemens 300 series, CPU module must be 315-DP, and configuring redundancy software package, soft redundancy could be realized.The CPU module of other models is used to realize.
According to the PLC of 400 series, CPU module must be 414H, and two CPU are undertaken by optic module connecting the hardware redundancy realizing CPU.
Above-mentioned employing controller (CPU module) redundancy mode, have ready-made scheme, its method of operation is the using and the reserved, spare CPU real-time update data, with run PLC carry out synchronous.
According to the identical control system of two covers: CPU module+I/O module, an output controls, and another runs but does not export, and realize its redundancy, also not have ready-made control program available.
The shortcoming of prior art:
1, solve only the redundancy of CPU, can't resolve the redundancy issue of the PLC system of two cover independent operatings;
2, to the restricted requirement of CPU module: hardware implementing redundancy requirement CPU is 414H, the redundancy requirement CPU that Redundancy Software bag realizes is 315-DP;
3, must be continuous print to the data demand of redundancy.Like this, do not need the data transmitted to be transmitted yet, the traffic is increased, adds the communications burden of CPU.
Summary of the invention
The object of the invention is, only carrying out useful data replacing with under the condition not increasing hardware cost, to realize the automatic hot backup redundancy of two PLC control system in the control of railway locomotive segment signal.
In order to realize object of the present invention.Following technical scheme is proposed:
Two platform independent PLC system redundancy switching methods during a kind of railway locomotive segment signal controls, described redundancy switching method adopts active and standby two PLC and the Monitor Computer Control System WinCC as supervisory control comuter of independent operating, wherein, WinCC carries out exchanges data with two PLC respectively by MPI bus communication mode.
After described Wincc runs and activates, login user, passes to the related data in main PLC in PLC for subsequent use.Related data comprises license number, route gating signal, teleseme mode control word and goat mode control word.
Described WinCC to check every 10 seconds once with the state of two PLC communications, connections in, its " permission outputs signal " is set to " 1 " by the main PLC of WINCC, and PLC for subsequent use " output disable signal " is set to " 0 ";
When main PLC causes CPU out of service because of any fault, WinCC scans this stop signal, starts the output of PLC for subsequent use at once.
The concrete steps of described redundancy switching method are:
1) communication connection of two PLC is first completed by MPI mode.
2) PLC first time powers on, and first this PLC " is allowed output signal " and is set to " 0 ".PLC produces " heartbeat " signal after powering on and running automatically, and understands another PLC operation conditions by communication, if can't detect the other side's " heartbeat " signal, the machine " is allowed output signal " and is set to " 1 ".
3) if two PLC are in running status, WINCC and two PLC all communicate normally, and the PLC that WINCC is " 1 " " allowing output signal " is considered as main PLC, and another is considered as PLC for subsequent use; WINCC upgrades data in PLC for subsequent use according to the related data change of main PLC, and related data comprises: teleseme mode control word, goat mode control word, license number, route gating signal.
4) in two PLC, if a running status, a halted state, all data that will transmit, by judging whether the PLC stopped powers on action, once this PLC power on signal be detected, are all sent to this PLC from the PLC run by WINCC.
The method that described step 2 detects PLC " heartbeat " is specially: the existence adopting two contrary bit representations " heartbeat " of fixed cycle change, the other side does not have " heartbeat ", after time delay, putting the machine " permission output signal " is " 1 ", and the automatic heating realizing two independent PLC control system exports for Redundant Control.
Described communication mode can also adopt PROFIBUS, PROFINET, MODBUS or CANBUS etc.
Compared to the prior art, of the present invention have following obvious advantage:
Two independent PLC of the prior art can not realize hot backup redundancy, can only manually switch, and need derivation and the importing of carrying out data in switching, process is long, present invention achieves the automatic hot backup redundancy of two independent PLC control system;
In prior art, PLC redundancy has the redundancy two kinds of hard-wired redundancy and software simulating, is CPU redundancy, and does not accomplish the redundancy of I/O module.Hard-wired redundancy communication adopts special communication interface, and adopts application specific hardware modules to connect, and software simulating redundancy also requires higher to CPU module.Less demanding to PLC of the present invention, as long as there is communication port, just can realize.Do not need to increase hardware, cost is low, realizes easily.
Redundancy of the prior art is that real-time data field upgrades, take resource and the time more; The present invention only upgrades useful data, and only just upgrades the data of PLC for subsequent use when data change, and saves call duration time and database resource.
Accompanying drawing explanation
Fig. 1 is two-node cluster hot backup scheme schematic diagram of the present invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly understand, below in conjunction with the drawings and specific embodiments, the present invention is described in more detail.
The present invention adopts upper monitoring computing machine as " coordinated scheduling " center, realizes redundancy.
Fig. 1 is two-node cluster hot backup scheme of the present invention, as shown in the figure, a PLC and supervisory control comuter that the present invention adopts two platform independent to run, namely, active and standby two PLC carry out data syn-chronization respectively by multipoint interface MPI communication modes and upper station of WinCC software, but only have a PLC to have output.
WinCC to check every 10 seconds once with the state of two PLC communications, connections in, its " permission outputs signal " is set to 1 by the PLC of WINCC, and PLC for subsequent use " output disable signal " is set to 0.Also this action is triggered when WINCC runs and activates picture.When a PLC causes CPU out of service because of any fault, WinCC scans this stop signal, starts the output of another PLC at once.
After Wincc runs and activates, login user, Wincc, by the related data (license number, route gating signal, teleseme mode control word, goat mode control word) in main PLC, passes in PLC for subsequent use.
The concrete steps of two platform independent PLC system redundancy switching methods of the present invention:
1, the communication connection of two PLC is first completed by MPI mode.
2, two PLC produce " heartbeat " signal separately, by communication, understand the other side's operation conditions, PLC first time powers on, first this PLC " is allowed output signal " to be set to " 0 ", can't detect the other side's " heartbeat " signal if be in operation, just the machine is put " allowing output signal " and be set to " 1 ".
If 3 two PLC are in operation, upper location supervisory (WINCC) and two PLC all communicate normally, WINCC " permission outputs signal " be the PLC of " 1 " as main PLC, another is PLC for subsequent use; WINCC upgrades data in PLC for subsequent use according to the related data change of main PLC, and related data comprises: teleseme mode control word, goat mode control word, license number, route gating signal.
If 4, PLC one runs stoppings, all data that will transmit, by judging whether the PLC of stopping powers on action, once PLC power on signal be detected, are all sent to this PLC from the PLC of operation by WINCC.
Communication mode detects the method for PLC " heartbeat ": adopt the position that two of fixed cycle change contrary, represent the existence of " heartbeat ", the other side does not have " heartbeat ", after time delay, putting the machine " permission output signal " is " 1 ", and the automatic heating realizing two independent PLC control system exports for Redundant Control.
Adopt the data mode of WINCC to realize the redundancy of data, complete the data syn-chronization of two PLC system.Less demanding to PLC of the method, as long as there is communication port, just can realize.Do not need to increase hardware, cost is low, realizes easily.
Adopt the mode that WINCC event triggers, data transmission is carried out in dispersion.Only just upgrade when data change, save call duration time.
The communication of system of the present invention can be adopted in various manners, as: PROFIBUS, PROFINET, MODBUS, CANBUS etc.
Above-described specific embodiment; further detailed description has been carried out to object of the present invention, technical scheme and beneficial effect; be understood that; the foregoing is only specific embodiments of the invention; be not limited to the present invention; within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (4)

1. two platform independent PLC system redundancy switching methods in a railway locomotive segment signal control, it is characterized in that, described redundancy switching method adopts active and standby two PLC and the Monitor Computer Control System WinCC as supervisory control comuter of independent operating, wherein, described WinCC carries out exchanges data with two PLC respectively by MPI bus communication mode;
After described Wincc runs and activates, login user, in main PLC, the related data comprising license number, route gating signal, teleseme mode control word and goat mode control word passes in PLC for subsequent use;
Described WinCC to check every 10 seconds once with the state of two PLC communications, connections in, its " permission outputs signal " is set to " 1 " by the main PLC of WINCC, and PLC for subsequent use " output disable signal " is set to " 0 ";
When main PLC causes CPU out of service because of any fault, WinCC scans this stop signal, starts the output of PLC for subsequent use at once.
2. two platform independent PLC system redundancy switching methods in railway locomotive segment signal control according to claim 1, it is characterized in that, the concrete steps of described redundancy switching method are:
1) communication connection of two PLC is first completed by MPI mode;
2) PLC first time powers on, and first this PLC " is allowed output signal " and is set to " 0 ";
PLC produces " heartbeat " signal after powering on and running automatically, and understands another PLC operation conditions by communication, if can't detect the other side's " heartbeat " signal, the machine " is allowed output signal " and is set to " 1 ";
3) if two PLC are in running status, WINCC and two PLC all communicate normally, and the PLC that WINCC is " 1 " " allowing output signal " is considered as main PLC, and another is considered as PLC for subsequent use; WINCC upgrades data in PLC for subsequent use according to the related data change of main PLC, and related data comprises: teleseme mode control word, goat mode control word, license number, route gating signal;
4) in two PLC, if a running status, a halted state, all data that will transmit, by judging whether the PLC stopped powers on action, once this PLC power on signal be detected, are all sent to this PLC from the PLC run by WINCC.
3. two platform independent PLC system redundancy switching methods in railway locomotive segment signal control according to claim 2, it is characterized in that, the method that described step 2 detects PLC " heartbeat " is specially: the existence adopting two contrary bit representations " heartbeat " of fixed cycle change, the other side does not have " heartbeat ", after time delay, putting the machine " permission output signal " is " 1 ", and the automatic heating realizing two independent PLC control system exports for Redundant Control.
4. two platform independent PLC system redundancy switching methods in railway locomotive segment signal control according to claim 3, it is characterized in that, described communication mode is the bus communication modes such as MPI, PROFIBUS, PROFINET, MODBUS or CANBUS.
CN201510840179.6A 2015-11-27 2015-11-27 Method for redundancy switch of two independent PLC systems in railway locomotive depot signal control Pending CN105334729A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510840179.6A CN105334729A (en) 2015-11-27 2015-11-27 Method for redundancy switch of two independent PLC systems in railway locomotive depot signal control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510840179.6A CN105334729A (en) 2015-11-27 2015-11-27 Method for redundancy switch of two independent PLC systems in railway locomotive depot signal control

Publications (1)

Publication Number Publication Date
CN105334729A true CN105334729A (en) 2016-02-17

Family

ID=55285342

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510840179.6A Pending CN105334729A (en) 2015-11-27 2015-11-27 Method for redundancy switch of two independent PLC systems in railway locomotive depot signal control

Country Status (1)

Country Link
CN (1) CN105334729A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107463148A (en) * 2017-08-29 2017-12-12 山信软件股份有限公司 A kind of method of PLC redundancies switching
CN107807629A (en) * 2017-11-08 2018-03-16 江苏驷博电气有限公司 The recognition methods of failure universal logic module in programmable control system
CN109991945A (en) * 2019-04-04 2019-07-09 三一汽车制造有限公司 Mixing plant and concrete pump combined control system
CN111371345A (en) * 2019-10-08 2020-07-03 九江赛晶科技股份有限公司 Current control method of thyristor rectifying device in special track motor
CN113495522A (en) * 2020-03-19 2021-10-12 南京南瑞继保电气有限公司 Method and device for determining on-duty state of PLC in environment and equipment monitoring system
CN114397852A (en) * 2022-01-18 2022-04-26 中天钢铁集团(南通)有限公司 Method for detecting downtime of PLC host

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020010750A1 (en) * 2000-04-28 2002-01-24 Airsys Atm Sa Redundant input/output management device, notably for data routing
CN101546187A (en) * 2008-03-25 2009-09-30 上海宝信软件股份有限公司 Redundant PLC system
CN101634855A (en) * 2009-08-07 2010-01-27 总装备部工程设计研究总院 Redundancy backup control system of ground equipment for opening ceremony and closing ceremony of large-scale sports meeting
CN202372803U (en) * 2011-10-27 2012-08-08 北京航天发射技术研究所 Hot-standby redundancy control system
CN102636988A (en) * 2012-04-13 2012-08-15 山东省计算中心 PLC (programmed logic controller)-based redundancy system implementation method
CN103523054A (en) * 2013-10-25 2014-01-22 王先宏 Automatic control system of locomotive-depot signal system
CN104898620A (en) * 2015-05-19 2015-09-09 西安晨宇环境工程有限公司 Ethernet-based redundancy control system and control method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020010750A1 (en) * 2000-04-28 2002-01-24 Airsys Atm Sa Redundant input/output management device, notably for data routing
CN101546187A (en) * 2008-03-25 2009-09-30 上海宝信软件股份有限公司 Redundant PLC system
CN101634855A (en) * 2009-08-07 2010-01-27 总装备部工程设计研究总院 Redundancy backup control system of ground equipment for opening ceremony and closing ceremony of large-scale sports meeting
CN202372803U (en) * 2011-10-27 2012-08-08 北京航天发射技术研究所 Hot-standby redundancy control system
CN102636988A (en) * 2012-04-13 2012-08-15 山东省计算中心 PLC (programmed logic controller)-based redundancy system implementation method
CN103523054A (en) * 2013-10-25 2014-01-22 王先宏 Automatic control system of locomotive-depot signal system
CN104898620A (en) * 2015-05-19 2015-09-09 西安晨宇环境工程有限公司 Ethernet-based redundancy control system and control method

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
吴晓: "《计算机工业控制技术》", 31 August 2005, 厦门大学出版社 *
李国瑞 等: "[A]PLC在铁路机务折返段微机联锁系统中的应用", 《铁路计算机应用》 *
王先宏: "机务段道岔控制与信息化管理研究实现", 《北京工业职业技术学院学报》 *
王森林: "称量配料冗余系统的研究与实现", 《中国优秀硕士学位论文全文数据库工程科技Ⅱ辑》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107463148A (en) * 2017-08-29 2017-12-12 山信软件股份有限公司 A kind of method of PLC redundancies switching
CN107807629A (en) * 2017-11-08 2018-03-16 江苏驷博电气有限公司 The recognition methods of failure universal logic module in programmable control system
CN109991945A (en) * 2019-04-04 2019-07-09 三一汽车制造有限公司 Mixing plant and concrete pump combined control system
CN111371345A (en) * 2019-10-08 2020-07-03 九江赛晶科技股份有限公司 Current control method of thyristor rectifying device in special track motor
CN113495522A (en) * 2020-03-19 2021-10-12 南京南瑞继保电气有限公司 Method and device for determining on-duty state of PLC in environment and equipment monitoring system
CN113495522B (en) * 2020-03-19 2022-12-13 南京南瑞继保电气有限公司 Method and device for determining on-duty state of PLC in environment and equipment monitoring system
CN114397852A (en) * 2022-01-18 2022-04-26 中天钢铁集团(南通)有限公司 Method for detecting downtime of PLC host

Similar Documents

Publication Publication Date Title
CN105334729A (en) Method for redundancy switch of two independent PLC systems in railway locomotive depot signal control
CN103455005B (en) Controller redundancy and switching method
CN101296065B (en) Method and system for improving reliability of redundancy main station
CN110361979A (en) A kind of safety computer platform in railway signal field
CN201936169U (en) Central redundancy control system for shielding door of rail transportation station
CN104571040A (en) Construction method of control system redundancy framework
CN102866690B (en) Redundancy switching method between Redundant process control station in scattered control system
CN101710376B (en) Hardware platform of safe computer 2-out-of-3 voting method
CN110351174A (en) A kind of safety computer platform of module redundancy
CN102724092A (en) Profibus-DP communication protocol redundancy master station
CN103176870B (en) Multi-mode information interaction redundancy safety computer platform
CN102830647A (en) Double 2-vote-2 device for fail safety
CN101634855B (en) Redundancy backup control system of ground equipment for opening ceremony and closing ceremony of large-scale games
CN116699964A (en) Redundant operation method and system for industrial process controller
CN102866698B (en) Human machine interface (HMI) redundant communication method for distributed control system controller
CN102540985A (en) Central redundancy control system for rail transit platform screen door
CN202617154U (en) Train communication system
CN108508740A (en) A kind of integrated automation control system having redundancy feature
CN110053650B (en) Automatic train operation system, automatic train operation system architecture and module management method of automatic train operation system
CN204883335U (en) PAS100 control system's redundant framework of bus
CN102231073B (en) Network redundancy communication method, apparatus and system thereof
CN108536046A (en) Main control unit switching method and locomotive communication equipment for locomotive communication equipment
CN102801542A (en) Communication-gateway-based communication redundancy fault-tolerant system
CN115903578A (en) Electromechanical management subsystem fault-tolerant design method based on hybrid redundancy heterogeneous network
CN204883337U (en) PAS100 control system's redundant framework of communication module

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160217