CN215642355U - PLC redundancy control system based on bus monitoring - Google Patents

PLC redundancy control system based on bus monitoring Download PDF

Info

Publication number
CN215642355U
CN215642355U CN202121903676.3U CN202121903676U CN215642355U CN 215642355 U CN215642355 U CN 215642355U CN 202121903676 U CN202121903676 U CN 202121903676U CN 215642355 U CN215642355 U CN 215642355U
Authority
CN
China
Prior art keywords
plc
expansion board
data
board card
bus
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
Application number
CN202121903676.3U
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.)
Wuxi Xinje Electric Co Ltd
Original Assignee
Wuxi Xinje Electric 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 Wuxi Xinje Electric Co Ltd filed Critical Wuxi Xinje Electric Co Ltd
Priority to CN202121903676.3U priority Critical patent/CN215642355U/en
Application granted granted Critical
Publication of CN215642355U publication Critical patent/CN215642355U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Programmable Controllers (AREA)
  • Safety Devices In Control Systems (AREA)

Abstract

The utility model relates to the technical field of automation control, in particular to a PLC redundancy control system based on bus monitoring, which comprises a master PLC and a slave PLC which are connected with each other through a data line, wherein the master PLC is connected with an expansion board card group through a data bus; a signal switching device is arranged on the data bus, and the slave PLC is connected with the signal switching device through a monitoring line; the expansion board card group comprises at least one expansion board card, and the expansion board cards are mutually connected. According to the scheme, under the condition that the backup expansion board card is not added, the existing data flow is monitored, the data needing redundant backup is obtained, and the conversation content of the PLC and the expansion board card is processed in one conversation; the time overhead and the data overhead of the whole process are very small, and the data redundancy can be realized without completely depending on the data synchronization of the main PLC and the standby PLC. The scheme can not only save the time cost of system processing, but also improve the processing capacity and shorten the system response time.

Description

