A Redundant Multi-Ring Networking Method and System Based on PLC System
By constructing a redundant multi-ring network based on a PLC system in the ship's system, data synchronization and fault switching are achieved, solving the problems of high cost and poor maintainability of the traditional PLC ring network architecture, and improving the stability and scalability of the ship's monitoring system.
Patent Information
- Application Number
- CN202510954206.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-11
- Publication Date
- 2026-11-17
AI Technical Summary
Traditional PLC ring network architectures in naval systems suffer from high costs and poor maintainability, and their performance is limited by the program and switch performance.
A redundant multi-ring network method based on a PLC system is adopted. By establishing a first-level and a second-level ring network between the host and the slave, data synchronization and fault switching are achieved. One ring network communication module is used to replace two master-slave switches to build a hot standby redundancy mechanism to ensure system stability.
It improves the stability and scalability of shipboard monitoring systems, reduces the construction cost of redundant multi-ring networks, and ensures uninterrupted system operation in case of failure.
Smart Images

Figure CN123123070A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of ship system cooling technology, and in particular to a redundant multi-ring network method and system based on a PLC system. Background Technology
[0002] Traditional PLC ring network architectures require configuring ring network-enabled switches in both the main unit and sub-units, or rely on inter-controller station communication, and necessitate the writing of specific programs. Typical redundant ring networks achieve hot standby through dual controllers and master-slave switches, but performance is limited by the program and switch performance, resulting in high costs and poor maintainability. Summary of the Invention
[0003] The main objective of this invention is to provide a redundant multi-ring network method and system based on a PLC system, thereby improving the stability and scalability of ship monitoring systems.
[0004] The technical solution adopted in this invention is: a redundant multi-ring network method based on a PLC system, wherein the PLC system includes multiple host PLC systems and multiple sub-unit PLC systems, and each sub-unit PLC system includes a sub-unit control module and a ring network communication module in the same number as the host PLC system; the networking method includes: Establish communication connections between each host PLC system and perform synchronous redundancy configuration; For each host PLC system, communication connections are established between the host PLC system and the ring network communication module, and between the ring network communication modules, according to the data communication direction, to form a primary ring network between each host PLC system and multiple sub-unit PLC systems; a secondary ring network is established between all ring network communication modules of each sub-unit PLC system to realize data synchronization of each ring network communication module in the sub-unit PLC system. The system monitors the real-time operating status of the host PLC system, the operating status of the sub-unit control modules of each sub-unit PLC system, and the communication status of the ring network communication modules of each sub-unit PLC system. When a host PLC system malfunctions, it switches to another host PLC system to take over the task. When any sub-unit control module malfunctions, it switches to the host PLC system or another sub-unit PLC system in that primary ring network to take over the task. When any ring network communication module malfunctions, it switches to another ring network communication module of its corresponding sub-unit PLC system.
[0005] According to the above technical solution, each host PLC system includes a host control module for taking over tasks and a data transceiver coupling module group for establishing communication connections with other host PLC systems or sub-unit PLC systems.
[0006] According to the above technical solution, the host control module includes two or more host controllers, and each controller performs a hot standby redundancy mechanism.
[0007] According to the above technical solution, each host PLC system also includes a host I / O module and a communication module for data interaction with the outside world.
[0008] According to the above technical solution, each branch PLC system also includes a branch I / O module for data interaction with the outside world.
[0009] According to the above technical solution, the extension control module includes multiple extension controllers.
[0010] According to the above technical solution, the host PLC system takes over the task based on the status word of the sub-control module that has malfunctioned.
[0011] Another aspect of the present invention provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor performs the steps of the redundant multi-ring network method based on the PLC system described above.
[0012] Another aspect of the present invention provides a computer storage medium, characterized in that it stores a computer program executable by a processor, the computer program executing the above-described redundant multi-ring network method based on a PLC system.
[0013] Another aspect of the present invention provides a redundant multi-ring network system based on a PLC system, wherein the PLC system includes multiple master PLC systems and multiple slave PLC systems, and each slave PLC system includes a slave control module and a ring network communication module in the same number as the master PLC systems; the network system includes: The redundancy configuration module is used to establish communication connections between various host PLC systems and perform synchronous redundancy configuration. The multi-ring network establishment module is used to establish communication connections between each host PLC system and the ring network communication module, and between the ring network communication modules, according to the data communication direction, so as to form a primary ring network between each host PLC system and multiple sub-PLC systems; and to establish a secondary ring network between all ring network communication modules of each sub-PLC system to realize data synchronization of each ring network communication module in the sub-PLC system. The fault detection module is used to monitor in real time the working status of the host PLC system, the working status of the sub-unit control modules of each sub-unit PLC system, and the communication status of the ring network communication modules of each sub-unit PLC system. When the host PLC system malfunctions, it switches to another host PLC system to take over the task. When any sub-unit control module malfunctions, it switches to the host PLC system or another sub-unit PLC system in that primary ring network to take over the task. When any ring network communication module malfunctions, it switches to another ring network communication module of its corresponding sub-unit PLC system.
[0014] The beneficial effects of this invention are as follows: This invention provides a redundant multi-ring network method and system based on a PLC system. By constructing redundant configurations of multiple host PLC systems, establishing a primary ring network between each host PLC system and multiple sub-PLC systems, and establishing a secondary ring network between the ring network communication modules of each sub-PLC system, the system can ensure normal operation even when the host PLC system, any sub-PLC control module, or any ring network communication module experiences a communication failure, thus improving the stability of the ship monitoring system. Furthermore, compared to existing technologies that use master-slave switches for data communication, this invention uses one ring network communication module instead of two master-slave switches, reducing the construction cost of the redundant multi-ring network.
[0015] Furthermore, the host control module includes two or more host controllers, forming a hot standby redundancy to ensure uninterrupted system operation and improve the stability of the host PLC system.
[0016] Furthermore, each host PLC system includes a host I / O module and a communication module, which enhances the host's input / output capabilities and improves the system's expandability.
[0017] Furthermore, each sub-unit PLC system includes a sub-unit I / O module, ensuring the sub-unit controller's autonomous control capabilities.
[0018] Of course, any product implementing this invention does not necessarily need to achieve all of the advantages described above at the same time. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0020] Figure 1 This is a flowchart of a redundant multi-ring network method based on a PLC system according to an embodiment of the present invention; Figure 2 This is an architecture diagram of a redundant multi-ring network based on a PLC system according to an embodiment of the present invention. Detailed Implementation
[0021] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.
[0022] It should be noted that the illustrations provided in the embodiments of the present invention are only schematic representations of the basic concept of the present invention. Therefore, the drawings only show the components related to the present invention and are not drawn according to the number, shape and size of the components in actual implementation. In actual implementation, the form, quantity and proportion of each component can be arbitrarily changed, and the layout of the components may also be more complex.
[0023] In this invention, it should also be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this application. Furthermore, the terms "first" and "second" are used only for descriptive and distinguishing purposes and should not be construed as indicating or implying relative importance.
[0024] Example 1 This embodiment provides a redundant multi-ring network method based on a PLC system. Specifically, the PLC system includes M main PLC systems and n sub-PLC systems. The values of M and n can be set according to the actual needs of the ship's system, and M ≥ 2. Each sub-PLC system includes a sub-control module and M ring network communication modules.
[0025] The networking method process is as follows: Figure 1 As shown, the steps include: S1. Establish communication connections between each host PLC system and perform synchronous redundancy configuration.
[0026] By implementing this step, seamless switching can be achieved between the host PLC systems. The two host PLC systems process the same project data and user programs, synchronizing data through redundant connections. When one host PLC system fails, the other can automatically take over the task, ensuring uninterrupted operation of the entire system.
[0027] Furthermore, each host PLC system includes a host control module for taking over tasks and a data transceiver coupling module group for establishing communication connections with other host PLC systems or sub-PLC systems. The data transceiver coupling module group is used to collect and transmit ring network data, and the host control module includes at least two controllers, each implementing a hot standby redundancy mechanism.
[0028] Furthermore, each host PLC system also includes a host I / O module and a communication module for data interaction with the outside world, which can enhance the input and output capabilities of the host PLC system and improve its scalability.
[0029] Furthermore, each sub-unit PLC system also includes a sub-unit I / O module for data interaction with the outside world. The sub-unit control module includes a sub-unit controller with autonomous capabilities, meaning that whether the sub-unit PLC system is connected to the primary ring network does not affect the control function of the sub-unit controller.
[0030] S2. For each master PLC system, establish communication connections between the master PLC system and the ring network communication module, as well as communication connections between the ring network communication modules, according to the data communication direction, to form a primary ring network between each master PLC system and multiple sub-PLC systems. Establish a secondary ring network between all ring network communication modules in each sub-PLC system to achieve data synchronization between the ring network communication modules in the sub-PLC systems.
[0031] Specifically, the data communication of the primary ring network does not rely on the inter-station communication of the sub-controllers themselves, nor does it rely on the switch for data forwarding. Each primary ring network can aggregate the data of all PLC systems under the ring network, and send the result data parsed or calculated by the sub-controllers to the host controller of the host PLC system of the primary ring network through the ring network communication module of each sub-PLC system.
[0032] In the two-level ring network constructed in this embodiment, one ring network communication module can replace the functions of two master-slave switches, effectively reducing the usage and maintenance costs of redundant multi-ring networks.
[0033] S3. Real-time monitoring of the working status of each host PLC system in each primary ring network, the working status of each sub-unit PLC system's sub-unit control module, and the communication status of each sub-unit PLC system's ring network communication module.
[0034] When the main PLC system malfunctions, another main PLC system takes over the task.
[0035] When any sub-unit control module malfunctions, the sub-unit control module of the host PLC system or other sub-unit PLC systems in the primary ring network shall take over the task.
[0036] When any ring network communication module experiences a communication failure, it will be switched to another ring network communication module in the corresponding PLC system.
[0037] Furthermore, the main PLC system takes over the task based on the status word of the sub-control module that has malfunctioned.
[0038] This embodiment also provides a computer-readable storage medium, such as flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, server, App application store, etc., which stores computer programs. When the program is executed by a processor, it implements the corresponding functions. The computer-readable storage medium of this embodiment, when executed by a processor, implements the redundant multi-ring network networking method based on a PLC system as described in the method embodiment.
[0039] This embodiment also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor performs the steps of the redundant multi-ring network method based on the PLC system described above.
[0040] This embodiment also provides a redundant multi-ring network system based on a PLC system. The PLC system includes multiple host PLC systems and multiple sub-PLC systems. Each sub-PLC system includes a sub-control module and multiple ring network communication modules, the same number as the host PLC systems. The network system includes: The redundancy configuration module is used to establish communication connections between various host PLC systems and perform synchronous redundancy configuration.
[0041] The multi-ring network establishment module is used to establish communication connections between each host PLC system and the ring network communication module, as well as communication connections between the ring network communication modules, according to the data communication direction, to form a primary ring network between each host PLC system and multiple sub-unit PLC systems; and to establish a secondary ring network between all ring network communication modules in each sub-unit PLC system to realize data synchronization between the ring network communication modules in the sub-unit PLC system.
[0042] The fault detection module is used to monitor in real time the working status of each host PLC system, the working status of each sub-unit PLC system's sub-control module, and the communication status of each sub-unit PLC system's ring network communication module in each primary ring network. When a host PLC system malfunctions, it switches to another host PLC system to take over the task. When any sub-unit control module malfunctions, it switches to the host PLC system in that primary ring network or another sub-unit PLC system's sub-control module to take over the task. When any ring network communication module malfunctions, it switches to another ring network communication module of its corresponding sub-unit PLC system.
[0043] The implementation methods of each module's functions have been explained in the above networking method and will not be repeated here.
[0044] Example 2 This embodiment provides a redundant multi-ring network constructed using the PLC-based redundant multi-ring network method described in Embodiment 1, with the architecture as follows: Figure 2 As shown.
[0045] The redundant multi-ring network in this embodiment consists of M main PLC systems and n sub-PLC systems. The structure and connection of each part are as follows: The main PLC system features dual-host controllers with built-in redundancy, enhancing control reliability. These dual controllers are connected to a data transceiver coupling module, responsible for signal transmission and reception and protocol conversion between the main unit and the sub-units.
[0046] Preferably, the host PLC system may also be equipped with a host I / O module and a communication module for data interaction with the outside world.
[0047] The PLC system consists of multiple sub-units, each equipped with a sub-unit controller as the control core. Each sub-unit controller connects to M ring network communication modules, supporting communication redundancy in the ring network topology, and also integrates I / O interfaces for connecting external devices.
[0048] The data transceiver coupling module of the host PLC system is interconnected with the ring network communication module of each sub-unit PLC system through links to build a distributed ring network communication network, realizing parallel control, data interaction and status monitoring of multiple hosts to multiple sub-units.
[0049] The ring network communication modules of each PLC system are designed with redundancy to achieve data synchronization, which improves the reliability of data communication.
[0050] In the aforementioned redundant multi-ring network architecture, when a sub-controller fails, the host PLC system can take over the parsing, calculation, and control tasks based on the sub-controller's status word, or it can distribute the tasks to one or more normal sub-controllers. The ring network communication modules of the sub-PLC systems are redundantly configured. When ring network communication module n01 fails, the host PLC system can obtain data from ring network communication module n02 or n0m of the same sub-PLC system, thus ensuring high reliability of this redundant multi-ring network architecture.
[0051] In summary, the redundant multi-ring network method and system based on PLC system provided by this invention reduces the construction cost of redundant multi-ring networks and improves the stability of ship monitoring systems.
[0052] It should be noted that, depending on the implementation needs, the various steps / components described in this application can be broken down into more steps / components, or two or more steps / components or parts of the operation of steps / components can be combined into new steps / components to achieve the purpose of this invention.
[0053] The order of the steps in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0054] It should be understood that those skilled in the art can make improvements or modifications based on the above description, and all such improvements and modifications should fall within the protection scope of the appended claims.
Claims
1. A redundant multi-ring network topology method based on a PLC system, characterized in that, The PLC system includes multiple main PLC systems and multiple sub-PLC systems. Each sub-PLC system includes a sub-control module and a ring network communication module in the same number as the main PLC systems. The networking method includes: Establish communication connections between each host PLC system and perform synchronous redundancy configuration; For each host PLC system, communication connections are established between the host PLC system and the ring network communication module, and between the ring network communication modules, according to the data communication direction, to form a primary ring network between each host PLC system and multiple sub-unit PLC systems; a secondary ring network is established between all ring network communication modules of each sub-unit PLC system to realize data synchronization of each ring network communication module in the sub-unit PLC system. The system monitors the real-time operating status of the host PLC system, the operating status of the sub-unit control modules of each sub-unit PLC system, and the communication status of the ring network communication modules of each sub-unit PLC system. When a host PLC system malfunctions, it switches to another host PLC system to take over the task. When any sub-unit control module malfunctions, it switches to the host PLC system or another sub-unit PLC system in that primary ring network to take over the task. When any ring network communication module malfunctions, it switches to another ring network communication module of its corresponding sub-unit PLC system.
2. The redundant multi-ring network method based on a PLC system according to claim 1, characterized in that, Each host PLC system includes a host control module for taking over tasks and a data transceiver coupling module group for establishing communication connections with other host PLC systems or sub-PLC systems.
3. The multi-ring network redundancy architecture based on a PLC system according to claim 2, characterized in that, The host control module includes two or more host controllers, and each controller implements a hot standby redundancy mechanism.
4. The redundant multi-ring network method based on a PLC system according to claim 2, characterized in that, Each host PLC system also includes a host I / O module and a communication module for data interaction with the outside world.
5. The redundant multi-ring network method based on a PLC system according to claim 1, characterized in that, Each branch PLC system also includes a branch I / O module for data interaction with the outside world.
6. The redundant multi-ring network method based on a PLC system according to claim 1, characterized in that, The extension control module includes multiple extension controllers.
7. The redundant multi-ring network method based on a PLC system according to claim 1, characterized in that, The main PLC system takes over the task based on the status word of the sub-control module that has malfunctioned.
8. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor performing the steps of the redundant multi-ring network method based on a PLC system according to any one of claims 1-7.
9. A computer storage medium, characterized in that, It contains a computer program that can be executed by a processor, which performs the redundant multi-ring network method based on the PLC system according to any one of claims 1-7.
10. A redundant multi-ring network system based on a PLC system, characterized in that, The PLC system includes multiple main PLC systems and multiple sub-PLC systems. Each sub-PLC system includes a sub-control module and a ring network communication module in the same number as the main PLC systems. The networking system includes: The redundancy configuration module is used to establish communication connections between various host PLC systems and perform synchronous redundancy configuration. The multi-ring network establishment module is used to establish communication connections between each host PLC system and the ring network communication module, and between the ring network communication modules, according to the data communication direction, so as to form a primary ring network between each host PLC system and multiple sub-PLC systems; and to establish a secondary ring network between all ring network communication modules of each sub-PLC system to realize data synchronization of each ring network communication module in the sub-PLC system. The fault detection module is used to monitor in real time the working status of the host PLC system, the working status of the sub-unit control modules of each sub-unit PLC system, and the communication status of the ring network communication modules of each sub-unit PLC system. When the host PLC system malfunctions, it switches to another host PLC system to take over the task. When any sub-unit control module malfunctions, it switches to the host PLC system or another sub-unit PLC system in that primary ring network to take over the task. When any ring network communication module malfunctions, it switches to another ring network communication module of its corresponding sub-unit PLC system.