PLC redundancy control system based on bus monitoring
Technical Field
The utility model relates to the technical field of automation control, in particular to a PLC redundancy control system based on bus monitoring.
Background
A system formed by a Programmable Logic Controller (PLC) and an expansion board thereof is an important component of a modern industrial automatic control system. The system formed by the PLC and the expansion board card has very high reliability and stability, so that the automatic control system can have higher reliability and stability. However, in more and more important occasions, the system needs to be continuously, stably and reliably operated automatically, and not only the PLC itself needs to be stable and reliable, but also the system formed by the PLC and the expansion board needs to be continuously and stably operated. To meet this demand, redundant systems have emerged.
Redundant systems establish a set of such systems: the same function unit in the system consists of two same devices which are mutually standby. Once one of the devices fails, the standby device seamlessly takes over the operation of the failed device. The key is seamless replacement and continued operation.
To achieve this, both devices need to ensure that their own limited data units are completely consistent, and the standby device needs to monitor the status of the working device, taking over the system opportunistically. Otherwise, the requirements of seamless replacement and continuous operation cannot be realized, so that system oscillation or system failure is caused, and the effects of improving the reliability and stability of the system cannot be achieved.
Fast and stable switching of the system is the central emphasis of the whole redundant system. At present, most methods adopted by the PLC with the redundancy function on the market realize the redundancy of the PLC, the standby PLC becomes a copy of the active PLC in a data synchronization mode, and when the active PLC fails, the standby PLC takes over the active PLC. The method has the advantages of simple structure and the defects that the expansion board cards of the PLC cannot be simply processed, particularly, the system data volume formed by two groups of the PLC expansion board cards is very large, the data change is very frequent, the processing logic during switching is also complex, and all data of the expansion system are difficult to process when the standby PLC takes over the system. Therefore, the PLC with the redundancy function in the market often uses two sets of the same expansion board cards, the switching of the whole expansion system is driven through the switching of the PLC, the control uncertainty is added to the relevant parts of the expansion board cards, and the system cost is very high.
Therefore, a technique for solving this problem is urgently required.
SUMMERY OF THE UTILITY MODEL
The utility model aims to overcome the problems in the prior art and provides a PLC redundancy control system based on bus monitoring, under the condition that an expansion board card is not added with a backup function, the existing data flow is monitored to obtain data needing redundancy backup, and the conversation content of a PLC and the expansion board card is processed in one conversation; the time overhead and the data overhead of the whole process are very small, and the data redundancy can be realized without completely depending on the data synchronization of the main PLC and the standby PLC.
The above purpose is realized by the following technical scheme:
a PLC redundancy control system based on bus monitoring comprises a master PLC and a slave PLC which are connected with each other through data lines, wherein the master PLC is connected with an expansion board card group through a data bus; a signal switching device is arranged on the data bus, and the slave PLC is connected with the signal switching device through a monitoring line; the expansion board card group comprises at least one expansion board card, and the expansion board cards are mutually connected.
Further, if the data bus is a differential signal bus, the signal conversion device is a differential signal converter.
Further, if the data bus is an ethernet cable, the signal conversion device is an ethernet signal converter.
Furthermore, the master PLC and the slave PLC are PLCs with the same specification and redundant functions and are installed on a redundant adapter plate.
Furthermore, the redundant adapter plate comprises a main power supply interface, a standby power supply interface, a main PLC backboard interface, a standby PLC backboard interface and an expansion board card backboard interface, wherein the main power supply interface is used for being connected with an external main power supply, the standby power supply interface is used for being connected with an external standby power supply, the main PLC backboard interface is used for being plugged with the main PLC, the standby PLC backboard interface is used for being plugged with the slave PLC, and the expansion board card backboard interface is used for being plugged with the expansion board card set.
A control method of a PLC redundant control system based on bus monitoring comprises two conditions of a normal mode and a fault mode:
in the normal mode:
the main PLC receives a control program, issues a control instruction to the expansion board card group through the data bus, and receives the working process of the expansion board card group through the data bus;
the slave PLC synchronously backs up the control program received by the master PLC to obtain a backup control program, and monitors the control signal on the data bus in real time through the monitoring line to realize process monitoring and process backup of the backup control program;
in the failure mode:
the main PLC receives a control program, issues a control instruction to the expansion board card group through the data bus, and receives the working process of the expansion board card group through the data bus;
the slave PLC synchronously backs up the control program received by the master PLC to obtain a backup control program, and monitors the control signal on the data bus in real time through the monitoring line to realize process monitoring and process backup of the backup control program;
and if the master PLC fails, the slave PLC replaces the master PLC to realize the control of the expansion board card group, and the subsequent control of the backup control program is continued by taking the current process backup node as a starting point.
Advantageous effects
According to the PLC redundancy control system based on bus monitoring, under the condition that a backup expansion board card is not added, data needing redundancy backup are obtained by monitoring existing data flow, and the conversation content of a PLC and the expansion board card is processed in one conversation; the time overhead and the data overhead of the whole process are very small, and the data redundancy can be realized without completely depending on the data synchronization of the main PLC and the standby PLC. The scheme can not only save the time cost of system processing, but also improve the processing capacity and shorten the system response time.
Drawings
FIG. 1 is a schematic diagram of a PLC redundancy control system based on bus monitoring according to the present invention;
FIG. 2 is a schematic diagram of the normal operation of a PLC redundancy control system based on bus monitoring according to the present invention;
fig. 3 is a schematic diagram of the operation of the PLC redundancy control system based on bus monitoring in the failure mode according to the present invention.
Graphic notation:
the system comprises a master PLC (1), a slave PLC (2), a signal switching device (3), an expansion board card group (4), an expansion board card group (5), a data line (6), a data bus (7) and a monitoring line (8).
Detailed Description
The utility model is explained in more detail below with reference to the figures and examples. The described embodiments are only some embodiments of the utility model, not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, a PLC redundancy control system based on bus monitoring includes a master PLC1 and a slave PLC2 connected to each other through a data line 6, the master PLC1 is connected to an expansion board card group 4 through a data bus 7; the data bus 7 is provided with a signal switching device 3, and the slave PLC2 is connected with the signal switching device 3 through a monitoring line 8; the expansion board card group 4 comprises at least one expansion board card 5, and the expansion board cards 5 are connected with each other.
In this embodiment, the data bus 7 may use a differential signal bus or an ethernet line,
when the data bus 7 is a differential signal bus, the signal switching device 3 is a differential signal switch, and the slave PLC2 is connected with the differential signal switch through a monitoring line 8, so as to realize real-time monitoring of the system.
When the data bus 7 is an ethernet cable, the signal switching device 3 is an ethernet signal adapter, and the slave PLC2 is connected to the ethernet signal adapter through a monitoring line 8, so as to implement real-time monitoring of the system.
In this embodiment, the master PLC1 and the slave PLC2 are PLCs having redundant functions and having the same specification, and are mounted on a redundant patch panel.
Specifically, redundant keysets includes main power source interface, stand-by power source interface, main PLC backplate interface, reserve PLC backplate interface and extension integrated circuit board backplate interface, main power source interface is used for being connected with outside main power source, stand-by power source interface is used for being connected with outside stand-by power source, main PLC backplate interface is used for pegging graft main PLC1, stand-by PLC backplate interface is used for pegging graft from PLC, extension integrated circuit board backplate interface is used for pegging graft extension board card group.
Based on the system, the scheme also provides a control method of the PLC redundancy control system based on bus monitoring, which comprises two conditions of a normal mode and a fault mode:
as shown in fig. 2, in normal mode:
the master PLC1 receives a control program sent by a host, stores the control program, distributes a control instruction to each expansion card 5 in the expansion board card group 4 through the data bus 7, and receives a work process of each expansion card 5 in the expansion board card group 4 through the data bus 7;
the slave PLC2 synchronously backs up the control program received by the master PLC1 to obtain a backup control program, and monitors the control signal on the data bus 7 in real time through the monitoring line 8, thereby realizing the process monitoring and process backup of the backup control program and achieving the purpose of real-time redundancy backup. Specifically, the slave PLC2 receives and processes all data of the data bus 7 formed by the master PLC1 and the expansion board card group 4, and determines which specific expansion board card 5 the data belongs to by identifying the identifier in the bus data frame from the data bus 7, and the slave PLC analyzes the data to be stored in a specific internal position according to the collected data, stores the data in an internal storage device, and forms a backup for the master PLC.
As shown in fig. 3, in failure mode:
the master PLC1 receives a control program sent by a host, stores the control program, distributes a control instruction to each expansion card 5 in the expansion board card group 4 through the data bus 7, and receives a work process of each expansion card 5 in the expansion board card group 4 through the data bus 7;
the slave PLC2 synchronously backs up the control program received by the master PLC1 to obtain a backup control program, and monitors the control signal on the data bus 7 in real time through the monitoring line 8, so that the process monitoring and the process backup of the backup control program are realized, and the purpose of real-time redundancy backup is achieved; specifically, the slave PLC2 receives and processes all data of the data bus 7 formed by the master PLC1 and the expansion board card group 4, and determines which specific expansion board card 5 the data belongs to by identifying the identifier in the bus data frame from the data bus 7, and the slave PLC analyzes the data to be stored in a specific internal position according to the collected data, stores the data in an internal storage device, and forms a backup for the master PLC;
when the master PLC1 fails, the slave PLC2 replaces the master PLC1 to control each expansion card 5 in the expansion card group 4, and continues to backup the subsequent control of the control program with the current process backup node as the starting point, thereby achieving seamless docking.
In the system and the control method, in actual measurement, the communication period between the master PLC and the expansion board card is 500 microseconds, taking 256-byte data as an example, the time consumed by the slave PLC from data acquisition to system processing is less than 10 microseconds, the communication period is occupied by 2%, and the data processing capacity is more than sufficient for the whole bus.
Therefore, under the above test conditions, if a scheme that the two PLCs synchronize the data of all the expansion board cards is adopted, the time consumption is very large, and by using the method, 2000 times of data monitoring can be performed within 1 second, and the required data can be acquired from the PLCs at any time.
The above description is for the purpose of illustrating embodiments of the utility model and is not intended to limit the utility model, and it will be understood by those skilled in the art that any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (5)

1. A PLC redundancy control system based on bus monitoring is characterized by comprising a master PLC and a slave PLC which are connected with each other through a data line, wherein the master PLC is connected with an expansion board card group through a data bus; a signal switching device is arranged on the data bus, and the slave PLC is connected with the signal switching device through a monitoring line; the expansion board card group comprises at least one expansion board card, and the expansion board cards are mutually connected.
2. The PLC redundancy control system based on bus monitoring of claim 1, wherein the data bus is a differential signal bus, and the signal switching device is a differential signal switch.
3. The PLC redundancy control system based on bus monitoring of claim 1, wherein the data bus is an Ethernet cable, and the signal switching device is an Ethernet signal switch.
4. The PLC redundancy control system based on bus monitoring as claimed in claim 1, wherein the master PLC and the slave PLC are PLCs with redundancy function with the same specification and are installed on a redundancy adapter plate.
5. The PLC redundancy control system based on bus monitoring of claim 4, wherein the redundancy adapter plate comprises a main power supply interface, a standby power supply interface, a main PLC backplane interface, a standby PLC backplane interface and an expansion board backplane interface, the main power supply interface is used for being connected with an external main power supply, the standby power supply interface is used for being connected with an external standby power supply, the main PLC backplane interface is used for being plugged with the main PLC, the standby PLC backplane interface is used for being plugged with the slave PLC, and the expansion board backplane interface is used for being plugged with the expansion board card set.
CN202121903676.3U 2021-08-13 2021-08-13 PLC redundancy control system based on bus monitoring Active CN215642355U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202121903676.3U CN215642355U (en) 2021-08-13 2021-08-13 PLC redundancy control system based on bus monitoring

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202121903676.3U CN215642355U (en) 2021-08-13 2021-08-13 PLC redundancy control system based on bus monitoring

Publications (1)

Publication Number Publication Date
CN215642355U true CN215642355U (en) 2022-01-25

Family

ID=79897955

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202121903676.3U Active CN215642355U (en) 2021-08-13 2021-08-13 PLC redundancy control system based on bus monitoring

Country Status (1)

Country Link
CN (1) CN215642355U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113485237A (en) * 2021-08-13 2021-10-08 无锡信捷电气股份有限公司 PLC redundancy control system and method based on bus monitoring

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113485237A (en) * 2021-08-13 2021-10-08 无锡信捷电气股份有限公司 PLC redundancy control system and method based on bus monitoring

Similar Documents

Publication Publication Date Title
CN103647781A (en) Mixed redundancy programmable control system based on equipment redundancy and network redundancy
CN104407556B (en) Hot standby redundancy module switching device
CN112653734B (en) Real-time master-slave control and data synchronization system and method for server cluster
CN102724093B (en) A kind of ATCA machine frame and IPMB method of attachment thereof
CN110427283B (en) Dual-redundancy fuel management computer system
CN103809724A (en) Equipment cabinet and power source control method thereof
CN107901036A (en) A kind of redundancy control system and control method for robot
CN104917700A (en) Management unit and exchange unit dual-redundancy switch
CN215642355U (en) PLC redundancy control system based on bus monitoring
CN103809723A (en) Equipment cabinet and power source control method thereof
CN113485237A (en) PLC redundancy control system and method based on bus monitoring
CN110247809B (en) Communication control method of double-ring network control system
CN109976489A (en) Automatically reset realization method and system under a kind of iic bus abnormal conditions
CN204633800U (en) The switch of a kind of administrative unit and the two redundancy of crosspoint
CN205071015U (en) Ethernet power supply unit
CN115454746A (en) Server leakage detection method, device, equipment and storage medium
CN107463148B (en) A kind of method of PLC redundancy switching
CN203827364U (en) Double star-shaped fiber-optic redundancy measurement and control network system
CN115022159A (en) Control equipment main controller redundancy backup system and method
CN114407975A (en) Hot standby method of execution unit of full electronic interlocking system and hot standby interlocking system
CN107885621B (en) Hot standby computer based on Feiteng platform
CN219087145U (en) Looped network redundant field bus controller
CN201499020U (en) Self-adapting field bus reconstruction system
CN215835198U (en) Domestic 10KV dual-power supply monitoring system based on 485 communication
CN204835700U (en) Direct current transmission controlling means switched systems

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant